diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/django-polymorphic | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/django-polymorphic')
4 files changed, 129 insertions, 0 deletions
diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest new file mode 100644 index 000000000000..643c6f1b385a --- /dev/null +++ b/dev-python/django-polymorphic/Manifest @@ -0,0 +1,2 @@ +DIST django-polymorphic-4.11.4.gh.tar.gz 387155 BLAKE2B c2ade27a061c33d58f966cdddd998e2d6660d060c1458ed3c538d9bcdbf0c25dce7bc6b91239cbd618674912845766d9762768dc2ebc21922c862836723abe9b SHA512 08bd57ce75273a796f1519cb1a0f38fb19207666303782a6c3dfa1c7e5ebbe848c85eac946160870a156b34aabab6af6d6ebb4bcf068f63a147c435a3af71244 +DIST django-polymorphic-4.11.5.gh.tar.gz 405422 BLAKE2B 39d7b5b1f3d905b41a70c9fb0ee58913eeec7082b89ae4a895f201196cbec07d43d3b3a3889ccbf10e1fb73ed37c34942ec050c6c168aa7fd2793bf0bc4c5afa SHA512 17426c4dd859892335612961f7d672264142b7e1ac89c087f4c19abf4a1df603b36843ed8879f7b5aa4f9ed803f8490c31d76968769171b597dcb15270c1e5a2 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.11.4.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.11.4.ebuild new file mode 100644 index 000000000000..fee978bdb834 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.11.4.ebuild @@ -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_{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 + ) + + rm -f conftest.py || die + epytest -o addopts= +} diff --git a/dev-python/django-polymorphic/django-polymorphic-4.11.5.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.11.5.ebuild new file mode 100644 index 000000000000..3395c394f2ff --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-4.11.5.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= +} diff --git a/dev-python/django-polymorphic/metadata.xml b/dev-python/django-polymorphic/metadata.xml new file mode 100644 index 000000000000..13e49201a23d --- /dev/null +++ b/dev-python/django-polymorphic/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">django-polymorphic</remote-id> + <remote-id type="github">django-commons/django-polymorphic</remote-id> + </upstream> +</pkgmetadata> |
