21 lines
562 B
Plaintext
21 lines
562 B
Plaintext
# Description: JSON Web Token implementation in Python
|
|
# URL: https://github.com/jpadilla/pyjwt
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-pyjwt
|
|
version=2.8.0
|
|
release=1
|
|
source=(https://github.com/jpadilla/pyjwt/archive/$version/pyjwt-$version.tar.gz)
|
|
|
|
build() {
|
|
cd pyjwt-$version
|
|
|
|
sed -i 's/--cov-report term-missing --cov-config=.coveragerc --cov .//' setup.cfg
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
-O1 \
|
|
--skip-build
|
|
}
|