[arch-commits] Commit in python-pyaes/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:08:59 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:08:59
  Author: foutrelis
Revision: 748517

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyaes/repos/community-staging-any/PKGBUILD (from rev 748516, python-pyaes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:08:59 UTC (rev 748517)
@@ -0,0 +1,27 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-pyaes
+_pipname=pyaes
+pkgver=1.6.1
+pkgrel=6
+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
+}



More information about the arch-commits mailing list