aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-05-25 17:07:31 -0400
committerJulien Roy <julien@jroy.ca>2024-05-25 17:07:31 -0400
commit77f11af5a58e54a67ef39381a43da139565e8292 (patch)
treee449afa1ebad4e837b3463dd092dff66090a322d
parent2d05afd4804ec73ccfc02e944a070f39beb53818 (diff)
downloadMrRoy-Overlay-77f11af5a58e54a67ef39381a43da139565e8292.tar.gz
MrRoy-Overlay-77f11af5a58e54a67ef39381a43da139565e8292.tar.bz2
MrRoy-Overlay-77f11af5a58e54a67ef39381a43da139565e8292.zip
dev-python/djangorestframework-simplejwt: new package, add 5.3.1
Signed-off-by: Julien Roy <julien@jroy.ca>
-rw-r--r--dev-python/djangorestframework-simplejwt/Manifest1
-rw-r--r--dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild42
-rw-r--r--dev-python/djangorestframework-simplejwt/metadata.xml15
3 files changed, 58 insertions, 0 deletions
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..7ef6c72
--- /dev/null
+++ b/dev-python/djangorestframework-simplejwt/djangorestframework-simplejwt-5.3.1.ebuild
@@ -0,0 +1,42 @@
+# 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/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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Julien Roy</name>
+ <email>julien@jroy.ca</email>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/jazzband/djangorestframework-simplejwt/issues</bugs-to>
+ <changelog>https://github.com/jazzband/djangorestframework-simplejwt/blob/master/CHANGELOG.md</changelog>
+ <doc>https://django-rest-framework-simplejwt.readthedocs.io/</doc>
+ <remote-id type="github">jazzband/djangorestframework-simplejwt</remote-id>
+ <remote-id type="pypi">djangorestframework-simplejwt</remote-id>
+ </upstream>
+</pkgmetadata>