Date: Sunday, September 18, 2022 @ 14:59:09
  Author: felixonmars
Revision: 1304887

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-18 14:58:49 UTC (rev 1304886)
+++ PKGBUILD    2022-09-18 14:59:09 UTC (rev 1304887)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pyjwt
-pkgver=2.4.0
-pkgrel=1
-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=('c1044de436394d7758bdfcc9256a1ff4534881b9e5cd29b6055bcfed349b4d0d3e0b802a8163740adf63f624394e7ef7f61a91e3b49f7bae914165a2549ce771')
-
-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-any/PKGBUILD (from rev 1304886, 
python-pyjwt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-18 14:59:09 UTC (rev 1304887)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pyjwt
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='JSON Web Token implementation in Python'
+arch=('any')
+url='https://github.com/jpadilla/pyjwt'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-cryptography')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jpadilla/pyjwt/archive/$pkgver.tar.gz";)
+sha512sums=('7db32dd621a9744d561ec1dc1fe923326fd2425c56ae76df78e024146cf1520ac703a78d250b37090393747ea1d01872903cc86eba803b733beac11b4f803422')
+
+build() {
+  cd pyjwt-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pyjwt-$pkgver
+  pytest
+}
+
+package() {
+  cd pyjwt-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to