diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-24 14:14:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-24 14:14:14 +0200 |
commit | db03cc1355bc2d8cd3632b370812ef7345638965 (patch) | |
tree | 9468f497466e890097a2889fb042576a3e44b381 /dev-python/pypugjs | |
parent | dev-python/pypugjs: Fix more pyproject.toml issues (diff) | |
download | gentoo-db03cc1355bc2d8cd3632b370812ef7345638965.tar.gz gentoo-db03cc1355bc2d8cd3632b370812ef7345638965.tar.bz2 gentoo-db03cc1355bc2d8cd3632b370812ef7345638965.zip |
dev-python/pypugjs: Bump to 5.11.0
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.11.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pypugjs/Manifest b/dev-python/pypugjs/Manifest index eb32db18b4d7..497d1c2b6ac5 100644 --- a/dev-python/pypugjs/Manifest +++ b/dev-python/pypugjs/Manifest @@ -1,3 +1,4 @@ DIST pypugjs-5.10.1.gh.tar.gz 57287 BLAKE2B e2350f70b410fecb0c28d85fbee05dbe3568832dd94827652a08fe8850143fef1e3fbf8f550dee0a3a5cb5958ee65c583182505274656c3eaa2249c93c60c44f SHA512 9db6ddda6631bce2d364e54aad7240fb560c9b367597e30a826bda4109efa2f44c918297b2e0651c31cda439b6229eb3639bceaf4166a53abcc17a208bdcfca7 +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 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 +} |