[arch-commits] Commit in python-cryptography/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 18 15:29:34 UTC 2016
Date: Thursday, August 18, 2016 @ 15:29:34
Author: felixonmars
Revision: 273916
upgpkg: python-cryptography 1.4-2
cryptography actually tries to import pkg_resources, so it depends on setuptools
Modified:
python-cryptography/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-18 10:59:52 UTC (rev 273915)
+++ PKGBUILD 2016-08-18 15:29:34 UTC (rev 273916)
@@ -4,15 +4,17 @@
pkgbase=python-cryptography
pkgname=('python-cryptography' 'python2-cryptography')
pkgver=1.4
-pkgrel=1
+pkgrel=2
pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
arch=('i686' 'x86_64')
license=('Apache')
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-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'
+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-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=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
md5sums=('a9763e3831cc7cdb402c028fac1ceb39')
@@ -38,7 +40,7 @@
}
package_python-cryptography() {
- depends=('python-pyasn1' 'python-six' 'python-cffi' 'python-idna')
+ depends=('python-pyasn1' 'python-six' 'python-cffi' 'python-idna' 'python-setuptools')
cd cryptography-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
@@ -45,7 +47,8 @@
}
package_python2-cryptography() {
- depends=('python2-pyasn1' 'python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress')
+ depends=('python2-pyasn1' 'python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna'
+ 'python2-ipaddress' 'python2-setuptools')
cd cryptography-$pkgver-python2
python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
More information about the arch-commits
mailing list