[arch-commits] Commit in python-acme/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Oct 13 09:02:43 UTC 2016


    Date: Thursday, October 13, 2016 @ 09:02:42
  Author: felixonmars
Revision: 192148

upgpkg: python-acme 0.9.2-1

Modified:
  python-acme/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-13 08:58:35 UTC (rev 192147)
+++ PKGBUILD	2016-10-13 09:02:42 UTC (rev 192148)
@@ -4,7 +4,7 @@
 
 pkgbase=python-acme
 pkgname=('python-acme' 'python2-acme')
-pkgver=0.9.1
+pkgver=0.9.2
 pkgrel=1
 pkgdesc="ACME protocol implementation in Python"
 arch=('any')
@@ -18,7 +18,7 @@
              'python-mock' 'python2-mock')
 checkdepends=('python-nose' 'python2-nose')
 source=("https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz")
-sha512sums=('214e4b8c63afa9fd45baca52ee50c11add12a4c9bdfd04b495faaf1ad57d8683661892c57ea66278cbc78b1c07e1d4adbc53b289a9b743c783dfd61a74bc961a')
+sha512sums=('7c9b3318a0c60c66feb057f21d6200792cb5a3fc03cf089dcc6f02be101e12865fdc3398e0b023ed57a701a54f36e046d5dc12c41e897a741b15459f84914495')
 
 prepare() {
   cp -a acme-$pkgver{,-py2}
@@ -25,19 +25,19 @@
 }
 
 build() {
-  cd "$srcdir/acme-$pkgver"
+  cd "$srcdir"/acme-$pkgver
   python setup.py build
 
-  cd "$srcdir/acme-$pkgver-py2"
+  cd "$srcdir"/acme-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/acme-$pkgver"
-  nosetests3
+  cd "$srcdir"/acme-$pkgver
+  python setup.py nosetests
 
-  cd "$srcdir/acme-$pkgver-py2"
-  nosetests2
+  cd "$srcdir"/acme-$pkgver-py2
+  python2 setup.py nosetests
 }
 
 package_python-acme() {
@@ -46,7 +46,7 @@
            'python-six' 'python-werkzeug' 'python-mock')
 
   cd acme-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
 }
 
 package_python2-acme() {
@@ -55,7 +55,7 @@
            'python2-six' 'python2-werkzeug' 'python2-mock')
 
   cd acme-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  python2 setup.py install --root="$pkgdir" --optimize=1
 
   mv "$pkgdir"/usr/bin/jws{,2}
 }



More information about the arch-commits mailing list