[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Tue Mar 2 21:33:45 UTC 2021


    Date: Tuesday, March 2, 2021 @ 21:33:44
  Author: felixonmars
Revision: 409077

upgpkg: python2-cryptography 3.3.2-1

Added:
  python2-cryptography/
  python2-cryptography/repos/
  python2-cryptography/trunk/
  python2-cryptography/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: python2-cryptography/trunk/PKGBUILD
===================================================================
--- python2-cryptography/trunk/PKGBUILD	                        (rev 0)
+++ python2-cryptography/trunk/PKGBUILD	2021-03-02 21:33:44 UTC (rev 409077)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-cryptography
+pkgver=3.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"
+depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 'python2-ipaddress'
+         'python2-setuptools' 'python2-asn1crypto')
+source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
+sha512sums=('55f6ee13342b3209b1fcb310f4c4d33d22856ee785cb2347e6ad36c34e9b42f6e0d5bece8e458b09663a5b78e34c4567fe7a211b51ca71f55ccc93e3f62dc5e4')
+
+build() {
+  cd cryptography-$pkgver
+  python2 setup.py build
+}
+
+package() {
+  cd cryptography-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list