diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-22 01:49:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-22 01:49:46 +0000 |
| commit | 7405a033cff46b48cf4bad6e5196474849e331e5 (patch) | |
| tree | 72e839fe7e02ebfc7430584707b14162e08b46d4 /dev-python/python-jwt/python-jwt-1.2.0.ebuild | |
| parent | 990648aa5bb1fa9b7826aa8153a63d6f22524e8d (diff) | |
| download | baldeagleos-repo-7405a033cff46b48cf4bad6e5196474849e331e5.tar.gz baldeagleos-repo-7405a033cff46b48cf4bad6e5196474849e331e5.tar.xz baldeagleos-repo-7405a033cff46b48cf4bad6e5196474849e331e5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-jwt/python-jwt-1.2.0.ebuild')
| -rw-r--r-- | dev-python/python-jwt/python-jwt-1.2.0.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/python-jwt/python-jwt-1.2.0.ebuild b/dev-python/python-jwt/python-jwt-1.2.0.ebuild new file mode 100644 index 000000000000..e10f83af9f6e --- /dev/null +++ b/dev-python/python-jwt/python-jwt-1.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_8 python3_9 ) +inherit distutils-r1 + +DESCRIPTION="JSON Web Token library for python 3" +HOMEPAGE="https://github.com/GehirnInc/python-jwt" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hvac/hvac.git" +else + SRC_URI="https://github.com/GehirnInc/python-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e 's/^addopts =.*/addopts = jwt/' setup.cfg || die + distutils-r1_python_prepare_all +} |
