summaryrefslogtreecommitdiff
path: root/dev-python/djangorestframework
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-07 03:05:00 -0500
committerCrucible <crucible@localhost>2026-10-07 03:05:00 -0500
commit4f8f07779b4dd78123821b104e43fd1eb15281dd (patch)
tree50283d655e8953ffa4cd36a42b39f72f09fed20b /dev-python/djangorestframework
parent21cec7ace42ae94a3a1b32ecec396a199eebf3c9 (diff)
downloadsrcux-4f8f07779b4dd78123821b104e43fd1eb15281dd.tar.gz
srcux-4f8f07779b4dd78123821b104e43fd1eb15281dd.tar.xz
srcux-4f8f07779b4dd78123821b104e43fd1eb15281dd.zip
Publish srcux candidate 0000000583-20261007-030305
Diffstat (limited to 'dev-python/djangorestframework')
-rw-r--r--dev-python/djangorestframework/Manifest1
-rw-r--r--dev-python/djangorestframework/djangorestframework-3.18.3.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest
index 59d56a27d453..6e7cbabec92f 100644
--- a/dev-python/djangorestframework/Manifest
+++ b/dev-python/djangorestframework/Manifest
@@ -1,2 +1,3 @@
DIST django-rest-framework-3.18.0.gh.tar.gz 10403261 BLAKE2B bb32651f3d367dad6d9f5535e53a041bc9b8d74bb8754f18b4997015411cb7345202949e423499957863e50cc520234338593d07093800e574906bc3ac0be71b SHA512 2fbf868ee29a63fd03a4a05eb9c70066448f22bc45becabefda83a6aabe1cea77eb7d8e5d46967cf2ef456aa9108b8f36092d59f4ea89bd4ef5c62eb3695d4de
DIST django-rest-framework-3.18.1.gh.tar.gz 10408060 BLAKE2B 2aa5494985ff3c9d3b77a8e979ddee153fd37b8ff525a24157477faf52ff9619d167f7445f52f4484ccdb8cc6c872d7321a262438d608c5c1780b1a3bc9dd336 SHA512 baf9288e1eb23ebd709201dd3d8e44b592a2cbf4317a4149936775b1ec5df73a3702f980ae22f4257aebb10833492ce14e78b8d030d4f65a8030346791c7f617
+DIST django-rest-framework-3.18.3.gh.tar.gz 10417303 BLAKE2B 512fe10c6364b180bde166b35aff985ba2a245ca67983bea9fe0f1f2d99a883d58198c125f9053024ff1766523ead3e9dfe37af3a97a55f1e29f380d57459b2a SHA512 878c0b47f62ac1a33cc32c0304904e90ed1a09afb2d5cec1b53c740e9e3be0b8b3a777017d762c5311e79464c300bf49ae91c110502ad273d9b57666b0040b8b
diff --git a/dev-python/djangorestframework/djangorestframework-3.18.3.ebuild b/dev-python/djangorestframework/djangorestframework-3.18.3.ebuild
new file mode 100644
index 000000000000..ce17fa911cb7
--- /dev/null
+++ b/dev-python/djangorestframework/djangorestframework-3.18.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+MY_P=django-rest-framework-${PV}
+DESCRIPTION="Web APIs with django made easy"
+HOMEPAGE="
+ https://www.django-rest-framework.org/
+ https://github.com/encode/django-rest-framework/
+ https://pypi.org/project/djangorestframework/
+"
+SRC_URI="
+ https://github.com/encode/django-rest-framework/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/django-5.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/dj-database-url[${PYTHON_USEDEP}]
+ dev-python/inflection[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-django )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # upstream is removing pytz, apparently it's not tested anymore
+ # https://github.com/encode/django-rest-framework/discussions/9342
+ tests/test_fields.py::TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField::test_invalid_inputs
+)