Files
ports/core/python2-crypto/spkgbuild
2017-11-14 14:02:57 +08:00

15 lines
373 B
Plaintext

# description : Collection of cryptographic algorithms and protocols, implemented for use from Python 2
# depends : python2
name=python2-crypto
version=2.6.1
release=1
source=(https://files.pythonhosted.org/packages/source/p/pycrypto/pycrypto-$version.tar.gz)
build() {
cd pycrypto-$version
python2 setup.py build
python2 setup.py install --root=$PKG --optimize=1
}