32 lines
797 B
Bash
32 lines
797 B
Bash
# Template file for 'python-pyaes'
|
|
pkgname=python-pyaes
|
|
version=1.6.0
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="pyaes-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pyaes"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Pure-Python implementation of the AES block cipher (Python2)"
|
|
maintainer="Sir_Boops <admin@boops.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/ricmoo/pyaes"
|
|
distfiles="https://github.com/ricmoo/pyaes/archive/v${version}.tar.gz"
|
|
checksum=69fb7517bcb8d834d521e31bca671456bd6de87cdf2c338171a48dedebbcf42e
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-pyaes_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="pyaes"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense LICENSE.txt
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|