dev-python/django-polymorphic: Bump to 4.9.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-01-10 08:09:33 +01:00
parent 1ae63f3a12
commit e15f08f404
2 changed files with 52 additions and 0 deletions

View File

@@ -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

View File

@@ -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=
}