commit:     251aef4862ae5c15d4167704f6f56a185e97c9b0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  5 19:59:52 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  5 21:11:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251aef48

dev-python/django-polymorphic: add 4.6.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/django-polymorphic/Manifest             |  1 +
 .../django-polymorphic-4.6.0.ebuild                | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/django-polymorphic/Manifest 
b/dev-python/django-polymorphic/Manifest
index 27980fbaff98..cc98d1e66632 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1,2 +1,3 @@
 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
+DIST django-polymorphic-4.6.0.gh.tar.gz 291035 BLAKE2B 
c1f57b359d9625746c0843fb4605aef1413ea2804aa1f13e9f944b59cc17d5818948b3999805590d4b596374753d900b7d0a64b343f36695174a608c938064b0
 SHA512 
b22d409cc21dfc59f46c237d7e82e4f263078158cc2d19c078663820be0c16cccddab30809df1b80b05840b604b47ad7ca066df1a55d26d27eb93f7767f3796c

diff --git a/dev-python/django-polymorphic/django-polymorphic-4.6.0.ebuild 
b/dev-python/django-polymorphic/django-polymorphic-4.6.0.ebuild
new file mode 100644
index 000000000000..3a1c5406e643
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.6.0.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=
+}

Reply via email to