[arch-commits] Commit in python-pycryptodome/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu May 30 20:27:25 UTC 2019
Date: Thursday, May 30, 2019 @ 20:27:24
Author: felixonmars
Revision: 475218
archrelease: copy trunk to community-x86_64
Added:
python-pycryptodome/repos/community-x86_64/PKGBUILD
(from rev 475217, 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-05-30 20:27:12 UTC (rev 475217)
+++ PKGBUILD 2019-05-30 20:27:24 UTC (rev 475218)
@@ -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.8.1
-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=('fe9401817303056a6aa058e3e6ce1e394fd56d2577c2a07b90534b6d62c071cf514e760639c87e2679a710a5aa6df5f33e9329f632a801dc27d3e2908fb2e3f4')
-
-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 475217, python-pycryptodome/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-30 20:27:24 UTC (rev 475218)
@@ -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.8.2
+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=('4be61d7dafd38bfb011f6a585645fc8b6e4951c7173e7cb00c1e863c4a233e2285068d963e4dae55050c7dd198338af1d115dda3e6eece6ffda515af8d1136e2')
+
+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