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

Ike Devolder idevolder at archlinux.org
Mon Sep 30 18:11:35 UTC 2019


    Date: Monday, September 30, 2019 @ 18:11:34
  Author: idevolder
Revision: 512207

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-30 18:11:29 UTC (rev 512206)
+++ PKGBUILD	2019-09-30 18:11:34 UTC (rev 512207)
@@ -1,31 +0,0 @@
-# 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
-}

Copied: python-pycryptodomex/repos/community-x86_64/PKGBUILD (from rev 512206, python-pycryptodomex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-30 18:11:34 UTC (rev 512207)
@@ -0,0 +1,49 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-pycryptodomex
+pkgname=('python-pycryptodomex' 'python2-pycryptodomex')
+pkgver=3.9.0
+pkgrel=1
+
+pkgdesc='A self-contained Python package of low-level cryptographic primitives'
+url='https://www.pycryptodome.org/'
+arch=('x86_64')
+license=('BSD')
+
+makedepends=('python-setuptools'
+             'python2-setuptools')
+
+source=("https://pypi.org/packages/source/p/pycryptodomex/pycryptodomex-$pkgver.tar.gz")
+sha512sums=('0ffc76780bee46a1ef38b131804ba63d511a57ad6b173366ee1ae2ac81e7718546e4c29a538fcc547c272f52ab679c45ed9de273fe57fb6ebc365d940aaa4cfa')
+
+prepare() {
+	cp -a pycryptodomex-$pkgver{,-python2}
+}
+
+build() {
+	cd "$srcdir"/pycryptodomex-$pkgver
+	python setup.py build
+
+	cd "$srcdir"/pycryptodomex-$pkgver-python2
+	python2 setup.py build
+}
+
+package_python-pycryptodomex() {
+	depends=('python')
+
+	cd pycryptodomex-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+	install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}
+
+package_python2-pycryptodomex() {
+	depends=('python2')
+
+	cd pycryptodomex-$pkgver-python2
+	python2 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