hashworks pushed to branch main at Arch Linux / Packaging / Packages / 
python-jwcrypto


Commits:
9fc5fb75 by Justin Kromlinger at 2025-10-13T17:55:39+02:00
upgpkg: 1.5.6-5: Use tag for checkout, add maintainer comment

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-jwcrypto
        pkgdesc = Python implementation of JWK, JWS, JWE specifications
        pkgver = 1.5.6
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/latchset/jwcrypto
        arch = any
        license = LGPL-3.0-or-later
@@ -14,7 +14,7 @@ pkgbase = python-jwcrypto
        depends = python
        depends = python-cryptography
        depends = python-typing_extensions
-       source = 
git+https://github.com/latchset/jwcrypto?signed#tag=5334ef9abd35e7a086b90e95c4f331fbdd5841c4
+       source = git+https://github.com/latchset/jwcrypto?signed#tag=v1.5.6
        validpgpkeys = BB97AF8BC4E7A5C0D96223D3C788C4C1D4550D45
        validpgpkeys = 7C7BD146943B206BB645B64594EAD67E004B65AB
        sha256sums = 
443c34512802d51db93d129da7a1851c3ff8131bce224ce7ca62d4b2e5b9769d


=====================================
PKGBUILD
=====================================
@@ -1,13 +1,11 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Maintainer: Justin Kromlinger <[email protected]>
+# Contributor: Chih-Hsuan Yen <[email protected]>
 # Contributor: Abdó Roig-Maranges <[email protected]>
 
 _pkgname=jwcrypto
 pkgname=python-$_pkgname
-# https://github.com/latchset/jwcrypto/releases
 pkgver=1.5.6
-# curl https://api.github.com/repos/latchset/jwcrypto/git/ref/tags/v$pkgver | 
jq -r .object.sha
-_tag=5334ef9abd35e7a086b90e95c4f331fbdd5841c4
-pkgrel=4
+pkgrel=5
 pkgdesc='Python implementation of JWK, JWS, JWE specifications'
 arch=(any)
 url='https://github.com/latchset/jwcrypto'
@@ -19,7 +17,7 @@ license=('LGPL-3.0-or-later')
 depends=(python python-cryptography python-typing_extensions)
 makedepends=(git python-build python-installer python-setuptools python-wheel)
 checkdepends=(python-pytest)
-source=("git+$url?signed#tag=$_tag")
+source=("git+$url?signed#tag=v${pkgver}")
 sha256sums=('443c34512802d51db93d129da7a1851c3ff8131bce224ce7ca62d4b2e5b9769d')
 # PyPI sdists for older versions are signed by tiran's key. Since version 1.0,
 # PyPI sdists are not signed, and tiran didn't declare transition of the
@@ -31,11 +29,6 @@ validpgpkeys=(
   '7C7BD146943B206BB645B64594EAD67E004B65AB'  # Simo Sorce <[email protected]>
 )
 
-pkgver() {
-  cd $_pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
 build() {
   cd $_pkgname
   python -m build --wheel --no-isolation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-jwcrypto/-/commit/9fc5fb75750275b6c6ceac937af93d29935c5978

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


Reply via email to