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

Johannes Löthberg demize at archlinux.org
Sun Aug 11 17:28:33 UTC 2019


    Date: Sunday, August 11, 2019 @ 17:28:33
  Author: demize
Revision: 498960

archrelease: copy trunk to community-testing-x86_64

Added:
  python-pycryptodomex/repos/community-testing-x86_64/
  python-pycryptodomex/repos/community-testing-x86_64/PKGBUILD
    (from rev 498959, python-pycryptodomex/trunk/PKGBUILD)

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

Copied: python-pycryptodomex/repos/community-testing-x86_64/PKGBUILD (from rev 498959, python-pycryptodomex/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-08-11 17:28:33 UTC (rev 498960)
@@ -0,0 +1,31 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=python-pycryptodomex
+pkgver=3.8.2
+pkgrel=1
+
+pkgdesc='A self-contained Python package of low-level cryptographic primitives'
+url='http://www.pycryptodome.org/'
+arch=('x86_64')
+license=('BSD')
+
+depends=('python')
+makedepends=('python-setuptools')
+
+source=("https://pypi.org/packages/source/p/pycryptodomex/pycryptodomex-$pkgver.tar.gz")
+
+md5sums=('d755d7bae113d66dba3eb77b022c336e')
+
+build() {
+	cd "$srcdir"/pycryptodomex-$pkgver
+	python setup.py build
+}
+
+package() {
+
+	cd pycryptodomex-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}


More information about the arch-commits mailing list