[arch-commits] Commit in python-cryptography/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jul 19 13:08:35 UTC 2018
Date: Thursday, July 19, 2018 @ 13:08:34
Author: felixonmars
Revision: 329052
archrelease: copy trunk to staging-x86_64
Added:
python-cryptography/repos/staging-x86_64/PKGBUILD
(from rev 329051, python-cryptography/trunk/PKGBUILD)
Deleted:
python-cryptography/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-19 13:08:09 UTC (rev 329051)
+++ PKGBUILD 2018-07-19 13:08:34 UTC (rev 329052)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cryptography
-pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=2.2.2
-pkgrel=2
-pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
-arch=('x86_64')
-license=('Apache')
-url="http://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' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver"
- "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601'
- 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis'
- 'python-pytz' 'python2-pytz')
-source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
-sha512sums=('6c1b19cdb870d65abad42523697e9a0bebc7a0025b34f10c4bdd30c313333efd7c41bcb4237a29b3a1b270e3fbade75ccb35df172b055b7c075d619f4d9424c9')
-
-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 "$srcdir"/cryptography-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/cryptography-$pkgver-python2
- python2 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/staging-x86_64/PKGBUILD (from rev 329051, python-cryptography/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-19 13:08:34 UTC (rev 329052)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cryptography
+pkgname=('python-cryptography' 'python2-cryptography')
+pkgver=2.3
+pkgrel=1
+pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
+arch=('x86_64')
+license=('Apache')
+url="http://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' 'python2-pytest-runner' "python-cryptography-vectors=$pkgver"
+ "python2-cryptography-vectors=$pkgver" 'python-iso8601' 'python2-iso8601'
+ 'python-pretend' 'python2-pretend' 'python-hypothesis' 'python2-hypothesis'
+ 'python-pytz' 'python2-pytz')
+source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
+sha512sums=('75e14020da500fdbbd578f004b22ef3237844185329adf59288b29f1b3ee9dd2005a2c4a933fe8609a59d168012a9f687bab0f31ab39ed6ca325198aa9295e52')
+
+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 "$srcdir"/cryptography-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/cryptography-$pkgver-python2
+ python2 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