commit:     4c844e5407fe34fff6af2aef8615d2aef4cf228f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 19:52:58 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 20:06:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c844e54

dev-python/pyjwt: Bump to 2.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyjwt/Manifest           |  1 +
 dev-python/pyjwt/pyjwt-2.0.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest
index 83d65a7066a..f6338047ad6 100644
--- a/dev-python/pyjwt/Manifest
+++ b/dev-python/pyjwt/Manifest
@@ -1 +1,2 @@
 DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 
5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28
 SHA512 
70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4
+DIST PyJWT-2.0.0.tar.gz 56981 BLAKE2B 
e093bf23beb86a287e494018aed6bd6870d5923697b6502e4269f0b991b28c4ea6a53261b88789b0786b59e03b3d4eb763006becf0666921a81d0528c7677af5
 SHA512 
1831c93f100cd481e2ea80e23ff9f5114806cc493efc1c42ec6ff3ecc07e716d9ba2557b0b66fd8413946d166eebc1a44c453ec5407dfeef0529d222c9187e45

diff --git a/dev-python/pyjwt/pyjwt-2.0.0.ebuild 
b/dev-python/pyjwt/pyjwt-2.0.0.ebuild
new file mode 100644
index 00000000000..003ac25f08b
--- /dev/null
+++ b/dev-python/pyjwt/pyjwt-2.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1 optfeature
+
+MY_PN="PyJWT"
+DESCRIPTION="JSON Web Token implementation in Python"
+HOMEPAGE="https://github.com/progrium/pyjwt https://pypi.org/project/PyJWT/";
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND=""
+DEPEND="
+       test? (
+               >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       find . -name '__pycache__' -prune -exec rm -rf {} + || die
+       find . -name '*.pyc' -delete || die
+
+       # enables coverage, we don't need that
+       rm setup.cfg || die
+
+       distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+       elog "Available optional features:"
+       optfeature "cryptography" dev-python/cryptography
+}

Reply via email to