summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-25 04:33:01 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-25 04:33:01 +0100
commitff70c4b2f61aa19571f2227ccb95bc249ef32c54 (patch)
tree413ab409537034104537d63519700b813b9d8aa0 /dev-python
parent9fa967d6f473e60bc90b7bdcb033ac4b862ad756 (diff)
downloadgentoo-ff70c4b2f61aa19571f2227ccb95bc249ef32c54.tar.gz
gentoo-ff70c4b2f61aa19571f2227ccb95bc249ef32c54.tar.bz2
gentoo-ff70c4b2f61aa19571f2227ccb95bc249ef32c54.zip
dev-python/django-polymorphic: Bump to 4.5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-polymorphic/Manifest1
-rw-r--r--dev-python/django-polymorphic/django-polymorphic-4.5.1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest
index 5369527e141f..39d7828250f2 100644
--- a/dev-python/django-polymorphic/Manifest
+++ b/dev-python/django-polymorphic/Manifest
@@ -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
diff --git a/dev-python/django-polymorphic/django-polymorphic-4.5.1.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.5.1.ebuild
new file mode 100644
index 000000000000..3ba157347247
--- /dev/null
+++ b/dev-python/django-polymorphic/django-polymorphic-4.5.1.ebuild
@@ -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=
+}