commit:     89cb4996fc3b69b780c26550c970d2f5d09f99c7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 04:53:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 05:35:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cb4996

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 <AT> gentoo.org>

 dev-python/django-template-partials/Manifest       |  1 +
 .../django-template-partials-24.4.ebuild           | 35 ++++++++++++++++++++++
 dev-python/django-template-partials/metadata.xml   | 12 ++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/django-template-partials/Manifest 
b/dev-python/django-template-partials/Manifest
new file mode 100644
index 000000000000..a5bed57f453d
--- /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 000000000000..67497c952f72
--- /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 000000000000..86610e4c70b0
--- /dev/null
+++ b/dev-python/django-template-partials/metadata.xml
@@ -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>[email protected]</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>

Reply via email to