dev-python/django-polymorphic: Bump to 4.10.4

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-01-20 03:56:10 +01:00
parent 96da1c22a1
commit e6cc86f3c1
2 changed files with 53 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST django-polymorphic-4.10.3.gh.tar.gz 336534 BLAKE2B bac9ba266486ad8e51eea6eecad8a1fcdf1ac78495af033a8195893e100e2505dc90c4f085fc41f9f922296c791089cc47bb0ff459b2e0986bb997b748350976 SHA512 58ef83c0da3cac1c2ae784c31f07260ad4d2970a5b397bc3f77289b411e76d040f88c6c48c909805523fee49f74b647816599619856ba678e0ec3ff04418c66e
DIST django-polymorphic-4.10.4.gh.tar.gz 337203 BLAKE2B 57ef0c5b63462b3d2f95918a0cecb3af7be7b0ae39e5bbc36e794e9cea24315df07e731b5fbc39bb0cdc0d66f4bbcbaec60358eab6dce7f8d5c7841e66b293f3 SHA512 810269dd8369417864ed496acb5947ee568635fbcf03e2b3846dce3dd3a8d3432bd3b7b4023d287727f5e00baee5595d1df94b0821facb9c5a886a2233d29341
DIST django-polymorphic-4.9.1.gh.tar.gz 308612 BLAKE2B c882cf193079df08256f9b2234b110ba69d0563d48d0743171faf2994f2ae4fe2a3428d554b03b629d48d88e0140bcb53c19a9809496e5d65fa4c6987221be3c SHA512 d0fa5c727d3c0f553686210042c12fc1304048622295f2d48b4962102c3fbce0d041dbf5097a2c019ec502f8a8abb67d761d5812a48bd74ca031bc21dcc7c2f9

View File

@@ -0,0 +1,52 @@
# 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,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_migrations
src/polymorphic/tests/test_serialization.py
)
rm -f conftest.py || die
epytest -o addopts=
}