[arch-commits] Commit in python-cryptography/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 23 08:00:44 UTC 2020
Date: Thursday, April 23, 2020 @ 08:00:43
Author: felixonmars
Revision: 380754
archrelease: copy trunk to extra-x86_64
Added:
python-cryptography/repos/extra-x86_64/PKGBUILD
(from rev 380753, python-cryptography/trunk/PKGBUILD)
Deleted:
python-cryptography/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 08:00:33 UTC (rev 380753)
+++ PKGBUILD 2020-04-23 08:00:43 UTC (rev 380754)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cryptography
-pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=2.9.1
-pkgrel=1
-pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
-arch=('x86_64')
-license=('Apache')
-url="https://pypi.python.org/pypi/cryptography"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi'
- 'python2-cffi' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna'
- 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto')
-checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 'python-iso8601'
- 'python-pretend' 'python-hypothesis' 'python-pytz')
-source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
-sha512sums=('30b87c9ded1af78cb9393b5783dafc67118b675aa4fe8c04d4c6ac0ebd4c3272792b6e47cc70d09ac77df37ccfa9372905b0eb78fe01c1bf9bb4376af5a44066')
-
-prepare() {
- cp -a cryptography-${pkgver}{,-python2}
-}
-
-build() {
- cd "$srcdir"/cryptography-$pkgver
- python setup.py build
-
- cd "$srcdir"/cryptography-$pkgver-python2
- python2 setup.py build
-}
-
-check() {
- cd cryptography-$pkgver
- python setup.py pytest
-}
-
-package_python-cryptography() {
- depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto')
-
- cd cryptography-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-cryptography() {
- depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress'
- 'python2-setuptools' 'python2-asn1crypto')
-
- cd cryptography-$pkgver-python2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-cryptography/repos/extra-x86_64/PKGBUILD (from rev 380753, python-cryptography/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-23 08:00:43 UTC (rev 380754)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cryptography
+pkgname=('python-cryptography' 'python2-cryptography')
+pkgver=2.9.2
+pkgrel=1
+pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
+arch=('x86_64')
+license=('Apache')
+url="https://pypi.python.org/pypi/cryptography"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'python-cffi'
+ 'python2-cffi' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 'python-idna'
+ 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 'python2-asn1crypto')
+checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 'python-iso8601'
+ 'python-pretend' 'python-hypothesis' 'python-pytz')
+source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
+sha512sums=('a8cb7ba229cddfa15bf4ed00d40e76e2ece57958203b9c50c3f782c7977e1c725fa147a1eebc31d50684a622d53e73f97864e1a935753472ea4b2d89eb6ffb6a')
+
+prepare() {
+ cp -a cryptography-${pkgver}{,-python2}
+}
+
+build() {
+ cd "$srcdir"/cryptography-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/cryptography-$pkgver-python2
+ python2 setup.py build
+}
+
+check() {
+ cd cryptography-$pkgver
+ python setup.py pytest
+}
+
+package_python-cryptography() {
+ depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 'python-asn1crypto')
+
+ cd cryptography-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-cryptography() {
+ depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress'
+ 'python2-setuptools' 'python2-asn1crypto')
+
+ cd cryptography-$pkgver-python2
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list