commit:     9e10b4b46c5155961c49746d3d27dff037fb80e0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  5 06:15:24 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec  5 06:37:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e10b4b4

dev-python/django-polymorphic: Bump to 4.2.0

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

 dev-python/django-polymorphic/Manifest             |  1 +
 .../django-polymorphic-4.2.0.ebuild                | 47 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/django-polymorphic/Manifest 
b/dev-python/django-polymorphic/Manifest
index 21191fc129a5..9a87b6b6e9c3 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -1 +1,2 @@
 DIST django-polymorphic-4.1.0.gh.tar.gz 104197 BLAKE2B 
b76ee07790fc1b88e3f75460adb43d78505e2acce0298872aff9bbcb00bab67e78b4fed228b50a2228c17f22f8fba7a3bb4918281b2535daf3c2273437037d20
 SHA512 
ef6eab91812d8cd0762648f90b2411ee6d748790e6285e6ea8aea8362c67d9a7433d18726a60b155a1d9f75bf929ed36c447504421d800d04d6e4731e73bb7f1
+DIST django-polymorphic-4.2.0.gh.tar.gz 222029 BLAKE2B 
2a277dd817f24f3282f2bd1a1a302553518d12f217cd026ee95fe5d0f765159499699670f29eda28ff4407ba2e82dae431b9297b8acbd718bc4bd40a0a6f0f23
 SHA512 
b1be07d0527165baea32dd5b0adc03da23c6027c3ed4094e78be7807e3621addef9d4da047a49f223f186b5f60fd3bc1cea1755ad85c8308e44d0681848df445

diff --git a/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild 
b/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild
new file mode 100644
index 000000000000..e2116405c021
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..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
+       )
+
+       rm -f conftest.py || die
+       epytest -o addopts=
+}

Reply via email to