contrib/python3-pycryptodome/Pkgfile
2020-07-08 21:16:54 +10:00

18 lines
507 B
Plaintext

# Description: Cryptographic library for Python.
# URL: https://pypi.python.org/pypi/pycryptodome
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
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
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
find $PKG -name README.txt -delete
}