29 lines
724 B
Bash
29 lines
724 B
Bash
# Template file for 'python-pyaes'
|
|
pkgname=python-pyaes
|
|
version=1.6.0
|
|
revision=1
|
|
wrksrc=pyaes-${version}
|
|
noarch=yes
|
|
build_style=python-module
|
|
depends="python"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
short_desc="A pure Python2 implementation of the AES"
|
|
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"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense LICENSE.txt
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|