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

Felix Yan felixonmars at archlinux.org
Tue Nov 19 02:43:43 UTC 2019


    Date: Tuesday, November 19, 2019 @ 02:43:42
  Author: felixonmars
Revision: 530389

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-19 02:43:27 UTC (rev 530388)
+++ PKGBUILD	2019-11-19 02:43:42 UTC (rev 530389)
@@ -1,57 +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.3
-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=('8dfaea49c8804d32a1c6640987f3039ee17dad9179e784bc00921fb79b37a968de212243451b65654aba667c9737a817de2675d4cea495f5d74ac0ba1c23957a')
-
-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 setup.py test
-
-  cd "$srcdir/pycryptodome-$pkgver-python2"
-  python2 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"
-}
-
-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"
-}

Copied: python-pycryptodome/repos/community-x86_64/PKGBUILD (from rev 530388, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-19 02:43:42 UTC (rev 530389)
@@ -0,0 +1,57 @@
+# 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.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=('38a34acdef671c17875ec9e9403401b71cf6f2e46a715575812a4b2cd0a7c9745fcb0c4a44db62e86913160b09f5a2f867db238c81f38805060cff88635d920a')
+
+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 setup.py test
+
+  cd "$srcdir/pycryptodome-$pkgver-python2"
+  python2 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"
+}
+
+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"
+}



More information about the arch-commits mailing list