Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-cryptography


Commits:
1abf5edd by Jelle van der Waa at 2024-02-26T21:14:22+01:00
upgpkg: 42.0.5-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-cryptography
        pkgdesc = A package designed to expose cryptographic recipes and 
primitives to Python developers
-       pkgver = 41.0.7
+       pkgver = 42.0.5
        pkgrel = 1
        url = https://pypi.python.org/pypi/cryptography
        arch = x86_64
@@ -12,13 +12,17 @@ pkgbase = python-cryptography
        checkdepends = python-hypothesis
        checkdepends = python-pytz
        checkdepends = python-pytest-benchmark
+       checkdepends = python-certifi
        makedepends = git
        makedepends = python-setuptools-rust
        makedepends = llvm
        makedepends = clang
        makedepends = lld
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
        depends = python-cffi
-       source = 
git+https://github.com/pyca/cryptography.git#commit=4054596afc6f2b6cfcc54f56c35c34e0e429cb66
+       source = 
git+https://github.com/pyca/cryptography.git#commit=33833f031d9d36234e11d9671be150d53b9e598d
        sha512sums = SKIP
 
 pkgname = python-cryptography


=====================================
PKGBUILD
=====================================
@@ -1,17 +1,17 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-cryptography
-pkgver=41.0.7
-_commit=4054596afc6f2b6cfcc54f56c35c34e0e429cb66
+pkgver=42.0.5
+_commit=33833f031d9d36234e11d9671be150d53b9e598d
 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=('python-cffi')
-makedepends=('git' 'python-setuptools-rust' 'llvm' 'clang' 'lld')
+makedepends=('git' 'python-setuptools-rust' 'llvm' 'clang' 'lld' 
'python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-subtests' 'python-iso8601' 
'python-pretend'
-              'python-hypothesis' 'python-pytz' 'python-pytest-benchmark')
+              'python-hypothesis' 'python-pytz' 'python-pytest-benchmark' 
'python-certifi')
 source=("git+https://github.com/pyca/cryptography.git#commit=$_commit";)
 sha512sums=('SKIP')
 
@@ -19,7 +19,7 @@ build() {
   cd cryptography
   echo $RUSTFLAGS
   # https://github.com/pyca/cryptography/issues/9023
-  CC=clang RUSTFLAGS+="-Clinker-plugin-lto -Clinker=clang 
-Clink-arg=-fuse-ld=lld" python setup.py build
+  CC=clang RUSTFLAGS+="-Clinker-plugin-lto -Clinker=clang 
-Clink-arg=-fuse-ld=lld" python -m build --wheel --no-isolation
 }
 
 check() {
@@ -30,5 +30,5 @@ check() {
 
 package() {
   cd cryptography
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-cryptography/-/commit/1abf5eddfdf6e6202775a99a97f911ec41200bf9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-cryptography/-/commit/1abf5eddfdf6e6202775a99a97f911ec41200bf9
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to