From 73cb9f2e5f749f1bcc5687052dd2a9f7a743dc20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Feb 2026 07:52:43 +0100 Subject: [PATCH] dev-python/django-polymorphic: Bump to 4.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/django-polymorphic/Manifest | 1 + .../django-polymorphic-4.11.0.ebuild | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/django-polymorphic/django-polymorphic-4.11.0.ebuild diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 107221cfad1c0..058a8479576d3 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1,2 @@ DIST django-polymorphic-4.10.5.gh.tar.gz 342175 BLAKE2B 2ef7df67582b7879dcf8ca1ecda1d78317bb2db406f175b0287506a64387aed6f326ab5ceb9d0a254908bef0f755425cfb2a4465e9c6614cbf9325b7d3d2cd24 SHA512 370ab066c722147956e1cf05d307d07ff0b9e821501d21960ebdf723954bf2e7dc35402518b45212cbe5ea03c2756b9619dd7ae6b8c1471453aed8ef762f5c2e +DIST django-polymorphic-4.11.0.gh.tar.gz 352174 BLAKE2B 80e33fdd279b99a02a163e34768d7a396ca5aa1e988c11b259c0a051d0237ae8127ca246ee3e0f5c35395ed5da1e0caf2b2106ed19340207b8d82d66567f24ab SHA512 ecfeb9054d94f699c8fa9050118dc1ec33ae921a3e788117a8ce3d6edf0dbbadb320049e24218fa8041f30b82ff9f32604f345e6ee4b178c0c815160fcd5b1b9 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.11.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.11.0.ebuild new file mode 100644 index 0000000000000..f4f6592fd9616 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.11.0.ebuild @@ -0,0 +1,54 @@ +# 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}] + ) +" + +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= +}