diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-24 05:45:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-24 06:03:11 +0200 |
commit | 61d1e8b22dcf65453f4d56a6c8a46bf29b91c55e (patch) | |
tree | e442cf8ae716b009b5b54ebcaa8e033dacfa1e1b /dev-python/pypugjs | |
parent | dev-python/sphinx-autoapi: Bump to 3.1.1 (diff) | |
download | gentoo-61d1e8b22dcf65453f4d56a6c8a46bf29b91c55e.tar.gz gentoo-61d1e8b22dcf65453f4d56a6c8a46bf29b91c55e.tar.bz2 gentoo-61d1e8b22dcf65453f4d56a6c8a46bf29b91c55e.zip |
dev-python/pypugjs: Bump to 5.10.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypugjs')
-rw-r--r-- | dev-python/pypugjs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pypugjs/pypugjs-5.10.1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index d4795415db7e..eb32db18b4d7 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1,2 +1,3 @@ +DIST pypugjs-5.10.1.gh.tar.gz 57287 BLAKE2B e2350f70b410fecb0c28d85fbee05dbe3568832dd94827652a08fe8850143fef1e3fbf8f550dee0a3a5cb5958ee65c583182505274656c3eaa2249c93c60c44f SHA512 9db6ddda6631bce2d364e54aad7240fb560c9b367597e30a826bda4109efa2f44c918297b2e0651c31cda439b6229eb3639bceaf4166a53abcc17a208bdcfca7 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 diff --git a/dev-python/pypugjs/pypugjs-5.10.1.ebuild b/dev-python/pypugjs/pypugjs-5.10.1.ebuild new file mode 100644 index 000000000000..db189115ef63 --- /dev/null +++ b/dev-python/pypugjs/pypugjs-5.10.1.ebuild @@ -0,0 +1,49 @@ +# 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" +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/chardet-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/django[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.1[${PYTHON_USEDEP}] + >=dev-python/mako-1.1.3[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${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 +} |