contrib/python-cryptography/Pkgfile

16 lines
555 B
Plaintext
Raw Normal View History

# Description: A package designed to expose cryptographic recipes and primitives to Python developers.
# URL: http://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-05-31 13:51:24 +02:00
version=2.9.2
release=1
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${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
}