17 lines
513 B
Plaintext
17 lines
513 B
Plaintext
|
# Description: A package designed to expose cryptographic recipes and primitives to Python developers.
|
||
|
# URL: http://pypi.python.org/pypi/cryptography
|
||
|
# Packager: milisarge
|
||
|
# Depends on: python-six python-cffi python-enum34 python-pyasn1
|
||
|
|
||
|
name=python-cryptography
|
||
|
_name=cryptography
|
||
|
version=1.2.3
|
||
|
release=1
|
||
|
source=(http://pypi.python.org/packages/source/c/$_name/$_name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $_name-$version
|
||
|
/usr/bin/python2 setup.py build
|
||
|
/usr/bin/python2 setup.py install --root=$PKG --optimize=1
|
||
|
}
|