[arch-commits] Commit in python-pycryptodomex/trunk (PKGBUILD)

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


    Date: Sunday, August 11, 2019 @ 17:28:30
  Author: demize
Revision: 498959

upgpkg: python-pycryptodomex 3.8.2-1

Modified:
  python-pycryptodomex/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++------------------------
 1 file changed, 6 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-11 17:19:15 UTC (rev 498958)
+++ PKGBUILD	2019-08-11 17:28:30 UTC (rev 498959)
@@ -1,9 +1,8 @@
 # Maintainer: Johannes Löthberg <johannes at kyriasis.com>
 # Contributor: Ivan Shapovalov <intelfx at intelfx.name>
 
-pkgbase=python-pycryptodomex
-pkgname=(python-pycryptodomex python2-pycryptodomex)
-pkgver=3.7.3
+pkgname=python-pycryptodomex
+pkgver=3.8.2
 pkgrel=1
 
 pkgdesc='A self-contained Python package of low-level cryptographic primitives'
@@ -11,27 +10,19 @@
 arch=('x86_64')
 license=('BSD')
 
-makedepends=('python-setuptools'
-             'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
 
 source=("https://pypi.org/packages/source/p/pycryptodomex/pycryptodomex-$pkgver.tar.gz")
 
-md5sums=('c9ed9aeb5c46fc5fc7cc8cb1ce542040')
+md5sums=('d755d7bae113d66dba3eb77b022c336e')
 
-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')
+package() {
 
 	cd pycryptodomex-$pkgver
 	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
@@ -38,12 +29,3 @@
 
 	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