[arch-commits] Commit in python-pycryptodome/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 10:38:32 UTC 2020
Date: Wednesday, November 11, 2020 @ 10:38:32
Author: felixonmars
Revision: 750212
archrelease: copy trunk to community-staging-x86_64
Added:
python-pycryptodome/repos/community-staging-x86_64/PKGBUILD
(from rev 750209, python-pycryptodome/trunk/PKGBUILD)
Deleted:
python-pycryptodome/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 10:38:31 UTC (rev 750211)
+++ PKGBUILD 2020-11-11 10:38:32 UTC (rev 750212)
@@ -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.9
-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=('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/
-}
Copied: python-pycryptodome/repos/community-staging-x86_64/PKGBUILD (from rev 750209, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 10:38:32 UTC (rev 750212)
@@ -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=3
+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