[arch-commits] Commit in (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jun 25 16:47:44 UTC 2021


    Date: Friday, June 25, 2021 @ 16:47:44
  Author: yan12125
Revision: 967446

python-jwcrypto: new package, dependency of python-hvac, which will be used by upcoming buildbot [1]

[1] https://github.com/buildbot/buildbot/pull/6058

Added:
  python-jwcrypto/
  python-jwcrypto/repos/
  python-jwcrypto/trunk/
  python-jwcrypto/trunk/PKGBUILD

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

Added: python-jwcrypto/trunk/PKGBUILD
===================================================================
--- python-jwcrypto/trunk/PKGBUILD	                        (rev 0)
+++ python-jwcrypto/trunk/PKGBUILD	2021-06-25 16:47:44 UTC (rev 967446)
@@ -0,0 +1,35 @@
+# 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
+}




More information about the arch-commits mailing list