diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-07-16 02:51:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-07-16 02:51:06 (GMT) |
commit | b956875690a2814426fc9ed68e91163224e6eabf (patch) | |
tree | ef78202c6202ee2fca3586674a253f4a467756d3 /abs/core/python_modules | |
parent | fb910748f860e7a838296fb2875a8156a8683879 (diff) | |
download | linhes_pkgbuild-b956875690a2814426fc9ed68e91163224e6eabf.zip linhes_pkgbuild-b956875690a2814426fc9ed68e91163224e6eabf.tar.gz linhes_pkgbuild-b956875690a2814426fc9ed68e91163224e6eabf.tar.bz2 |
python2-six: update to 1.10.0
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r-- | abs/core/python_modules/python-six/PKGBUILD | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/abs/core/python_modules/python-six/PKGBUILD b/abs/core/python_modules/python-six/PKGBUILD index 0e8986b..33093f7 100644 --- a/abs/core/python_modules/python-six/PKGBUILD +++ b/abs/core/python_modules/python-six/PKGBUILD @@ -1,41 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Jelle van der Waa <jelle@vdwaa.nl> # Contributer: Allan McRae <allan@archlinux.org> -# Maintainer: Jelle van der Waa <jelle@vdwaa.nl> pkgbase=python-six pkgname=('python2-six') -pkgver=1.6.1 -pkgrel=2 +pkgver=1.10.0 +pkgrel=3 pkgdesc="Python 2 and 3 compatibility utilities" arch=('any') url="http://pypi.python.org/pypi/six/" license=('MIT') -makedepends=('python2') -source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz) -md5sums=('07d606ac08595d795bf926cc9985674f') +makedepends=('python2-setuptools') +checkdepends=('python2-pytest' 'tk') +source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz") +md5sums=('34eed507548117b2ab523ab14b2f8b55') build() { - cd $srcdir - cp -r six-$pkgver six2-$pkgver + cp -a six-$pkgver{,-py2} } check() { -# cd $srcdir/six-$pkgver -# python3 setup.py check +# cd "$srcdir"/six-$pkgver +# py.test - cd $srcdir/six2-$pkgver - python2 setup.py check + cd "$srcdir"/six-$pkgver-py2 + py.test2 } -#package_python-six() { -# depends=('python') -# cd $srcdir/six-$pkgver -# python3 setup.py install --root "${pkgdir}" --optimize=1 -# install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -#} +package_python-six() { + depends=('python') + + cd six-$pkgver + python setup.py install --root "$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} package_python2-six() { depends=('python2') - cd $srcdir/six2-$pkgver - python2 setup.py install --root "${pkgdir}" --optimize=1 - install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + cd six-$pkgver-py2 + python2 setup.py install --root "$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |