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

Felix Yan fyan at archlinux.org
Thu Oct 29 07:01:57 UTC 2015


    Date: Thursday, October 29, 2015 @ 08:01:57
  Author: fyan
Revision: 249848

upgpkg: python-cryptography 1.1-1

Modified:
  python-cryptography/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-29 01:52:01 UTC (rev 249847)
+++ PKGBUILD	2015-10-29 07:01:57 UTC (rev 249848)
@@ -3,7 +3,7 @@
 
 pkgbase=python-cryptography
 pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=1.0.2
+pkgver=1.1
 pkgrel=1
 pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
 arch=('i686' 'x86_64')
@@ -11,10 +11,11 @@
 url="http://pypi.python.org/pypi/cryptography"
 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')
-checkdepends=('python-pytest' 'python2-pytest' "python-cryptography-vectors=$pkgver" "python2-cryptography-vectors=$pkgver"
-              'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver" "python2-cryptography-vectors=$pkgver"
+              'python-iso8601' 'python2-iso8601' 'python-pretend' 'python2-pretend' 'python-pyasn1-modules' 'python2-pyasn1-modules'
+              'python-hypothesis' 'python2-hypothesis')
 source=("http://pypi.python.org/packages/source/c/cryptography/cryptography-${pkgver}.tar.gz")
-md5sums=('6a8627da0c6199fca941dc8170f9b583')
+md5sums=('dd06da41535184f48f2c8e8b74dd570f')
 
 prepare() {
    cp -a cryptography-${pkgver}{,-python2}
@@ -30,14 +31,12 @@
    python2 setup.py build
 }
 
-check() {(
+check() {
    cd "${srcdir}"/cryptography-${pkgver}
-   PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" python3 setup.py test
+   PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" python3 setup.py ptr
 
    cd "${srcdir}"/cryptography-${pkgver}-python2
-   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 setup.py test
-   ) || warning "Tests failed"
-   # Known failure: https://github.com/pyca/cryptography/issues/2354
+   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 setup.py ptr
 }
  
 package_python-cryptography() {



More information about the arch-commits mailing list