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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:53:52 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:53:52
  Author: felixonmars
Revision: 1059494

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyaes/repos/community-staging-any/PKGBUILD (from rev 1059492, python-pyaes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:53:52 UTC (rev 1059494)
@@ -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=8
+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