contrib/python3-pycryptodome/Pkgfile

16 lines
470 B
Plaintext
Raw Normal View History

2017-02-04 09:50:49 +01:00
# 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
2018-04-28 10:35:21 +02:00
version=3.6.1
2017-02-04 09:50:49 +01:00
release=1
2017-02-12 10:55:15 +01:00
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
2017-02-04 09:50:49 +01:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
}