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

Felix Yan felixonmars at archlinux.org
Thu May 25 08:49:00 UTC 2017


    Date: Thursday, May 25, 2017 @ 08:48:58
  Author: felixonmars
Revision: 296560

upgpkg: python-service-identity 17.0.0-1

Modified:
  python-service-identity/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-25 08:45:31 UTC (rev 296559)
+++ PKGBUILD	2017-05-25 08:48:58 UTC (rev 296560)
@@ -3,8 +3,8 @@
 
 pkgbase=python-service-identity
 pkgname=('python-service-identity' 'python2-service-identity')
-pkgver=16.0.0
-pkgrel=2
+pkgver=17.0.0
+pkgrel=1
 pkgdesc="Service identity verification for pyOpenSSL"
 arch=('any')
 license=('MIT')
@@ -13,8 +13,8 @@
              'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 'python2-pyasn1-modules'
              'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-$pkgver.tar.gz")
-md5sums=('d52392597b9c44a740abf322bfdb21e6')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz")
+sha512sums=('3824cb473420a5ce6779fd35ff931189ed68286ad1f7f2936e3253a785cd76a77bbb95210a4a5fde1b1ef0c8d9c762b8e89ab44dce60ee43e34b2553ab78b5aa')
 
 prepare() {
   cp -a service_identity-$pkgver{,-py2}
@@ -30,10 +30,10 @@
 
 check() {
   cd "$srcdir"/service_identity-$pkgver
-  python setup.py ptr
+  python setup.py pytest
 
   cd "$srcdir"/service_identity-$pkgver-py2
-  python2 setup.py ptr
+  python2 setup.py pytest
 }
  
 package_python-service-identity() {
@@ -42,7 +42,7 @@
  
   cd service_identity-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
  
 package_python2-service-identity() {
@@ -51,5 +51,5 @@
  
   cd service_identity-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list