Files
ports/core/python3-pycryptodome/spkgbuild
2020-06-27 22:08:15 +08:00

14 lines
338 B
Plaintext

# description : Cryptographic library for Python
# depends : python3
name=python3-pycryptodome
version=3.9.8
release=1
source="https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz"
build() {
cd ${name#*-}-$version
python3 setup.py build
python3 setup.py install --root=$PKG --optimize=1
}