contrib/python-cryptography/Pkgfile

16 lines
538 B
Plaintext
Raw Normal View History

# Description: A package designed to expose cryptographic recipes and primitives to Python developers.
2020-08-16 08:48:02 +02:00
# URL: https://pypi.python.org/pypi/cryptography
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python-enum34 python-pyasn1 python-cffi
name=python-cryptography
2020-11-11 08:57:20 +01:00
version=3.2.1
release=1
2020-08-16 08:48:02 +02:00
source=(https://github.com/pyca/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python setup.py build
/usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
}