commit: ef0be23fa04ace7dc5f2db6ae096633181e59def Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Mar 29 05:33:15 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Mar 29 05:33:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0be23f
dev-python/djangorestframework: Bump to 3.16.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/djangorestframework/Manifest | 1 + .../djangorestframework-3.16.0.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index de29aefe1b97..054bdfadd5fe 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1 +1,2 @@ DIST django-rest-framework-3.15.2.gh.tar.gz 9290406 BLAKE2B 588aebbdd89f749bacd4244707f6b4b0e2a6aef0759973e5451ebcc4acb4d2e1c2d9773ab576e33442f5123ce860cae087622a26d1d208edc70df04057c4d401 SHA512 a24322fb09398ee1608900ae623d8ba44c3cb066fc7921e38f847a93513d3ca549d933da6cfc045a556edfe50dae3431b6782d0241a9f53ac3dbc0caf48fa520 +DIST django-rest-framework-3.16.0.gh.tar.gz 9802743 BLAKE2B 22527415f7181f9657ded599726b90f705c9123b0b530090a10e6cf810ccb16978ba5b4c0ad7f125b457c3eeb0db8a7d9633ddfdff26caef8fe556a9271350bd SHA512 60df1226a18f833c3f79f103cc13df06d72438862272e59d875bddbbefb7bc737b13ca92458c3e0a624f18f9ab5ecd2f035bcc515416a5aaf5b5b680d973fb77 diff --git a/dev-python/djangorestframework/djangorestframework-3.16.0.ebuild b/dev-python/djangorestframework/djangorestframework-3.16.0.ebuild new file mode 100644 index 000000000000..7a3c613d9692 --- /dev/null +++ b/dev-python/djangorestframework/djangorestframework-3.16.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# py3.13: https://github.com/encode/django-rest-framework/discussions/9445 +PYTHON_COMPAT=( python3_{10..12} ) + +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}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/inflection[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +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 +)
