[arch-commits] Commit in python-pyjwt/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 21:35:58 UTC 2021
Date: Wednesday, December 1, 2021 @ 21:35:58
Author: foutrelis
Revision: 1060864
archrelease: copy trunk to community-staging-any
Added:
python-pyjwt/repos/community-staging-any/PKGBUILD
(from rev 1060862, python-pyjwt/trunk/PKGBUILD)
Deleted:
python-pyjwt/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 21:35:57 UTC (rev 1060863)
+++ PKGBUILD 2021-12-01 21:35:58 UTC (rev 1060864)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pyjwt
-pkgver=2.2.0
-pkgrel=2
-pkgdesc='JSON Web Token implementation in Python'
-arch=('any')
-url='https://github.com/jpadilla/pyjwt'
-license=('MIT')
-depends=('python-setuptools')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jpadilla/pyjwt/archive/$pkgver.tar.gz")
-sha512sums=('b7f30089f0c0152636469be3555c4e865bb47bd9d30947c7d6ec4011d4b2a02a0ea9e78c8e93eb803cc90010cf3eeacc51854e517dc1873e8bca59f27227ea1b')
-
-prepare() {
- sed -i 's/pytest==2.7.3/pytest/;/pytest-cov/d' pyjwt-$pkgver/setup.py
- # do not use python-coverage
- sed -i 's/--cov-report term-missing --cov-config=.coveragerc --cov .//' pyjwt-$pkgver/setup.cfg
-}
-
-build() {
- cd "$srcdir"/pyjwt-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/pyjwt-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd pyjwt-$pkgver
- python3 setup.py install --root="$pkgdir" -O1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pyjwt/repos/community-staging-any/PKGBUILD (from rev 1060862, python-pyjwt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 21:35:58 UTC (rev 1060864)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pyjwt
+pkgver=2.2.0
+pkgrel=3
+pkgdesc='JSON Web Token implementation in Python'
+arch=('any')
+url='https://github.com/jpadilla/pyjwt'
+license=('MIT')
+depends=('python-setuptools')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jpadilla/pyjwt/archive/$pkgver.tar.gz")
+sha512sums=('b7f30089f0c0152636469be3555c4e865bb47bd9d30947c7d6ec4011d4b2a02a0ea9e78c8e93eb803cc90010cf3eeacc51854e517dc1873e8bca59f27227ea1b')
+
+prepare() {
+ sed -i 's/pytest==2.7.3/pytest/;/pytest-cov/d' pyjwt-$pkgver/setup.py
+ # do not use python-coverage
+ sed -i 's/--cov-report term-missing --cov-config=.coveragerc --cov .//' pyjwt-$pkgver/setup.cfg
+}
+
+build() {
+ cd "$srcdir"/pyjwt-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/pyjwt-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd pyjwt-$pkgver
+ python3 setup.py install --root="$pkgdir" -O1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list