mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/django-polymorphic: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST django-polymorphic-4.10.2.gh.tar.gz 336528 BLAKE2B a44687d9ec385300f582060ee173dcafc823657ecdad20690279bfb500ad653370a9ce53f8d50dc8c3577e2386febda2774a805d33784366bfbd5ecc449e641c SHA512 958aa476f5b98df3d92fa26ef447c49ab3ea507f8311d4c31a8206e1bf0797956299525dffb73387ea7503346e08a2cf8effa0df131ecc12b2444ba60f090dad
|
||||
DIST django-polymorphic-4.10.3.gh.tar.gz 336534 BLAKE2B bac9ba266486ad8e51eea6eecad8a1fcdf1ac78495af033a8195893e100e2505dc90c4f085fc41f9f922296c791089cc47bb0ff459b2e0986bb997b748350976 SHA512 58ef83c0da3cac1c2ae784c31f07260ad4d2970a5b397bc3f77289b411e76d040f88c6c48c909805523fee49f74b647816599619856ba678e0ec3ff04418c66e
|
||||
DIST django-polymorphic-4.9.0.gh.tar.gz 308462 BLAKE2B 4c932c074d18d44ddcfa492c211ace9748be9e9159b2b2a023a9c1b20c886acc350d74c71dd48636aea06410b153d3c2c574890ca85f89dcc4bf4630f3bb2e53 SHA512 0a3e84d0e110cdc91d7ffc76cddee00ad763060b5ee1bcd523e0f6605e01e7a632a31871ec7d5383e135aede75f466b3f5fd367c765d4d8a9b2ffab2b4839ff9
|
||||
DIST django-polymorphic-4.9.1.gh.tar.gz 308612 BLAKE2B c882cf193079df08256f9b2234b110ba69d0563d48d0743171faf2994f2ae4fe2a3428d554b03b629d48d88e0140bcb53c19a9809496e5d65fa4c6987221be3c SHA512 d0fa5c727d3c0f553686210042c12fc1304048622295f2d48b4962102c3fbce0d041dbf5097a2c019ec502f8a8abb67d761d5812a48bd74ca031bc21dcc7c2f9
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# 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
|
||||
src/polymorphic/tests/examples/views/test.py
|
||||
src/polymorphic/tests/examples/integrations/extra_views/test.py
|
||||
src/polymorphic/tests/examples/integrations/reversion/test.py
|
||||
# require django-test-migrations
|
||||
src/polymorphic/tests/test_migrations
|
||||
src/polymorphic/tests/test_serialization.py
|
||||
)
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO: no clue what's wrong with this, can't repro in venv
|
||||
src/polymorphic/tests/test_orm.py::PolymorphicTests::test_base_manager
|
||||
src/polymorphic/tests/test_orm.py::PolymorphicTests::test_default_manager
|
||||
)
|
||||
|
||||
rm -f conftest.py || die
|
||||
epytest -o addopts=
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# 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=
|
||||
}
|
||||
Reference in New Issue
Block a user