dev-python/django-polymorphic: Bump to 4.5.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-12-25 04:33:01 +01:00
parent 9fa967d6f4
commit ff70c4b2f6
2 changed files with 50 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST django-polymorphic-4.4.1.gh.tar.gz 248727 BLAKE2B f5889df6236cb6a5b0ac886d63f3fb74a424c5c2bff7fd0fbbd8de52da8b5daf3eaaf4ba154a27c08bb7ff45e0f9c7f4604c7c9a560670e980ba75bcb0dd8158 SHA512 af6eb785723d18eed47cbc5414d444c4c81d88b4bc55078183ffb8fddf4c4856efe4097c05e9a1178afd983310664fc46f1dcd36d9686e7848ac6ca2a40b99f2
DIST django-polymorphic-4.5.0.gh.tar.gz 267428 BLAKE2B c0148b7392eaf180106a6c113a3aa1971c95e98f887aeafb8e4ba1f96187fcf2355a55a18b02f1611637156cb78ff36b67643fd8c8d6cabb7b1fabceeca98e35 SHA512 30548012d02c12626263fd648b385e03ee4bb16bb246ff6a1b33f26291899439b48bd579576fda761dbde7ef6d1aa22f346ef17b677fcd3b52c746d6f002a8de
DIST django-polymorphic-4.5.1.gh.tar.gz 270219 BLAKE2B fc71748a856e52f51859c5adfefd5b8110760894dbf8e525935e625b022bf317f74698b6b94d426da6b8aefc3aa22e59c310e7306ed812b0c22afc7b5243554f SHA512 2389b9a42aa97b88da2e0b871aceaa8c0f26ea98caacf144b796a3773a4047b9ed5deacc9c388f40b79eff116c70a8f71dac99013e58d2ee39c6ffd4d9e575aa

View File

@@ -0,0 +1,49 @@
# 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_{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
# require django-test-migrations
src/polymorphic/tests/test_migrations
)
rm -f conftest.py || die
epytest -o addopts=
}