[arch-commits] Commit in python-pycryptodome/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Aug 17 19:48:30 UTC 2018
Date: Friday, August 17, 2018 @ 19:48:30
Author: felixonmars
Revision: 372550
archrelease: copy trunk to community-x86_64
Added:
python-pycryptodome/repos/community-x86_64/PKGBUILD
(from rev 372549, python-pycryptodome/trunk/PKGBUILD)
Deleted:
python-pycryptodome/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-17 19:48:07 UTC (rev 372549)
+++ PKGBUILD 2018-08-17 19:48:30 UTC (rev 372550)
@@ -1,56 +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.5
-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=('05b3d72ad877c090ed885c0fc7ae06708bddad4aaa9a728ab57c7c67da614374fa0af0e5efe57dbae61bd21cd61042af5ff58cc67f38d18e4293f80cfc59cc5f')
-
-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 372549, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-17 19:48:30 UTC (rev 372550)
@@ -0,0 +1,56 @@
+# $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=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"
+}
More information about the arch-commits
mailing list