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

Felix Yan felixonmars at archlinux.org
Mon Nov 2 10:22:50 UTC 2020


    Date: Monday, November 2, 2020 @ 10:22:50
  Author: felixonmars
Revision: 739359

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-02 10:22:38 UTC (rev 739358)
+++ PKGBUILD	2020-11-02 10:22:50 UTC (rev 739359)
@@ -1,63 +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.9.8
-pkgrel=2
-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=('2852ef8c51ca066a9877268acfad2da502f4399e9d3556b25bbcc15882071ee6e612d285ee5ab43f59d5c964930cebb2272337027f6242226e9965e6348dfd74')
-
-prepare() {
-  cp -a "pycryptodome-$pkgver"{,-python2}
-}
-
-build() {
-  export PYTHONHASHSEED=0
-
-  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 739358, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-02 10:22:50 UTC (rev 739359)
@@ -0,0 +1,63 @@
+# 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.9.9
+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=('a1aad4d52256220fe3d5d7f399c2c5e7338d6eb88058da0571fe1c686d74d33ff4bc1c275d4b9373e0ff22f4ddcded75a25387e76fc65047f8612f8856c1bd4d')
+
+prepare() {
+  cp -a "pycryptodome-$pkgver"{,-python2}
+}
+
+build() {
+  export PYTHONHASHSEED=0
+
+  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