Date: Wednesday, April 5, 2023 @ 18:32:48
  Author: felixonmars
Revision: 472667

archrelease: copy trunk to staging-x86_64

Added:
  python-cryptography/repos/staging-x86_64/
  python-cryptography/repos/staging-x86_64/PKGBUILD
    (from rev 472666, python-cryptography/trunk/PKGBUILD)

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

Copied: python-cryptography/repos/staging-x86_64/PKGBUILD (from rev 472666, 
python-cryptography/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-04-05 18:32:48 UTC (rev 472667)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-cryptography
+pkgver=40.0.1
+_commit=9dd0b26c48f567d5a7c4a0bc9f45ef2176a2d4a4
+pkgrel=2
+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=('python-cffi')
+makedepends=('git' 'python-setuptools-rust')
+checkdepends=('python-pytest' 'python-pytest-subtests' 'python-iso8601' 
'python-pretend'
+              'python-hypothesis' 'python-pytz' 'python-pytest-benchmark')
+source=("git+https://github.com/pyca/cryptography.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd cryptography
+  python setup.py build
+}
+
+check() {
+  cd cryptography
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310:$PWD/vectors" pytest
+}
+
+package() {
+  cd cryptography
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Reply via email to