From e15f08f4040be44897f24d04fc21f4f09b442f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 10 Jan 2026 08:09:33 +0100 Subject: [PATCH] dev-python/django-polymorphic: Bump to 4.9.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.9.0.ebuild | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 6ee4f262d5cda..e9a803856e3a8 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1,2 @@ DIST django-polymorphic-4.8.0.gh.tar.gz 302803 BLAKE2B 6bc050c45cb1a6ae974de7afd883ed716f0299ff44887a9fe990d008035769a794b04ad364d2324fcb364c8938b4389ec17a6bc2a716785e12249edca265695f SHA512 82ebab17c2cad62e58f0c0c3e1efdcea5a6fb4471dd305b59257118f75c1d906502148cade0da26ce6301fb0e110647a68253c7f9a026897b3f37d22a179be76 +DIST django-polymorphic-4.9.0.gh.tar.gz 308462 BLAKE2B 4c932c074d18d44ddcfa492c211ace9748be9e9159b2b2a023a9c1b20c886acc350d74c71dd48636aea06410b153d3c2c574890ca85f89dcc4bf4630f3bb2e53 SHA512 0a3e84d0e110cdc91d7ffc76cddee00ad763060b5ee1bcd523e0f6605e01e7a632a31871ec7d5383e135aede75f466b3f5fd367c765d4d8a9b2ffab2b4839ff9 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild new file mode 100644 index 0000000000000..93c156df8f268 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.9.0.ebuild @@ -0,0 +1,51 @@ +# 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 + src/polymorphic/tests/examples/views/test.py + # require django-test-migrations + src/polymorphic/tests/test_migrations + src/polymorphic/tests/test_serialization.py + ) + + rm -f conftest.py || die + epytest -o addopts= +}