mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/pypugjs: Bump to 6.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pypugjs-5.12.0.gh.tar.gz 58675 BLAKE2B cadfb20d4189058af691b32d5975fccfee35b0f4851c8f38d83370bc685369dcc75fe9250bbd089292df80dccf3ab34596ae50e2e60d9a8f62389a08d8798d58 SHA512 47460876018349b49fc04cde51cfee48f868b6364c5152dffc35ea3419f32c47ddab6789c442e4425a12d59c082e42d64ea001ef2c2df363d1fb1ec1a4e9f605
|
||||
DIST pypugjs-6.0.1.gh.tar.gz 68176 BLAKE2B c32676bfc057e24cfe844a4cb1315416d215bb71a188e67842964655940da9e3d2d877c8e37be60c6123f4f23f62d2fd3f82a2c816f2708a1d84fedcc5544286 SHA512 52d371bf4e9db18dbaa4a28ce6116b481d57f7fbeae7ff13fbe4ed6c3b3e783cd52c9a858f325fc4d22e3cfd55c2cafdf8bda5f09dc0e446050d7d4d70b9639e
|
||||
|
||||
53
dev-python/pypugjs/pypugjs-6.0.1.ebuild
Normal file
53
dev-python/pypugjs/pypugjs-6.0.1.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_{11..14} )
|
||||
|
||||
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.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/charset-normalizer-3.4.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/django-4.2.25[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-2.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja2-3.1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mako-1.3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/tornado-6.5.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-asyncio )
|
||||
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