From f0a9e18a44e09fbf1656ae7fcf2494bdb54cd9e2 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 16:32:46 +0300 Subject: [PATCH] python3-PyJWT: update to 2.0.1 + fix information Also drop python2 dependency --- srcpkgs/python3-PyJWT/template | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-PyJWT/template b/srcpkgs/python3-PyJWT/template index d8137fd5ec6..e751ddfa9be 100644 --- a/srcpkgs/python3-PyJWT/template +++ b/srcpkgs/python3-PyJWT/template @@ -1,15 +1,21 @@ # Template file for 'python3-PyJWT' pkgname=python3-PyJWT -version=2.0.0 +version=2.0.1 revision=1 -wrksrc="PyJWT-${version}" +wrksrc="pyjwt-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python" -checkdepends="python3-pytest" -short_desc="Platform independent file lock" +depends="python3" +checkdepends="python3-pytest python3-cryptography" +short_desc="Python implementation of RFC 7519" maintainer="fosslinux " -license="Unlicense" -homepage="https://filelock.readthedocs.io/en/latest/" -distfiles="${PYPI_SITE}/P/PyJWT/PyJWT-${version}.tar.gz" -checksum=7a2b271c6dac2fda9e0c33d176c4253faba2c6c6b3a99c7f28a32c3c97522779 +license="MIT" +homepage="https://pyjwt.readthedocs.io/" +distfiles="https://github.com/jpadilla/pyjwt/archive/${version}.tar.gz" +checksum=63f296b42b4107a9e3ba4994d2d575ee0d05b9a55f433a3f46febfc4ee381ad1 +# Re-enable when switching to OpenSSL +make_check=no + +post_install() { + vlicense LICENSE +}