summaryrefslogtreecommitdiff
path: root/dev-python/mako
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-23 04:04:37 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-23 04:04:37 +0100
commitfd93fe10d9e6c855fed8e1524b2d2d64d2085570 (patch)
treeef70885add7d9276bc4f5e8b56c784bc974b3e0b /dev-python/mako
parenta15e8dc7444560123d7d4be1bccb19afd5b611d0 (diff)
gentoo auto-resync : 23:10:2024 - 04:04:36
Diffstat (limited to 'dev-python/mako')
-rw-r--r--dev-python/mako/Manifest2
-rw-r--r--dev-python/mako/mako-1.3.6.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest
index da445b891ee0..ad11cdbf0c24 100644
--- a/dev-python/mako/Manifest
+++ b/dev-python/mako/Manifest
@@ -1,3 +1,5 @@
DIST Mako-1.3.5.tar.gz 392738 BLAKE2B 566d4126a1c2ece5b2b3f2bec8470d97cc44e512987103f7027d6433418e50bff1cfad7ba510b88f38537c92d3a69d9a85e5b28cd759dbaa29ec19702461e359 SHA512 9a2f96bcb650f40cc2a9daa05904e54efca1fa30022ab641c850f6e32b84a38368d4c5d328f94ac4495ed97778d6ab0b661bc93a14740ed7e5d518f03bc9a59f
+DIST mako-1.3.6.tar.gz 390206 BLAKE2B 9ead8381e738033d06950a537ecd04b8f83909027430f5d246a0dac13f3e7ad874353d3945d2d1f5ff188d5379db051a1092c68b84e0f6f4d93a7fc8ed715b4d SHA512 ad7a05b7cb4a330495ba5842d578565356d19912fee20e2d894a6e5a7812197944943d947eb15a539ef4a11d2bafde29fc7b007767228bd8e40f154d53631073
EBUILD mako-1.3.5.ebuild 1080 BLAKE2B 6024d28ac790017aa58f3aa56d4b750337a69b8063be8453ddd4c574987a5416c33a0a596c17ce3ea98eedab38ee6c1c625963a2e3b0f1533ff50522e070053c SHA512 39ed15fdf6ad3ce27d58ff443939e071e867b368ff05e25a76fb57aa0f2c47f8197d98f3f54b223129084c1ee9b036860487f5c23015e5b929e28a077a23e709
+EBUILD mako-1.3.6.ebuild 1068 BLAKE2B d0fcd76716d02d9f9630f2301ce296db035166c24f75a87ba0078e84d9d3f75625c12e311122a3af463b567afe483601379af89a21cd339e6c71fd369782edb5 SHA512 ddfd0729f4878b5dad206fd87b2a45385ab126e103f6be68105022813d6e2daa65fb275853481154dd2c544b2dfe2fa6f255bbd7430093eacf25c33abd94f217
MISC metadata.xml 450 BLAKE2B 271e9801e0361eb9cf222fa9aca34f641e6118e17707469a87c1b41a6de34c67ec6a19576a86cc3c7ba1f671f8a28f9df8e994b3f232fe224eda85f4b8cf8b8b SHA512 d168ca10d7759129088a0d10ad73e4d0973ccaed1e649828077158aee55a8640db2446c9d874ef0da4fba5b27a6a0eacdc9d9ff4ec04a19cd1b9699542b5b0c1
diff --git a/dev-python/mako/mako-1.3.6.ebuild b/dev-python/mako/mako-1.3.6.ebuild
new file mode 100644
index 000000000000..da97f76fd2c6
--- /dev/null
+++ b/dev-python/mako/mako-1.3.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python templating language"
+HOMEPAGE="
+ https://www.makotemplates.org/
+ https://github.com/sqlalchemy/mako/
+ https://pypi.org/project/Mako/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="doc"
+
+RDEPEND="
+ >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/Babel[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ test/test_exceptions.py::ExceptionsTest::test_alternating_file_names
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
+
+python_install_all() {
+ rm -r doc/build || die
+
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}