summaryrefslogtreecommitdiff
path: root/dev-python/djangorestframework
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-09 03:04:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-09 03:04:49 -0500
commit92f6d12bf21434879bac739a9c4c7d9924ce3bad (patch)
tree9a92a97abce6dfa06d4b8bbf4be3083e1bc36207 /dev-python/djangorestframework
parent09db256d16c907238beb9d50761d320ac661c08e (diff)
downloadbaldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.tar.gz
baldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.tar.xz
baldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.zip
Adding metadata
Diffstat (limited to 'dev-python/djangorestframework')
-rw-r--r--dev-python/djangorestframework/Manifest1
-rw-r--r--dev-python/djangorestframework/djangorestframework-3.17.1.ebuild1
-rw-r--r--dev-python/djangorestframework/djangorestframework-3.17.2.ebuild1
-rw-r--r--dev-python/djangorestframework/djangorestframework-3.18.0.ebuild47
4 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest
index a93e37768ad5..07b1fb04bd28 100644
--- a/dev-python/djangorestframework/Manifest
+++ b/dev-python/djangorestframework/Manifest
@@ -1,2 +1,3 @@
DIST django-rest-framework-3.17.1.gh.tar.gz 10390200 BLAKE2B cea31a42eee7ac19c52fc82891ccb4fdc7a4d1e4cbf218215846f101ae3422e31c12118c7e09727292a756bf60c93b1cd6c8b924b3c18c0c7d4e3873a098f7f0 SHA512 e7fb441b2da25feb3236bf9bbb027d6d22675cde34c7a68b6de488cc7356c84472bdc9f2004ae4b255c8d31bbe92cfb998bf23ba1d847782240c23047f369725
DIST django-rest-framework-3.17.2.gh.tar.gz 10390496 BLAKE2B dbc29979fd1f200db3e393a1b9bb89b1d2e1bda6a58286525fc962bed7128aa26b232c2b4d2aa7103e6c9855fd5485d72280891f8b1e73ae25658fa2d82145cc SHA512 0aa8afe8414228624c04e458d62d08947023b8c58acb8e136fcefbb0abce7d6bb4d7ffc1c425308ae980fb510d1f7822ff1325a2a4e47d25026fc6b98b3666bb
+DIST django-rest-framework-3.18.0.gh.tar.gz 10403261 BLAKE2B bb32651f3d367dad6d9f5535e53a041bc9b8d74bb8754f18b4997015411cb7345202949e423499957863e50cc520234338593d07093800e574906bc3ac0be71b SHA512 2fbf868ee29a63fd03a4a05eb9c70066448f22bc45becabefda83a6aabe1cea77eb7d8e5d46967cf2ef456aa9108b8f36092d59f4ea89bd4ef5c62eb3695d4de
diff --git a/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild
index 763a741e1da3..67df4c3991b6 100644
--- a/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild
+++ b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild
@@ -26,6 +26,7 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
RDEPEND="
+ <dev-python/django-6.1[${PYTHON_USEDEP}]
>=dev-python/django-4.2[${PYTHON_USEDEP}]
"
BDEPEND="
diff --git a/dev-python/djangorestframework/djangorestframework-3.17.2.ebuild b/dev-python/djangorestframework/djangorestframework-3.17.2.ebuild
index 1f6ace69c313..878a992154f3 100644
--- a/dev-python/djangorestframework/djangorestframework-3.17.2.ebuild
+++ b/dev-python/djangorestframework/djangorestframework-3.17.2.ebuild
@@ -26,6 +26,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
RDEPEND="
+ <dev-python/django-6.1[${PYTHON_USEDEP}]
>=dev-python/django-4.2[${PYTHON_USEDEP}]
"
BDEPEND="
diff --git a/dev-python/djangorestframework/djangorestframework-3.18.0.ebuild b/dev-python/djangorestframework/djangorestframework-3.18.0.ebuild
new file mode 100644
index 000000000000..ce17fa911cb7
--- /dev/null
+++ b/dev-python/djangorestframework/djangorestframework-3.18.0.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
+)