2017-06-09 22:16:33 +02:00
|
|
|
# Template file for 'python-pyaes'
|
|
|
|
pkgname=python-pyaes
|
2017-09-30 11:46:54 +02:00
|
|
|
version=1.6.1
|
|
|
|
revision=1
|
2017-06-09 22:16:33 +02:00
|
|
|
noarch=yes
|
2017-06-25 12:26:26 +02:00
|
|
|
wrksrc="pyaes-${version}"
|
2017-06-09 22:16:33 +02:00
|
|
|
build_style=python-module
|
2017-06-25 12:26:26 +02:00
|
|
|
pycompile_module="pyaes"
|
2017-06-09 22:16:33 +02:00
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-06-25 12:26:26 +02:00
|
|
|
depends="python"
|
|
|
|
short_desc="Pure-Python implementation of the AES block cipher (Python2)"
|
2017-06-09 22:16:33 +02:00
|
|
|
maintainer="Sir_Boops <admin@boops.me>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/ricmoo/pyaes"
|
2017-09-30 11:46:54 +02:00
|
|
|
distfiles="${PYPI_SITE}/p/pyaes/pyaes-${version}.tar.gz"
|
|
|
|
checksum=02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f
|
2017-06-09 22:16:33 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-pyaes_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3"
|
2017-06-25 12:26:26 +02:00
|
|
|
pycompile_module="pyaes"
|
2017-06-09 22:16:33 +02:00
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
2017-09-30 11:46:54 +02:00
|
|
|
vlicense LICENSE.txt
|
2017-06-09 22:16:33 +02:00
|
|
|
}
|
|
|
|
}
|