Date: Friday, October 25, 2019 @ 15:56:22
  Author: felixonmars
Revision: 519285

archrelease: copy trunk to community-staging-any

Added:
  python-pyaes/repos/community-staging-any/
  python-pyaes/repos/community-staging-any/PKGBUILD
    (from rev 519283, python-pyaes/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-pyaes/repos/community-staging-any/PKGBUILD (from rev 519283, 
python-pyaes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-10-25 15:56:22 UTC (rev 519285)
@@ -0,0 +1,27 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Timothy Redaelli <[email protected]>
+# Contributor: Andy Weidenbaum <[email protected]>
+
+pkgname=python-pyaes
+_pipname=pyaes
+pkgver=1.6.1
+pkgrel=4
+pkgdesc="Pure-Python Implementation of the AES block-cipher and common modes 
of operation"
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+url="https://github.com/ricmoo/pyaes";
+license=('MIT')
+source=(https://pypi.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f')
+
+build() {
+  cd "$_pipname-$pkgver"
+  python setup.py build
+}
+
+package_python-pyaes() {
+  cd $_pipname-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}

Reply via email to