diff options
author | Julien Roy <julien@jroy.ca> | 2024-11-23 01:14:14 -0500 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-11-23 01:14:50 -0500 |
commit | d299cf4a0101cdf0cbb7bbd455da31d41da4213b (patch) | |
tree | e8661add215f00de12d70b702ddc754f209a10d4 /dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild | |
parent | ce97ca634500472525983c8dd905455d81f7b586 (diff) | |
download | wger-overlay-d299cf4a0101cdf0cbb7bbd455da31d41da4213b.tar.gz wger-overlay-d299cf4a0101cdf0cbb7bbd455da31d41da4213b.tar.bz2 wger-overlay-d299cf4a0101cdf0cbb7bbd455da31d41da4213b.zip |
dev-python/djangorestframework-simplejwt: new package, add 5.3.1
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild')
-rw-r--r-- | dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild b/dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild new file mode 100644 index 0000000..6ed5ff9 --- /dev/null +++ b/dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="JSON Web Token authentication plugin for the Django REST Framework" +HOMEPAGE=" + https://github.com/jazzband/djangorestframework-simplejwt + https://pypi.org/project/djangorestframework-simplejwt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/twine[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + + doc? ( dev-python/sphinx-rtd-theme ) + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +EPYTEST_DESELECT=( + tests/test_utils.py::TestAwareUtcnow::test_it_should_return_the_correct_value +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs |