mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/django-polymorphic: Bump to 4.11.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST django-polymorphic-4.11.2.gh.tar.gz 369605 BLAKE2B d064336f299755d516a741d807e223a7515188c73ec83fd8f3b429e52d3544a9667d12a2510d0fd9ef51f60dc0336073e03f0fd89626c2b7880962b00ad6affd SHA512 ef1b527151cabc48f16c10e8d00f8cf04a0c50b7943d7e76dceeb2d74d00d41a51f3fd6880616df55cc403b74aa8eb27c5328293f3d9e1f5343d6e06b34a20f2
|
||||
DIST django-polymorphic-4.11.3.gh.tar.gz 377548 BLAKE2B 1fa13a5c5d0a491d910334ddd70117d9b8c35769e9dac560fa6f8760263a35084a810ff43717a5580c307ca5b495ecaee71a30be1efefabe7e65833050aba69a SHA512 2f86f1da8b02305916046f9d56f0a6404243118c694ff62afd8b52d4b8ada867038a7088ee13e2b0ff43e129ee1811dfea4bf39ed1d42066b126769aac4cb22b
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
# 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/django-commons/django-polymorphic/
|
||||
https://pypi.org/project/django-polymorphic/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/django-commons/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}]
|
||||
>=dev-python/packaging-24.2[${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=
|
||||
}
|
||||
@@ -8,6 +8,6 @@
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">django-polymorphic</remote-id>
|
||||
<remote-id type="github">jazzband/django-polymorphic</remote-id>
|
||||
<remote-id type="github">django-commons/django-polymorphic</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user