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


Commits:
403f4fd9 by Jelle van der Waa at 2024-04-07T12:03:46+02:00
upgpkg: 0.8-12: rebuild with python 3.12

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = python-spake2
+       pkgdesc = Pure-python implementation of the SPAKE2 
Password-Authenticated Key
+       pkgver = 0.8
+       pkgrel = 12
+       url = https://github.com/warner/python-spake2
+       arch = any
+       license = MIT
+       checkdepends = python-pytest
+       makedepends = python-setuptools
+       makedepends = python-versioneer
+       depends = python
+       depends = python-hkdf
+       source = 
python-spake2-0.8.tar.gz::https://github.com/warner/python-spake2/archive/refs/tags/v0.8.tar.gz
+       sha512sums = 
908c377c831f4a11551973ca917b113d51a66c533d35fd19b2692fdb7e575ed2a5045d9b632bc55c37b68ad092f01dff5da191e9dfbfb5599b72844788438d68
+
+pkgname = python-spake2


=====================================
PKGBUILD
=====================================
@@ -3,17 +3,23 @@
 
 pkgname=python-spake2
 pkgver=0.8
-pkgrel=11
+pkgrel=12
 pkgdesc="Pure-python implementation of the SPAKE2 Password-Authenticated Key"
 arch=('any')
 url="https://github.com/warner/python-spake2";
 license=('MIT')
 depends=('python' 'python-hkdf')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-versioneer')
 checkdepends=('python-pytest')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/warner/python-spake2/archive/refs/tags/v${pkgver}.tar.gz";)
 
sha512sums=('908c377c831f4a11551973ca917b113d51a66c533d35fd19b2692fdb7e575ed2a5045d9b632bc55c37b68ad092f01dff5da191e9dfbfb5599b72844788438d68')
 
+prepare() {
+       cd "${pkgname}-${pkgver}"
+       # Unversion versioneer, the copy is old and is incompatible with 3.12
+       rm versioneer.py
+}
+
 build() {
        cd "${pkgname}-${pkgver}"
        python setup.py build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-spake2/-/commit/403f4fd97a03a4f7b35938f71ab883766be1c8dc

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


Reply via email to