diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-11-12 15:40:09 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-11-12 16:22:52 +1100 |
commit | 8f96452b57480d2290df39d0e91f836855067fc7 (patch) | |
tree | 0acf4f68eae77d9736f626479a47e047b976a4b0 /python-cryptography/Pkgfile | |
parent | 155a248043ce9ff3a03af242393578290685f8e8 (diff) | |
download | contrib-8f96452b57480d2290df39d0e91f836855067fc7.tar.gz contrib-8f96452b57480d2290df39d0e91f836855067fc7.tar.xz |
[notify] cryptography -> python-cryptography
Diffstat (limited to 'python-cryptography/Pkgfile')
-rw-r--r-- | python-cryptography/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python-cryptography/Pkgfile b/python-cryptography/Pkgfile new file mode 100644 index 000000000..0a794e11d --- /dev/null +++ b/python-cryptography/Pkgfile @@ -0,0 +1,15 @@ +# 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: enum34 pyasn1 python-cffi + +name=python-cryptography +version=1.6 +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 +} |