commit: 11c880648547ebe53a5f01e8742aa5a41d86801e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 9 07:10:29 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 9 07:30:01 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c88064
dev-python/django-polymorphic: Bump to 4.8.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-polymorphic/Manifest | 1 +
.../django-polymorphic-4.8.0.ebuild | 50 ++++++++++++++++++++++
2 files changed, 51 insertions(+)
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..80348349c7b7
--- /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_{12..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=
+}