16 lines
573 B
Plaintext
Raw Normal View History

2019-05-21 22:24:15 +10:00
# Description: A package designed to expose cryptographic recipes and primitives to Python developers.
# URL: https://pypi.org/project/cryptography/
2019-05-21 22:24:15 +10:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-asn1crypto python3-cffi python3-idna python3-six
name=python3-cryptography
2020-12-31 12:35:01 +00:00
version=3.3.1
2019-05-21 22:24:15 +10:00
release=1
2020-12-31 12:35:01 +00:00
source=(https://pypi.python.org/packages/source/c/cryptography/cryptography-$version.tar.gz)
2019-05-21 22:24:15 +10:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
2020-11-11 07:55:49 +00:00
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
2019-05-21 22:24:15 +10:00
}