From d299cf4a0101cdf0cbb7bbd455da31d41da4213b Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sat, 23 Nov 2024 01:14:14 -0500 Subject: dev-python/djangorestframework-simplejwt: new package, add 5.3.1 Signed-off-by: Julien Roy --- dev-python/djangorestframework-simplejwt/Manifest | 1 + .../djangorestframework-simplejwt-5.3.1.ebuild | 43 ++++++++++++++++++++++ .../djangorestframework-simplejwt/metadata.xml | 15 ++++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/djangorestframework-simplejwt/Manifest create mode 100644 dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild create mode 100644 dev-python/djangorestframework-simplejwt/metadata.xml diff --git a/dev-python/djangorestframework-simplejwt/Manifest b/dev-python/djangorestframework-simplejwt/Manifest new file mode 100644 index 0000000..8aa2ff7 --- /dev/null +++ b/dev-python/djangorestframework-simplejwt/Manifest @@ -0,0 +1 @@ +DIST djangorestframework_simplejwt-5.3.1.tar.gz 94266 BLAKE2B a18e2c61da9b186121fdd9b512f94b728efd8159bff7af88300dcd357f1f3662fb1e33e2104b3e30e60dc307b27a7a3d8991a641031e4938c9446b3107abcdbe SHA512 c39539255c4c32791a55ec3805f3dbd218cfd78dbc18ccf8ce72da83d7c37d029c98af9795c291dd7fee2727b4bbb27c1cd809347290b4af953a4e920f300266 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 diff --git a/dev-python/djangorestframework-simplejwt/metadata.xml b/dev-python/djangorestframework-simplejwt/metadata.xml new file mode 100644 index 0000000..1f7e7d5 --- /dev/null +++ b/dev-python/djangorestframework-simplejwt/metadata.xml @@ -0,0 +1,15 @@ + + + + + Julien Roy + julien@jroy.ca + + + https://github.com/jazzband/djangorestframework-simplejwt/issues + https://github.com/jazzband/djangorestframework-simplejwt/blob/master/CHANGELOG.md + https://django-rest-framework-simplejwt.readthedocs.io/ + jazzband/djangorestframework-simplejwt + djangorestframework-simplejwt + + -- cgit v1.2.3