Date: Friday, August 31, 2018 @ 08:30:41
  Author: foutrelis
Revision: 375821

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-08-31 08:30:36 UTC (rev 375820)
+++ PKGBUILD    2018-08-31 08:30:41 UTC (rev 375821)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgbase=python-pycryptodome
-pkgname=('python-pycryptodome' 'python2-pycryptodome')
-pkgver=3.6.6
-pkgrel=1
-license=('BSD')
-arch=('x86_64')
-url='http://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=('52b459c72dfb57607b52d5b2a9aefd096a250a1cde6fb437f90d657fe9017ac1c6cb6c4e88b4625a6763a28661ef8134ce9edffc283755e0fc2da8a905938ac8')
-
-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')
-
-  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')
-
-  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 375820, 
python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-08-31 08:30:41 UTC (rev 375821)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgbase=python-pycryptodome
+pkgname=('python-pycryptodome' 'python2-pycryptodome')
+pkgver=3.6.6
+pkgrel=2
+license=('BSD')
+arch=('x86_64')
+url='http://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=('52b459c72dfb57607b52d5b2a9aefd096a250a1cde6fb437f90d657fe9017ac1c6cb6c4e88b4625a6763a28661ef8134ce9edffc283755e0fc2da8a905938ac8')
+
+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"
+}

Reply via email to