commit: e25de90adf87490bce3cad031a41946dd84b81c1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 2 03:58:48 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 2 04:10:03 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25de90a
dev-python/django-polymorphic: Bump to 4.5.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-polymorphic/Manifest | 1 +
.../django-polymorphic-4.5.2.ebuild | 49 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/django-polymorphic/Manifest
b/dev-python/django-polymorphic/Manifest
index cc68246f91e1..27980fbaff98 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
DIST django-polymorphic-4.5.1.gh.tar.gz 270219 BLAKE2B
fc71748a856e52f51859c5adfefd5b8110760894dbf8e525935e625b022bf317f74698b6b94d426da6b8aefc3aa22e59c310e7306ed812b0c22afc7b5243554f
SHA512
2389b9a42aa97b88da2e0b871aceaa8c0f26ea98caacf144b796a3773a4047b9ed5deacc9c388f40b79eff116c70a8f71dac99013e58d2ee39c6ffd4d9e575aa
+DIST django-polymorphic-4.5.2.gh.tar.gz 270505 BLAKE2B
2accdbee3c04f6139ede0d7b8f85f98d0166e224f80087e9402a0c882ea908b096ba7efc68c00fe20a4f122001173f42dc9f85e4214281bf876c5ebbec1d7683
SHA512
28b6eb468c9cee309a1ca83b16a0b31f283e21b5fd5276dcce011da7df2ee13f6fca71b65162f479780cda53f0e46540dc62f92e2c4da0db440f53ce957deff2
diff --git a/dev-python/django-polymorphic/django-polymorphic-4.5.2.ebuild
b/dev-python/django-polymorphic/django-polymorphic-4.5.2.ebuild
new file mode 100644
index 000000000000..3a1c5406e643
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.5.2.ebuild
@@ -0,0 +1,49 @@
+# 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
+ # require django-test-migrations
+ src/polymorphic/tests/test_migrations
+ )
+
+ rm -f conftest.py || die
+ epytest -o addopts=
+}