diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 13 deletions
@@ -1,15 +1,13 @@ pkgbase = python-pycrypto pkgdesc = [DEPRECATED since 2013] Cryptographic primitives and algorithms for Python pkgver = 2.7a1 - pkgrel = 4 + pkgrel = 5 url = https://github.com/pycrypto/pycrypto/blob/master/README.md arch = x86_64 license = custom:Unlicense license = PSF makedepends = gmp makedepends = python-setuptools - depends = python>=3.3 - depends = python<3.9 conflicts = python-pycryptodome source = pycrypto-2.7a1.tar.gz::https://github.com/pycrypto/pycrypto/archive/refs/tags/v2.7a1.tar.gz source = 0001-replaced-time.clock-with-time.process_time-time-cloc.patch @@ -19,11 +17,8 @@ pkgbase = python-pycrypto pkgname = python-pycrypto arch = any license = Unlicense - depends = python>=3.3 - depends = python<3.9 depends = python-crypto=2.7a1 pkgname = python-crypto - depends = python>=3.3 - depends = python<3.9 depends = gmp + depends = python @@ -6,15 +6,12 @@ pkgbase='python-pycrypto' pkgname=('python-pycrypto' 'python-crypto') _name="${pkgbase#python-}" pkgver=2.7a1 -pkgrel=4 +pkgrel=5 pkgdesc='[DEPRECATED since 2013] Cryptographic primitives and algorithms for Python' arch=('x86_64') _repourl="https://github.com/${_name}/${_name}" url="${_repourl}/blob/master/README.md" license=('custom:Unlicense' 'PSF') -depends=( - 'python>=3.3' - 'python<3.9') makedepends=( 'gmp' 'python-setuptools' @@ -39,11 +36,14 @@ build() { package_python-pycrypto() { arch=('any') license=('Unlicense') - depends+=("python-crypto=${pkgver}") + depends=("python-crypto=${pkgver}") } package_python-crypto() { - depends+=('gmp') + depends=( + 'gmp' + 'python' + ) cd "${_tarname}" python setup.py install --root="${pkgdir}" --prefix='/usr' --optimize=1 --skip-build |