summaryrefslogtreecommitdiff
path: root/dev-python/django-polymorphic
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-09 20:01:22 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-01-09 20:01:22 +0000
commit2e53daf1e0021c6061113be936ef57fcdd3c2048 (patch)
tree47b5664b6b0fdac1aa05431f2f3d3bb5b3d7f1c6 /dev-python/django-polymorphic
parenta37a4d621a482875d32fb10b2b640d82223df815 (diff)
downloadbaldeagleos-repo-2e53daf1e0021c6061113be936ef57fcdd3c2048.tar.gz
baldeagleos-repo-2e53daf1e0021c6061113be936ef57fcdd3c2048.tar.xz
baldeagleos-repo-2e53daf1e0021c6061113be936ef57fcdd3c2048.zip
Adding metadata
Diffstat (limited to 'dev-python/django-polymorphic')
-rw-r--r--dev-python/django-polymorphic/Manifest1
-rw-r--r--dev-python/django-polymorphic/django-polymorphic-4.8.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest
index 0ac2fdeef985..391213d6d040 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
DIST django-polymorphic-4.6.0.gh.tar.gz 291035 BLAKE2B c1f57b359d9625746c0843fb4605aef1413ea2804aa1f13e9f944b59cc17d5818948b3999805590d4b596374753d900b7d0a64b343f36695174a608c938064b0 SHA512 b22d409cc21dfc59f46c237d7e82e4f263078158cc2d19c078663820be0c16cccddab30809df1b80b05840b604b47ad7ca066df1a55d26d27eb93f7767f3796c
+DIST django-polymorphic-4.8.0.gh.tar.gz 302803 BLAKE2B 6bc050c45cb1a6ae974de7afd883ed716f0299ff44887a9fe990d008035769a794b04ad364d2324fcb364c8938b4389ec17a6bc2a716785e12249edca265695f SHA512 82ebab17c2cad62e58f0c0c3e1efdcea5a6fb4471dd305b59257118f75c1d906502148cade0da26ce6301fb0e110647a68253c7f9a026897b3f37d22a179be76
diff --git a/dev-python/django-polymorphic/django-polymorphic-4.8.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.8.0.ebuild
new file mode 100644
index 000000000000..961d8e79a84b
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Seamless Polymorphic Inheritance for Django Models"
+HOMEPAGE="
+ https://github.com/jazzband/django-polymorphic/
+ https://pypi.org/project/django-polymorphic/
+"
+SRC_URI="
+ https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ >=dev-python/django-4.2[$PYTHON_USEDEP]
+"
+BDEPEND="
+ test? (
+ $(python_gen_impl_dep sqlite)
+ ${RDEPEND}
+ dev-python/dj-database-url[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-django )
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # requires playwright
+ src/polymorphic/tests/test_admin.py
+ src/polymorphic/tests/examples/views/test.py
+ # require django-test-migrations
+ src/polymorphic/tests/test_migrations
+ )
+
+ rm -f conftest.py || die
+ epytest -o addopts=
+}