[arch-commits] Commit in python-jose/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 15:16:15 UTC 2021
Date: Thursday, December 2, 2021 @ 15:16:15
Author: felixonmars
Revision: 1061945
archrelease: copy trunk to community-staging-any
Added:
python-jose/repos/community-staging-any/PKGBUILD
(from rev 1061943, python-jose/trunk/PKGBUILD)
Deleted:
python-jose/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 15:16:12 UTC (rev 1061944)
+++ PKGBUILD 2021-12-02 15:16:15 UTC (rev 1061945)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jose
-pkgver=3.3.0
-pkgrel=2
-pkgdesc="A JOSE implementation in Python"
-arch=('any')
-license=('MIT')
-url="https://github.com/mpdavis/python-jose"
-depends=('python-rsa' 'python-six' 'python-ecdsa' 'python-future')
-optdepends=('python-cryptography: one option for better performance'
- 'python-pycryptodome: one option for better performance')
-makedepends=('python-setuptools' 'python-rsa' 'python-six' 'python-ecdsa' 'python-future' 'python-pytest-runner')
-checkdepends=('python-cryptography' 'python-pycryptodome' 'python-pytest-cov')
-source=("https://github.com/mpdavis/python-jose/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('de7147cc6e12406d6e459c32829acae46395acba727c53e65bc05f4794ee3050eecd355e3ae2e87f4ebdbd871f53822eea08a10f25d7ca6088fc6128dc7d9637')
-
-prepare() {
- cd python-jose-$pkgver
- sed -i 's/<0.15//' setup.py
-}
-
-build() {
- cd python-jose-$pkgver
- python setup.py build
-}
-
-check() {
- cd python-jose-$pkgver
- # https://github.com/mpdavis/python-jose/issues/176
- python setup.py pytest --addopts "--deselect tests/algorithms/test_EC.py::TestECAlgorithm::test_key_too_short"
-}
-
-package() {
- cd python-jose-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-jose/repos/community-staging-any/PKGBUILD (from rev 1061943, python-jose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 15:16:15 UTC (rev 1061945)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jose
+pkgver=3.3.0
+pkgrel=3
+pkgdesc="A JOSE implementation in Python"
+arch=('any')
+license=('MIT')
+url="https://github.com/mpdavis/python-jose"
+depends=('python-rsa' 'python-six' 'python-ecdsa' 'python-future')
+optdepends=('python-cryptography: one option for better performance'
+ 'python-pycryptodome: one option for better performance')
+makedepends=('python-setuptools' 'python-rsa' 'python-six' 'python-ecdsa' 'python-future' 'python-pytest-runner')
+checkdepends=('python-cryptography' 'python-pycryptodome' 'python-pytest-cov')
+source=("https://github.com/mpdavis/python-jose/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('de7147cc6e12406d6e459c32829acae46395acba727c53e65bc05f4794ee3050eecd355e3ae2e87f4ebdbd871f53822eea08a10f25d7ca6088fc6128dc7d9637')
+
+prepare() {
+ cd python-jose-$pkgver
+ sed -i 's/<0.15//' setup.py
+}
+
+build() {
+ cd python-jose-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-jose-$pkgver
+ # https://github.com/mpdavis/python-jose/issues/176
+ python setup.py pytest --addopts "--deselect tests/algorithms/test_EC.py::TestECAlgorithm::test_key_too_short"
+}
+
+package() {
+ cd python-jose-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list