4.10.3-2: add gtktreeviewmodel fixes
[arch-packages.git] / python-six / repos / extra-any / PKGBUILD
blob6823fdac0d6a42bb03af0f9d7ec33623023f22ca
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jelle van der Waa <jelle@vdwaa.nl>
3 # Contributer: Allan McRae <allan@archlinux.org>
5 pkgname=python-six
6 pkgver=1.16.0
7 pkgrel=8
8 pkgdesc="Python 2 and 3 compatibility utilities"
9 arch=('any')
10 url="https://pypi.python.org/pypi/six/"
11 license=('MIT')
12 depends=('python')
13 makedepends=('python-setuptools')
14 checkdepends=('python-pytest' 'tk')
15 source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
16 sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')
18 check() {
19   cd six-$pkgver
20   python -m pytest
23 package() {
24   cd six-$pkgver
25   python setup.py install --root "$pkgdir" --optimize=1
26   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/