commit:     b4ef8e19b13ab0022f4c48e15641cef0cd2641c8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 06:43:11 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 07:14:21 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ef8e19

dev-python/django-polymorphic: Bump to 4.10.2

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

 dev-python/django-polymorphic/Manifest             |  1 +
 .../django-polymorphic-4.10.2.ebuild               | 58 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/django-polymorphic/Manifest 
b/dev-python/django-polymorphic/Manifest
index 2f3073167652..dc76342fcabe 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
+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

diff --git a/dev-python/django-polymorphic/django-polymorphic-4.10.2.ebuild 
b/dev-python/django-polymorphic/django-polymorphic-4.10.2.ebuild
new file mode 100644
index 000000000000..2dcc88b83fca
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.10.2.ebuild
@@ -0,0 +1,58 @@
+# 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,mock} )
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # requires playwright
+               src/polymorphic/tests/test_admin.py
+               src/polymorphic/tests/examples/views/test.py
+               src/polymorphic/tests/examples/integrations/extra_views/test.py
+               src/polymorphic/tests/examples/integrations/reversion/test.py
+               # require django-test-migrations
+               src/polymorphic/tests/test_migrations
+               src/polymorphic/tests/test_serialization.py
+       )
+       local EPYTEST_DESELECT=(
+               # TODO: no clue what's wrong with this, can't repro in venv
+               
src/polymorphic/tests/test_orm.py::PolymorphicTests::test_base_manager
+               
src/polymorphic/tests/test_orm.py::PolymorphicTests::test_default_manager
+       )
+
+       rm -f conftest.py || die
+       epytest -o addopts=
+}

Reply via email to