diff --git a/dev-python/django-template-partials/Manifest b/dev-python/django-template-partials/Manifest new file mode 100644 index 0000000000000..a5bed57f453d8 --- /dev/null +++ b/dev-python/django-template-partials/Manifest @@ -0,0 +1 @@ +DIST django_template_partials-24.4.tar.gz 14538 BLAKE2B 4c10d9cd236ac567515ca65c766d1af10dcd9ee7a0f47ccb8946296a8fda5f4b6f3a68e94f4f27833f862fff6ce4b09cfbe74899b64064cb036c28f21dca882a SHA512 9a9ff27229078b81c392233737585cfb5e6b92676328ae3b7668217894e4572f71b9665dff9c0b03f6d13f7a4fccc50339f1d3324ad8e41eee5d2a49425c8552 diff --git a/dev-python/django-template-partials/django-template-partials-24.4.ebuild b/dev-python/django-template-partials/django-template-partials-24.4.ebuild new file mode 100644 index 0000000000000..67497c952f72e --- /dev/null +++ b/dev-python/django-template-partials/django-template-partials-24.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Reusable named inline partials for the Django Template Language" +HOMEPAGE=" + https://github.com/carltongibson/django-template-partials/ + https://pypi.org/project/django-template-partials/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" -m django test --settings=tests.settings -v 2 || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-template-partials/metadata.xml b/dev-python/django-template-partials/metadata.xml new file mode 100644 index 0000000000000..86610e4c70b0c --- /dev/null +++ b/dev-python/django-template-partials/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + carltongibson/django-template-partials + django-template-partials + +