From fcee34f61a3a0756eba93641443f190578bbe3f3 Mon Sep 17 00:00:00 2001 From: Sir_Boops Date: Fri, 9 Jun 2017 14:16:33 -0600 Subject: [PATCH] new package: python-pyaes: 1.6.0 --- srcpkgs/python-pyaes/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-pyaes | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-pyaes/template create mode 120000 srcpkgs/python3-pyaes 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