diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/django-configurations | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django-configurations')
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/django-configurations/Manifest b/dev-python/django-configurations/Manifest new file mode 100644 index 000000000000..18ca1796f913 --- /dev/null +++ b/dev-python/django-configurations/Manifest @@ -0,0 +1 @@ +DIST django-configurations-2.5.1.tar.gz 43225 BLAKE2B 1b9cd14ea50d03500cc05790e831832f6e4e3a917903eb48aa40c2d2dd46a59684ce82b484229fd912a18bcdef4d1887989489b4ab461740f981a87c3a7914f5 SHA512 5584446a1b48a0c080401b377786864a905a28337e2912c71ba586ad438df6efeb74c2de1058b77d79f3ba7db85dd443f05dc81013576d301a43bad6736e72e2 diff --git a/dev-python/django-configurations/django-configurations-2.5.1.ebuild b/dev-python/django-configurations/django-configurations-2.5.1.ebuild new file mode 100644 index 000000000000..4db7a6cab749 --- /dev/null +++ b/dev-python/django-configurations/django-configurations-2.5.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A helper for organizing Django settings" +HOMEPAGE=" + https://pypi.org/project/django-configurations/ + https://github.com/jazzband/django-configurations/ + https://django-configurations.readthedocs.io/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/django-cache-url[${PYTHON_USEDEP}] + dev-python/dj-database-url[${PYTHON_USEDEP}] + dev-python/dj-email-url[${PYTHON_USEDEP}] + dev-python/dj-search-url[${PYTHON_USEDEP}] + ) +" + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +PATCHES=( + # Update for dj-database-url == 2.2.0 + # https://github.com/jazzband/django-configurations/issues/387 + "${FILESDIR}/${P}-test.patch" +) + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.settings.main + local -x DJANGO_CONFIGURATION=Test + PYTHONPATH=. django-cadmin test -v2 || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-configurations/files/django-configurations-2.5.1-test.patch b/dev-python/django-configurations/files/django-configurations-2.5.1-test.patch new file mode 100644 index 000000000000..c32586f7c3e8 --- /dev/null +++ b/dev-python/django-configurations/files/django-configurations-2.5.1-test.patch @@ -0,0 +1,12 @@ +diff --git a/tests/test_values.py b/tests/test_values.py +index 55478e6..0b37907 100644 +--- a/tests/test_values.py ++++ b/tests/test_values.py +@@ -377,6 +377,7 @@ class ValueTests(TestCase): + 'default': { + 'CONN_HEALTH_CHECKS': False, + 'CONN_MAX_AGE': 0, ++ 'DISABLE_SERVER_SIDE_CURSORS': False, + 'ENGINE': 'django.db.backends.sqlite3', + 'HOST': '', + 'NAME': ':memory:', diff --git a/dev-python/django-configurations/metadata.xml b/dev-python/django-configurations/metadata.xml new file mode 100644 index 000000000000..d34971a915e9 --- /dev/null +++ b/dev-python/django-configurations/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
