commit: d6c2ca998fad2a8b406c916796158d90dd3aee30
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 04:23:53 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 04:47:44 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c2ca99
dev-python/django-polymorphic: Bump to 4.9.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-polymorphic/Manifest | 1 +
.../django-polymorphic-4.9.1.ebuild | 51 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/django-polymorphic/Manifest
b/dev-python/django-polymorphic/Manifest
index dc76342fcabe..1bcb79153d52 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1,2 +1,3 @@
DIST django-polymorphic-4.10.2.gh.tar.gz 336528 BLAKE2B
a44687d9ec385300f582060ee173dcafc823657ecdad20690279bfb500ad653370a9ce53f8d50dc8c3577e2386febda2774a805d33784366bfbd5ecc449e641c
SHA512
958aa476f5b98df3d92fa26ef447c49ab3ea507f8311d4c31a8206e1bf0797956299525dffb73387ea7503346e08a2cf8effa0df131ecc12b2444ba60f090dad
DIST django-polymorphic-4.9.0.gh.tar.gz 308462 BLAKE2B
4c932c074d18d44ddcfa492c211ace9748be9e9159b2b2a023a9c1b20c886acc350d74c71dd48636aea06410b153d3c2c574890ca85f89dcc4bf4630f3bb2e53
SHA512
0a3e84d0e110cdc91d7ffc76cddee00ad763060b5ee1bcd523e0f6605e01e7a632a31871ec7d5383e135aede75f466b3f5fd367c765d4d8a9b2ffab2b4839ff9
+DIST django-polymorphic-4.9.1.gh.tar.gz 308612 BLAKE2B
c882cf193079df08256f9b2234b110ba69d0563d48d0743171faf2994f2ae4fe2a3428d554b03b629d48d88e0140bcb53c19a9809496e5d65fa4c6987221be3c
SHA512
d0fa5c727d3c0f553686210042c12fc1304048622295f2d48b4962102c3fbce0d041dbf5097a2c019ec502f8a8abb67d761d5812a48bd74ca031bc21dcc7c2f9
diff --git a/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild
b/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild
new file mode 100644
index 000000000000..93c156df8f26
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild
@@ -0,0 +1,51 @@
+# 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
+ src/polymorphic/tests/test_serialization.py
+ )
+
+ rm -f conftest.py || die
+ epytest -o addopts=
+}