diff --git a/srcpkgs/python-pyaes/template b/srcpkgs/python-pyaes/template new file mode 100644 index 00000000000..87d03887ae5 --- /dev/null +++ b/srcpkgs/python-pyaes/template @@ -0,0 +1,29 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3-pyaes b/srcpkgs/python3-pyaes new file mode 120000 index 00000000000..d19f6a6f486 --- /dev/null +++ b/srcpkgs/python3-pyaes @@ -0,0 +1 @@ +python-pyaes \ No newline at end of file