Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/python_jwt/
Date: Wed, 06 Jul 2022 00:59:08
Message-Id: 1657069070.c979ccd108309e867a622f95ff572c7828e2b52a.Alessandro-Barbieri@gentoo
1 commit: c979ccd108309e867a622f95ff572c7828e2b52a
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Jul 6 00:57:50 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Wed Jul 6 00:57:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c979ccd1
7
8 dev-python/python_jwt: treeclean
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/python_jwt/Manifest | 1 -
13 dev-python/python_jwt/metadata.xml | 22 ---------------
14 dev-python/python_jwt/python_jwt-3.3.2.ebuild | 40 ---------------------------
15 3 files changed, 63 deletions(-)
16
17 diff --git a/dev-python/python_jwt/Manifest b/dev-python/python_jwt/Manifest
18 deleted file mode 100644
19 index e621bf760..000000000
20 --- a/dev-python/python_jwt/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST python_jwt-3d9747df616d209c07bffe2bcf28b42e92a7d8d4.tar.gz 239032 BLAKE2B 2221d0445898ff1fa7737369e6488cf87287b359751113df61f4677bc9a31d3c90790c77bbaa4df08789019bca93c432dca96245ff28fa931557c046bc705f83 SHA512 43896e20bb2104d43b800f86342035d9eea3a0c70175c47d7875fa9b926dbb7c0f2840a68f25bdae5689df1f80198f74a7738c6a5a19d30748d53c1ebac39cf5
24
25 diff --git a/dev-python/python_jwt/metadata.xml b/dev-python/python_jwt/metadata.xml
26 deleted file mode 100644
27 index 1fb50e120..000000000
28 --- a/dev-python/python_jwt/metadata.xml
29 +++ /dev/null
30 @@ -1,22 +0,0 @@
31 -<?xml version='1.0' encoding='UTF-8'?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -<pkgmetadata>
34 - <maintainer type="person">
35 - <email>lssndrbarbieri@×××××.com</email>
36 - <name>Alessandro Barbieri</name>
37 - </maintainer>
38 - <longdescription lang="en">
39 -Module for generating and verifying JSON Web Tokens.
40 -
41 - Note: From version 2.0.1 the namespace has changed from jwt to python_jwt, in order to avoid conflict with PyJWT.
42 - 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.
43 - Uses jwcrypto to do the heavy lifting.
44 - Supports RS256, RS384, RS512, PS256, PS384, PS512, HS256, HS384, HS512, ES256, ES384, ES512, ES256K, EdDSA and none signature algorithms.
45 - Unit tests, including tests for interoperability with jose.
46 - Supports Python 2,7 and 3.6+. Note: generate_jwt returns the token as a Unicode string, even on Python 2.7.
47 - </longdescription>
48 - <upstream>
49 - <remote-id type="github">davedoesdev/python-jwt</remote-id>
50 - <remote-id type="pypi">python-jwt</remote-id>
51 - </upstream>
52 -</pkgmetadata>
53
54 diff --git a/dev-python/python_jwt/python_jwt-3.3.2.ebuild b/dev-python/python_jwt/python_jwt-3.3.2.ebuild
55 deleted file mode 100644
56 index 128e71476..000000000
57 --- a/dev-python/python_jwt/python_jwt-3.3.2.ebuild
58 +++ /dev/null
59 @@ -1,40 +0,0 @@
60 -# Copyright 1999-2022 Gentoo Authors
61 -# Distributed under the terms of the GNU General Public License v2
62 -
63 -EAPI=8
64 -
65 -COMMIT="3d9747df616d209c07bffe2bcf28b42e92a7d8d4"
66 -MYPN="${PN/_/-}"
67 -PYTHON_COMPAT=( python3_{8..10} )
68 -
69 -inherit distutils-r1
70 -
71 -DESCRIPTION="Python module for generating and verifying JSON Web Tokens"
72 -HOMEPAGE="
73 - https://github.com/davedoesdev/python-jwt
74 - https://pypi.org/project/python-jwt/
75 -"
76 -SRC_URI="https://github.com/davedoesdev/${MYPN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
77 -S="${WORKDIR}/${MYPN}-${COMMIT}"
78 -
79 -LICENSE="MIT"
80 -SLOT="0"
81 -KEYWORDS="~amd64"
82 -IUSE="test"
83 -
84 -RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
85 -DEPEND="${RDEPEND}"
86 -BDEPEND="
87 - test? (
88 - >=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
89 - >=dev-python/gevent-1.2.2[${PYTHON_USEDEP}]
90 - >=dev-python/pyVows-3.0.0[${PYTHON_USEDEP}]
91 - >=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
92 - )
93 -"
94 -
95 -RESTRICT="!test? ( test )"
96 -
97 -python_test() {
98 - "${EPYTHON}" test/run/run_pyvows.py -v test || die
99 -}