mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 19:30:37 -04:00
Closes: https://bugs.gentoo.org/835880 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
35 lines
847 B
Bash
35 lines
847 B
Bash
# 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"
|
|
|
|
RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
test? (
|
|
>=dev-python/gevent-1.2.2[${PYTHON_USEDEP}]
|
|
>=dev-python/pyVows-3.0.0[${PYTHON_USEDEP}]
|
|
>=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|