[arch-commits] Commit in python-jwcrypto/repos/community-any (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sat Aug 28 16:38:38 UTC 2021


    Date: Saturday, August 28, 2021 @ 16:38:38
  Author: yan12125
Revision: 1007777

archrelease: copy trunk to community-any

Added:
  python-jwcrypto/repos/community-any/PKGBUILD
    (from rev 1007776, python-jwcrypto/trunk/PKGBUILD)
Deleted:
  python-jwcrypto/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 42 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-28 16:38:18 UTC (rev 1007776)
+++ PKGBUILD	2021-08-28 16:38:38 UTC (rev 1007777)
@@ -1,35 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-# Contributor: Abdó Roig-Maranges <abdo.roig at gmail.com>
-
-_pkgname=jwcrypto
-pkgname=python-$_pkgname
-pkgver=0.9.1
-pkgrel=1
-pkgdesc='Python implementation of JWK, JWS, JWE specifications'
-arch=(any)
-url='https://github.com/latchset/jwcrypto'
-license=(LGPL3)
-depends=(python python-cryptography python-six python-deprecated)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-source=("https://files.pythonhosted.org/packages/source/j/$_pkgname/$_pkgname-$pkgver.tar.gz"{,.asc})
-sha256sums=('63531529218ba9869e14ef8c9e7b516865ede3facf9b0ef3d3ba68014da211f9'
-            'SKIP')
-validpgpkeys=(
-  'BB97AF8BC4E7A5C0D96223D3C788C4C1D4550D45'  # https://github.com/tiran
-)
-
-build() {
-  cd $_pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-  pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-jwcrypto/repos/community-any/PKGBUILD (from rev 1007776, python-jwcrypto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-28 16:38:38 UTC (rev 1007777)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Abdó Roig-Maranges <abdo.roig at gmail.com>
+
+_pkgname=jwcrypto
+pkgname=python-$_pkgname
+pkgver=1.0
+# git rev-parse v1.0.0.sig
+_tag=8040a603b5281cdc5876aa4b0c771f30fe60de62
+pkgrel=1
+pkgdesc='Python implementation of JWK, JWS, JWE specifications'
+arch=(any)
+url='https://github.com/latchset/jwcrypto'
+license=(LGPL3)
+depends=(python python-cryptography python-deprecated)
+makedepends=(git python-setuptools)
+checkdepends=(python-pytest)
+source=("git+$url?signed#tag=$_tag")
+sha256sums=('SKIP')
+# 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
+# signing key for some reason. I temporarily trust simo5's signed git tags as
+# the @redhat.com UID in their key has been verified on keys.openpgp.org.
+# See https://github.com/latchset/jwcrypto/issues/230 for more details.
+validpgpkeys=(
+  'BB97AF8BC4E7A5C0D96223D3C788C4C1D4550D45'  # https://github.com/tiran
+  '7C7BD146943B206BB645B64594EAD67E004B65AB'  # Simo Sorce <simo at redhat.com>
+)
+
+build() {
+  cd $_pkgname
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname
+  pytest
+}
+
+package() {
+  cd $_pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list