diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/django-polymorphic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 7032e1b8952a..bde96cac0111 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1,2 @@ DIST django-polymorphic-4.10.4.gh.tar.gz 337203 BLAKE2B 57ef0c5b63462b3d2f95918a0cecb3af7be7b0ae39e5bbc36e794e9cea24315df07e731b5fbc39bb0cdc0d66f4bbcbaec60358eab6dce7f8d5c7841e66b293f3 SHA512 810269dd8369417864ed496acb5947ee568635fbcf03e2b3846dce3dd3a8d3432bd3b7b4023d287727f5e00baee5595d1df94b0821facb9c5a886a2233d29341 +DIST django-polymorphic-4.10.5.gh.tar.gz 342175 BLAKE2B 2ef7df67582b7879dcf8ca1ecda1d78317bb2db406f175b0287506a64387aed6f326ab5ceb9d0a254908bef0f755425cfb2a4465e9c6614cbf9325b7d3d2cd24 SHA512 370ab066c722147956e1cf05d307d07ff0b9e821501d21960ebdf723954bf2e7dc35402518b45212cbe5ea03c2756b9619dd7ae6b8c1471453aed8ef762f5c2e diff --git a/dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild new file mode 100644 index 000000000000..6e4a0a7eec10 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild @@ -0,0 +1,53 @@ +# 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_migration_managers.py + src/polymorphic/tests/test_migrations + src/polymorphic/tests/test_serialization.py + ) + + rm -f conftest.py || die + epytest -o addopts= +} |
