summaryrefslogtreecommitdiff
path: root/dev-python/djangorestframework
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-25 19:17:47 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-03-25 19:17:47 +0000
commita6c077a14ab69684019380246b01943bdbe4d7a1 (patch)
tree337a02c526cb76a9462cf0e31ba52fc7aa725d36 /dev-python/djangorestframework
parent9463004333272cee4a8781c51c51e53f1b5dafcb (diff)
downloadbaldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.tar.gz
baldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.tar.xz
baldeagleos-repo-a6c077a14ab69684019380246b01943bdbe4d7a1.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.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest
index 44a4eb4054c3..f5460ca6c4a2 100644
--- a/dev-python/djangorestframework/Manifest
+++ b/dev-python/djangorestframework/Manifest
@@ -1,2 +1,3 @@
DIST django-rest-framework-3.16.1.gh.tar.gz 10312042 BLAKE2B 291643a06937c938e137d6329ad283924d64542a631ba7c0e2143983d9a3e589a85abff5e02b0937f1eb63de5c8a1c38f6eba4a0b26a5c36de29bb53eb0d4614 SHA512 e1073463b8e5119cc99434cf8d6ea095ed7045f34f5da8430d14c4dc31c560688e6a9c99d7a40b36450d27c8582593cb0875cc2ebd5df6cac2b25c1ba012e696
DIST django-rest-framework-3.17.0.gh.tar.gz 10390053 BLAKE2B 4f9c5c570d5ead132e438b513d3b62c0a899053612e527ad9a719d642231e88ead306fde1c70f594fb6edf2ff276311010a19ceb691d022843c7bc59a2fd6cdd SHA512 ed7d438c7facf44bd559b3dd8af8d68ac636721be028a6b84b627a1d99f43c0d1fb50f2849ce5a42efadff47fc76758be7d372fd4190c6e2ffa5af97b8cbb44c
+DIST django-rest-framework-3.17.1.gh.tar.gz 10390200 BLAKE2B cea31a42eee7ac19c52fc82891ccb4fdc7a4d1e4cbf218215846f101ae3422e31c12118c7e09727292a756bf60c93b1cd6c8b924b3c18c0c7d4e3873a098f7f0 SHA512 e7fb441b2da25feb3236bf9bbb027d6d22675cde34c7a68b6de488cc7356c84472bdc9f2004ae4b255c8d31bbe92cfb998bf23ba1d847782240c23047f369725
diff --git a/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild
new file mode 100644
index 000000000000..a84366045378
--- /dev/null
+++ b/dev-python/djangorestframework/djangorestframework-3.17.1.ebuild
@@ -0,0 +1,46 @@
+# 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_{10..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 ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/django-4.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ 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
+)