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