2017-02-04 19:50:49 +11: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
|
2022-11-27 17:20:51 +00:00
|
|
|
version=3.16.0
|
2017-02-04 19:50:49 +11:00
|
|
|
release=1
|
2021-12-05 15:52:16 +11:00
|
|
|
source=(https://github.com/Legrandin/pycryptodome/archive/v$version/${name#*-}-$version.tar.gz)
|
2017-02-04 19:50:49 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
|
2018-07-22 15:28:28 +10:00
|
|
|
|
2019-05-21 23:31:06 +10:00
|
|
|
find $PKG -name README.txt -delete
|
2017-02-04 19:50:49 +11:00
|
|
|
}
|