contrib/python3-pycryptodome/Pkgfile
2021-10-25 23:48:01 +11:00

18 lines
508 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.11.0
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
}