Date: Sunday, December 11, 2016 @ 01:09:08 Author: felixonmars Revision: 198771
upgpkg: python-greenlet 0.4.11-1 Modified: python-greenlet/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-12-10 22:23:36 UTC (rev 198770) +++ PKGBUILD 2016-12-11 01:09:08 UTC (rev 198771) @@ -5,32 +5,33 @@ pkgbase=python-greenlet pkgname=(python-greenlet python2-greenlet) -pkgver=0.4.10 +pkgver=0.4.11 pkgrel=1 pkgdesc="Lightweight in-process concurrent programming" license=("MIT") +arch=('i686' 'x86_64') url="http://pypi.python.org/pypi/greenlet" makedepends=('python-setuptools' 'python2-setuptools') source=("https://pypi.io/packages/source/g/greenlet/greenlet-${pkgver}.zip") -arch=('i686' 'x86_64') +sha512sums=('d3efee31b2854c2d4891332e6666a736526635de1ba4d78c57bcbb0fcbeff98b7cb9cc16c6c4f24325f47b8d4c8f137bb064becf6b10f2764969f7510d569328') prepare() { - cp -a greenlet-$pkgver greenlet-$pkgver-py2 + cp -a greenlet-$pkgver{,-py2} } build() { - cd greenlet-$pkgver + cd "$srcdir"/greenlet-$pkgver python setup.py build - cd ../greenlet-$pkgver-py2 + cd "$srcdir"/greenlet-$pkgver-py2 python2 setup.py build } check() { - cd greenlet-$pkgver + cd "$srcdir"/greenlet-$pkgver python setup.py test - cd ../greenlet-$pkgver-py2 + cd "$srcdir"/greenlet-$pkgver-py2 python2 setup.py test } @@ -39,7 +40,7 @@ cd greenlet-$pkgver python setup.py install -O1 --root="$pkgdir" - install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF" + install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF } package_python2-greenlet() { @@ -47,7 +48,5 @@ cd greenlet-$pkgver-py2 python2 setup.py install -O1 --root="$pkgdir" - install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF" + install -Dm0644 LICENSE.PSF "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.PSF } - -sha512sums=('7fc78b14dca079f838647fd99878850cf9e83af781c985362146a11f71c5a700fbac8148273cd1c0ec4ac6ead4cf5bd389e001b8fc1225e87e9b51919d7ecc6c')