commit:     36ef3c0d0d7bad15dc6cb9bfade9992431cc94d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  8 02:32:04 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar  8 02:32:04 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ef3c0d

dev-python/django-polymorphic: Bump to 4.11.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-polymorphic/Manifest             |  1 +
 .../django-polymorphic-4.11.2.ebuild               | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/django-polymorphic/Manifest 
b/dev-python/django-polymorphic/Manifest
index 39e0d65e4ae9..eab95d66c3e7 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
 DIST django-polymorphic-4.11.1.gh.tar.gz 355460 BLAKE2B 
e846464df9dd5ba0569047322fab9bba97b39ef2dfbaf4d66f16b8769a075c1e8d93b2264ddeb91b72a3e0d8d5d9cbfa84be793dc0d08a28eb6213760f9b3846
 SHA512 
fece52a96323cc504d4f40b7f2914911178bbd215e74128a026dd968164891302eca140d88f4b0e1a48c1df3ab27523e8e015a9e20c08297324b56e4d6132750
+DIST django-polymorphic-4.11.2.gh.tar.gz 369605 BLAKE2B 
d064336f299755d516a741d807e223a7515188c73ec83fd8f3b429e52d3544a9667d12a2510d0fd9ef51f60dc0336073e03f0fd89626c2b7880962b00ad6affd
 SHA512 
ef1b527151cabc48f16c10e8d00f8cf04a0c50b7943d7e76dceeb2d74d00d41a51f3fd6880616df55cc403b74aa8eb27c5328293f3d9e1f5343d6e06b34a20f2

diff --git a/dev-python/django-polymorphic/django-polymorphic-4.11.2.ebuild 
b/dev-python/django-polymorphic/django-polymorphic-4.11.2.ebuild
new file mode 100644
index 000000000000..a5a3137d8b3c
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.11.2.ebuild
@@ -0,0 +1,55 @@
+# 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]
+       >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               $(python_gen_impl_dep sqlite)
+               ${RDEPEND}
+               dev-python/dj-database-url[${PYTHON_USEDEP}]
+               >=dev-python/packaging-24.2[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-{django,mock} )
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # requires playwright
+               src/polymorphic/tests/test_admin.py
+               # some of them require playwright, others break subsequent tests
+               src/polymorphic/tests/examples
+               # require django-test-migrations
+               src/polymorphic/tests/test_migration_managers.py
+               src/polymorphic/tests/test_migrations
+               src/polymorphic/tests/test_serialization.py
+       )
+
+       rm -f conftest.py || die
+       epytest -o addopts=
+}

Reply via email to