dev-python/django-template-partials: New package, 24.4

New package required for testing dev-python/django-debug-toolbar.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-30 06:53:45 +02:00
parent 9e8f27e710
commit 89cb4996fc
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST django_template_partials-24.4.tar.gz 14538 BLAKE2B 4c10d9cd236ac567515ca65c766d1af10dcd9ee7a0f47ccb8946296a8fda5f4b6f3a68e94f4f27833f862fff6ce4b09cfbe74899b64064cb036c28f21dca882a SHA512 9a9ff27229078b81c392233737585cfb5e6b92676328ae3b7668217894e4572f71b9665dff9c0b03f6d13f7a4fccc50339f1d3324ad8e41eee5d2a49425c8552

View File

@@ -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}"
}

View File

@@ -0,0 +1,12 @@
<?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>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">carltongibson/django-template-partials</remote-id>
<remote-id type="pypi">django-template-partials</remote-id>
</upstream>
</pkgmetadata>