mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/pypugjs: add 5.12.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pypugjs-5.11.0.gh.tar.gz 57259 BLAKE2B 666b37a68f9faa7131424aba895fd6ffd893a92b1d565f343c25cc126bf37f2b1794eb0c32c3475533ade810b2d9d09a4299ec8bac5da63b1303d60900226507 SHA512 208946c6709398b21ab5728f290b814330db647200c1f649bceb6b5596c5bac710dedeed4dad56330b4c97236b6793251575fb2638b7bf63bf32239114758033
|
||||
DIST pypugjs-5.12.0.gh.tar.gz 58675 BLAKE2B cadfb20d4189058af691b32d5975fccfee35b0f4851c8f38d83370bc685369dcc75fe9250bbd089292df80dccf3ab34596ae50e2e60d9a8f62389a08d8798d58 SHA512 47460876018349b49fc04cde51cfee48f868b6364c5152dffc35ea3419f32c47ddab6789c442e4425a12d59c082e42d64ea001ef2c2df363d1fb1ec1a4e9f605
|
||||
|
||||
53
dev-python/pypugjs/pypugjs-5.12.0.ebuild
Normal file
53
dev-python/pypugjs/pypugjs-5.12.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
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/jinja2-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/jinja2
|
||||
optfeature "converting to Mako output" dev-python/mako
|
||||
optfeature "converting to Tornado output" dev-python/tornado
|
||||
}
|
||||
Reference in New Issue
Block a user