summaryrefslogtreecommitdiff
path: root/dev-python/pypugjs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
commitf8999218b5a6eafa151e7367030cbfdb69e045ed (patch)
tree0d0e9293bcb75153cd18542369fa789ede9338a0 /dev-python/pypugjs
parentaa4954f71a3ba2293395a8cce2321a70c39c7554 (diff)
gentoo auto-resync : 25:05:2024 - 00:07:14
Diffstat (limited to 'dev-python/pypugjs')
-rw-r--r--dev-python/pypugjs/Manifest2
-rw-r--r--dev-python/pypugjs/pypugjs-5.11.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest
index 8f439695efc4..5ae1a7f663f7 100644
--- a/dev-python/pypugjs/Manifest
+++ b/dev-python/pypugjs/Manifest
@@ -1,4 +1,6 @@
+DIST pypugjs-5.11.0.gh.tar.gz 57259 BLAKE2B 666b37a68f9faa7131424aba895fd6ffd893a92b1d565f343c25cc126bf37f2b1794eb0c32c3475533ade810b2d9d09a4299ec8bac5da63b1303d60900226507 SHA512 208946c6709398b21ab5728f290b814330db647200c1f649bceb6b5596c5bac710dedeed4dad56330b4c97236b6793251575fb2638b7bf63bf32239114758033
DIST pypugjs-5.9.12-nose.patch.xz 12616 BLAKE2B 0cb8e8cce8af20c301e5781bca466c26f0ef97365fb67c0c46b241c0c110010a6dbf0bcc63dc7e8e886a875d2827b4fd3abd080f69022d9247d8c71c8ee80e07 SHA512 c575600273069f0395ceb55abc7dac3bf0889c8b17c89b5bf5562aa919d8818464c27eee6d7518c796b37bdbd3d265ac8301e845f024122c3cab87b0ccfaf617
DIST pypugjs-5.9.12.gh.tar.gz 51164 BLAKE2B 32b7bbc2bde966ea53c6f52a77482f4f6ca1e0cb09948c1c9850cdd66e4449ecc60e2f6b812f57a7ade5bc323c48be5d105d63ab6680d5e2197cd203fce40d85 SHA512 c6e4bd3bb27d321e3721504e7c01f97d869eb2e29e3ac8f086aa696ca29436978ceaa420ef8ac9b5addd859f7764817b1f159e0f41784a3fdb9cd3a0620eb7dd
+EBUILD pypugjs-5.11.0.ebuild 1338 BLAKE2B 3dbb1a3832483bfb25671916260d3a129a5ed574a87b5d5e7d317b1b93d0d749f6bafb212b14dee8f8f10a0b9d43948018a232660f9bb25c0f22d255bd73047f SHA512 e4b52d76750a30b2a03b6875ac0ae9622007b7d0f37ad27d230ab8774c70b68c8e090b647a8bcbeff9dca7fad22d03089034299f81e377b3dc916e8605222058
EBUILD pypugjs-5.9.12-r1.ebuild 1327 BLAKE2B d0aa70181abf4f15584e6eb8aa3d01ad929747de0d62f3cb758997d62598f0a50ae1bcd903c7050b293b8fda94d179283222933ab8bdc09869ac249ade96ad07 SHA512 a1b3005de6d447062e6d6fbcc391ddfff846e917e0399ce7700808a8d1fe3e48314bc7daf0df72148e1313210c3a39ddf19c1858ff61ce40d034ac89b1bc8e70
MISC metadata.xml 750 BLAKE2B 235bda5af5c2da77dd882e0b785384e4921d04a851d337af69a3392669616436187f7729f6fdb1ff7b61278e48787583d5f23e354cc79dd5dec734b4d88b035c SHA512 54eba3b0cc1f45b09c253370d95ae9e096ecd881c8c3407e2286e09911fe8588708a282e4f03e996aeaf51e15ec5162f303b3b9c70cbf1e49d132f8196ede643
diff --git a/dev-python/pypugjs/pypugjs-5.11.0.ebuild b/dev-python/pypugjs/pypugjs-5.11.0.ebuild
new file mode 100644
index 000000000000..4ba0206944b8
--- /dev/null
+++ b/dev-python/pypugjs/pypugjs-5.11.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates"
+HOMEPAGE="
+ https://github.com/kakulukia/pypugjs/
+ https://pypi.org/project/pypugjs/
+"
+SRC_URI="
+ https://github.com/kakulukia/pypugjs/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ >=dev-python/six-1.15.0[${PYTHON_USEDEP}]
+ >=dev-python/charset-normalizer-2.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/django-4.0.6[${PYTHON_USEDEP}]
+ >=dev-python/flask-2.1.1[${PYTHON_USEDEP}]
+ >=dev-python/jinja-3.1.1[${PYTHON_USEDEP}]
+ >=dev-python/mako-1.1.3[${PYTHON_USEDEP}]
+ >=dev-python/pytest-asyncio-0.19.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # poetry nonsense
+ sed -i -e 's:\^:>=:' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+pkg_postinst() {
+ optfeature "converting to Django output" dev-python/django
+ optfeature "converting to Jinja2 output" dev-python/jinja
+ optfeature "converting to Mako output" dev-python/mako
+ optfeature "converting to Tornado output" dev-python/tornado
+}