[arch-commits] Commit in python-pycryptodome/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Oct 28 10:21:08 UTC 2018
Date: Sunday, October 28, 2018 @ 10:21:08
Author: felixonmars
Revision: 399251
archrelease: copy trunk to community-x86_64
Added:
python-pycryptodome/repos/community-x86_64/PKGBUILD
(from rev 399250, python-pycryptodome/trunk/PKGBUILD)
Deleted:
python-pycryptodome/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 115 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-28 10:20:49 UTC (rev 399250)
+++ PKGBUILD 2018-10-28 10:21:08 UTC (rev 399251)
@@ -1,58 +0,0 @@
-# $Id$
-# 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.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"
-}
Copied: python-pycryptodome/repos/community-x86_64/PKGBUILD (from rev 399250, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-28 10:21:08 UTC (rev 399251)
@@ -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.7.0
+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=('ea4440521a9cf00cefe5b139ec8571b955f848a2641035e86f6f9c75ecdf7d12a98ca0d4169ad9ae1b003f9f8b02acd5ecb180d574a1981f7462e7f49aaa9652')
+
+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