mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
34 lines
839 B
Plaintext
34 lines
839 B
Plaintext
# Contributor: Eivind Uggedal <eu@eju.no>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-jwt
|
|
pkgver=2.3.0
|
|
pkgrel=0
|
|
pkgdesc="Python3 JSON Web Token implementation"
|
|
url="https://github.com/jpadilla/pyjwt"
|
|
license="MIT"
|
|
arch="noarch"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/jpadilla/pyjwt/archive/$pkgver/py3-jwt-$pkgver.tar.gz"
|
|
builddir="$srcdir/pyjwt-$pkgver"
|
|
|
|
replaces="py-jwt" # Backwards compatibility
|
|
provides="py-jwt=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir" --skip-build
|
|
}
|
|
|
|
sha512sums="
|
|
1178ea8067f206c69ba03c6124f2dd0287fb014aa4e81472657992b547bc54c783b0e04fc2e285367e6c673394546cb2c50afee6b4d75c020d18925438f324b6 py3-jwt-2.3.0.tar.gz
|
|
"
|