mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/python_jwt: treeclean
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST python_jwt-3d9747df616d209c07bffe2bcf28b42e92a7d8d4.tar.gz 239032 BLAKE2B 2221d0445898ff1fa7737369e6488cf87287b359751113df61f4677bc9a31d3c90790c77bbaa4df08789019bca93c432dca96245ff28fa931557c046bc705f83 SHA512 43896e20bb2104d43b800f86342035d9eea3a0c70175c47d7875fa9b926dbb7c0f2840a68f25bdae5689df1f80198f74a7738c6a5a19d30748d53c1ebac39cf5
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Module for generating and verifying JSON Web Tokens.
|
||||
|
||||
Note: From version 2.0.1 the namespace has changed from jwt to python_jwt, in order to avoid conflict with PyJWT.
|
||||
Note: Versions 1.0.0 and later fix a vulnerability in JSON Web Token verification so please upgrade if you're using this functionality. The API has changed so you will need to update your application. verify_jwt now requires you to specify which signature algorithms are allowed.
|
||||
Uses jwcrypto to do the heavy lifting.
|
||||
Supports RS256, RS384, RS512, PS256, PS384, PS512, HS256, HS384, HS512, ES256, ES384, ES512, ES256K, EdDSA and none signature algorithms.
|
||||
Unit tests, including tests for interoperability with jose.
|
||||
Supports Python 2,7 and 3.6+. Note: generate_jwt returns the token as a Unicode string, even on Python 2.7.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">davedoesdev/python-jwt</remote-id>
|
||||
<remote-id type="pypi">python-jwt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="3d9747df616d209c07bffe2bcf28b42e92a7d8d4"
|
||||
MYPN="${PN/_/-}"
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module for generating and verifying JSON Web Tokens"
|
||||
HOMEPAGE="
|
||||
https://github.com/davedoesdev/python-jwt
|
||||
https://pypi.org/project/python-jwt/
|
||||
"
|
||||
SRC_URI="https://github.com/davedoesdev/${MYPN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
|
||||
S="${WORKDIR}/${MYPN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/gevent-1.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyVows-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test/run/run_pyvows.py -v test || die
|
||||
}
|
||||
Reference in New Issue
Block a user