contrib/python3-pycryptodome/Pkgfile
2018-02-08 00:43:27 +11:00

16 lines
471 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.4.11
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
}