[Dev] [PATCH] python-pycrypto
Julius Schwartzenberg
julius.schwartzenberg at gmail.com
Thu Jul 30 20:52:13 GMT 2020
Hi all,
I had to rebuild python-crypto to be able to use it as the version from
the repositories was installed to the 3.7 directory.
With help from bill-auger I managed to rebuild the package. I had to
remove {,2} in two spots from the version in the repo however.
He also suggested mailing the changed file here. I hope this might be
useful!
Best regards,
Julius
-------------- next part --------------
# Maintainer: Andreas Grapentin <oaken-source at parabola.nu>
_pkgname=pycrypto
pkgname=(python-$_pkgname)
pkgver=2.6.1
pkgrel=3
pkgdesc='Cryptographic primitives and algorithms for Python'
arch=(any)
url='https://pypi.python.org/pypi/pycrypto'
license=('Public domain')
_depends=(flask)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('55a61a054aa66812daf5161a0d5d7eda')
_package() {
depends=("$1" "${_depends[@]/#/$1-}")
cd "$srcdir"/$_pkgname-$pkgver
$1 setup.py install --root="$pkgdir"
}
for _pkg in "${pkgname[@]}"; do
eval "package_$_pkg () { _package ${_pkg%%-*}; }"
done
More information about the Dev
mailing list