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

Felix Yan felixonmars at archlinux.org
Tue Feb 25 10:54:40 UTC 2020


    Date: Tuesday, February 25, 2020 @ 10:54:40
  Author: felixonmars
Revision: 376179

upgpkg: python-cryptography 2.8-2: disable python2 tests

Modified:
  python-cryptography/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-25 10:44:23 UTC (rev 376178)
+++ PKGBUILD	2020-02-25 10:54:40 UTC (rev 376179)
@@ -3,7 +3,7 @@
 pkgbase=python-cryptography
 pkgname=('python-cryptography' 'python2-cryptography')
 pkgver=2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
 arch=('x86_64')
 license=('Apache')
@@ -11,10 +11,8 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi'
              'python2-cffi' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna'
              'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver"
-              "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601'
-              'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis'
-              'python-pytz' 'python2-pytz')
+checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 'python-iso8601'
+              'python-pretend' 'python-hypothesis' 'python-pytz')
 source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
 sha512sums=('bf3ca44123c693b0602be19445925f9efebd46c469909e47b7907d57141fb6bd99268c33e1fe3f42a08ab8b4edd4f98f21b6a682f530352313334dfd31ba91e7')
 
@@ -31,11 +29,8 @@
 }
 
 check() {
-  cd "$srcdir"/cryptography-$pkgver
+  cd cryptography-$pkgver
   python setup.py pytest
-
-  cd "$srcdir"/cryptography-$pkgver-python2
-  python2 setup.py pytest
 }
 
 package_python-cryptography() {



More information about the arch-commits mailing list