contrib/python3-pycryptodome/Pkgfile

18 lines
501 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
2023-08-13 09:14:05 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
2017-02-04 09:50:49 +01:00
# Depends on: python3-setuptools
name=python3-pycryptodome
2024-01-10 20:05:50 +01:00
version=3.20.0
2017-02-04 09:50:49 +01:00
release=1
2021-12-05 05:52:16 +01:00
source=(https://github.com/Legrandin/pycryptodome/archive/v$version/${name#*-}-$version.tar.gz)
2017-02-04 09:50:49 +01:00
build() {
2023-08-13 09:14:05 +02:00
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
2018-07-22 07:28:28 +02:00
2023-08-13 09:14:05 +02:00
find $PKG -name README.txt -delete
2017-02-04 09:50:49 +01:00
}