[arch-commits] Commit in python-cryptography/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Oct 26 12:19:54 UTC 2020


    Date: Monday, October 26, 2020 @ 12:19:54
  Author: felixonmars
Revision: 398808

archrelease: copy trunk to extra-x86_64

Added:
  python-cryptography/repos/extra-x86_64/PKGBUILD
    (from rev 398807, 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-10-26 12:19:14 UTC (rev 398807)
+++ PKGBUILD	2020-10-26 12:19:54 UTC (rev 398808)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cryptography
-pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=3.1.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=('feb86c65365cbe7a0175f9c7794bb9d4c8c4530a5766b895de3986c2db1ac85b24de32cd21c60c5181cbd35835c6508e3e329c706046bb8e5bba252a03f6d210')
-
-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 398807, python-cryptography/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-26 12:19:54 UTC (rev 398808)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cryptography
+pkgname=('python-cryptography' 'python2-cryptography')
+pkgver=3.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=('0096e6408b5868cc0b5e6f67945e4200bb943a00ac803546048fa4d332f81af4a224b2d67b911ee8da1ad086120935d7d557fc70a739ecffb22f408ee9b8d09e')
+
+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