diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
| commit | ed2e0f29bf24219e96271574d9c99c971dff3698 (patch) | |
| tree | aa4cdcbf1a9384d5495104e034018b2d6fadcaac /dev-python/django-polymorphic | |
| parent | a96a971c845e2cd3ffad3b8f63558c6408897f0a (diff) | |
| download | baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.gz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.xz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django-polymorphic')
| -rw-r--r-- | dev-python/django-polymorphic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-polymorphic/django-polymorphic-4.11.6.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 3ec6a971a632..46a63711e0cd 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1 +1,2 @@ DIST django-polymorphic-4.11.5.gh.tar.gz 405422 BLAKE2B 39d7b5b1f3d905b41a70c9fb0ee58913eeec7082b89ae4a895f201196cbec07d43d3b3a3889ccbf10e1fb73ed37c34942ec050c6c168aa7fd2793bf0bc4c5afa SHA512 17426c4dd859892335612961f7d672264142b7e1ac89c087f4c19abf4a1df603b36843ed8879f7b5aa4f9ed803f8490c31d76968769171b597dcb15270c1e5a2 +DIST django-polymorphic-4.11.6.gh.tar.gz 410488 BLAKE2B ea1b049a2bd2d44287accdbfb76aabf3faee737c2cfaf8ceeabe9ff79639a552dc9a40913101ab2fafdf5e59dab831e1d32ef53eb4463ab8966b986fbc60573b SHA512 daf19896f7a78ba01c4d2f8a6220657b4dc4a24ab185e28df41aabd9d7af7b6eb63fb0519ef3f4b369665c5b9503b6bd037d6fa188904b035074f4635c21a509 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.11.6.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.11.6.ebuild new file mode 100644 index 000000000000..3395c394f2ff --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.11.6.ebuild @@ -0,0 +1,59 @@ +# 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_{13..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 + ) + local EPYTEST_DESELECT=( + # require django-extra-views + src/polymorphic/tests/test_missing_coverage.py::TestPolymorphicFormSetMixin + ) + + rm -f conftest.py || die + epytest -o addopts= +} |
