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

Felix Yan felixonmars at gemini.archlinux.org
Sun Nov 21 19:27:53 UTC 2021


    Date: Sunday, November 21, 2021 @ 19:27:53
  Author: felixonmars
Revision: 1053888

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-21 19:27:44 UTC (rev 1053887)
+++ PKGBUILD	2021-11-21 19:27:53 UTC (rev 1053888)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgbase=python-pycryptodome
-pkgname=('python-pycryptodome' 'python2-pycryptodome')
-pkgver=3.10.4
-pkgrel=1
-license=('BSD')
-arch=('x86_64')
-url='https://www.pycryptodome.org/'
-makedepends=('gmp' 'python-setuptools' 'python2-setuptools')
-source=("pycryptodome-${pkgver}.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v${pkgver}.tar.gz")
-sha512sums=('1ee2f6c499d7ea73bdeafc94b1e91b45bf888f84ea214a01db180e030b4724264ba05e16241c465484ec13075f5300f6c489229bedb84e54b93e2852906b634f')
-
-prepare() {
-  cp -a "pycryptodome-$pkgver"{,-python2}
-}
-
-build() {
-  cd "$srcdir/pycryptodome-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/pycryptodome-$pkgver-python2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/pycryptodome-$pkgver"
-  python -B setup.py test
-
-  cd "$srcdir/pycryptodome-$pkgver-python2"
-  python2 -B setup.py test
-}
-
-package_python-pycryptodome() {
-  pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 3."
-  depends=('python' 'gmp')
-  conflicts=('python-crypto')
-  provides=('python-crypto')
-  replaces=('python-crypto')
-
-  cd "pycryptodome-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
-
-  rm -r "$pkgdir"/usr/lib/python3.*/site-packages/Crypto/SelfTest/
-}
-
-package_python2-pycryptodome() {
-  pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 2."
-  depends=('python2' 'gmp')
-  conflicts=('python2-crypto')
-  provides=('python2-crypto')
-  replaces=('python2-crypto')
-
-  cd "pycryptodome-$pkgver-python2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
-
-  rm -r "$pkgdir"/usr/lib/python2.*/site-packages/Crypto/SelfTest/
-}

Copied: python-pycryptodome/repos/community-x86_64/PKGBUILD (from rev 1053887, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-21 19:27:53 UTC (rev 1053888)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgbase=python-pycryptodome
+pkgname=('python-pycryptodome' 'python2-pycryptodome')
+pkgver=3.11.0
+pkgrel=1
+license=('BSD')
+arch=('x86_64')
+url='https://www.pycryptodome.org/'
+makedepends=('gmp' 'python-setuptools' 'python2-setuptools')
+source=("pycryptodome-${pkgver}.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v${pkgver}.tar.gz")
+sha512sums=('9a6f94a78909b236e9b9224915495f092891951b76836396706c11e8e87717ff84fd92fe04ad641d6a5a0ef1f3b339990d7f21a326e72b95b166a76169240964')
+
+prepare() {
+  cp -a "pycryptodome-$pkgver"{,-python2}
+}
+
+build() {
+  cd "$srcdir/pycryptodome-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/pycryptodome-$pkgver-python2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/pycryptodome-$pkgver"
+  python -B setup.py test
+
+  cd "$srcdir/pycryptodome-$pkgver-python2"
+  python2 -B setup.py test
+}
+
+package_python-pycryptodome() {
+  pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 3."
+  depends=('python' 'gmp')
+  conflicts=('python-crypto')
+  provides=('python-crypto')
+  replaces=('python-crypto')
+
+  cd "pycryptodome-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+
+  rm -r "$pkgdir"/usr/lib/python3.*/site-packages/Crypto/SelfTest/
+}
+
+package_python2-pycryptodome() {
+  pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python 2."
+  depends=('python2' 'gmp')
+  conflicts=('python2-crypto')
+  provides=('python2-crypto')
+  replaces=('python2-crypto')
+
+  cd "pycryptodome-$pkgver-python2"
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+
+  rm -r "$pkgdir"/usr/lib/python2.*/site-packages/Crypto/SelfTest/
+}



More information about the arch-commits mailing list