diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 10:28:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 10:28:50 +0000 |
commit | 91b873ea3e20149dbb554dc214611efa4627962a (patch) | |
tree | 46c9be7cf8a9fa2923fc9c220e10eabde601842d /dev-python/mako | |
parent | 70b888182faea1598e1b5e231078af492793858a (diff) |
gentoo auto-resync : 09:11:2023 - 10:28:50
Diffstat (limited to 'dev-python/mako')
-rw-r--r-- | dev-python/mako/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mako/mako-1.3.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest index 7e0ba54d6958..eee1cc7b075f 100644 --- a/dev-python/mako/Manifest +++ b/dev-python/mako/Manifest @@ -1,3 +1,5 @@ DIST Mako-1.2.4.tar.gz 497021 BLAKE2B 61b0d7c681e41128fdeff83414de30ffd2282ec6480af61924e35094f674732562297b977f12a0e5cc842ae0ed3f67c7955bb223a0e4f061c773cd4507208d02 SHA512 9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a +DIST Mako-1.3.0.tar.gz 386252 BLAKE2B 7364a4eeb8d71d7bdeabc6c6df863c4cec5094ae2f858c8c23d4287bbeded62325c3f4fe122c19950043dc32480f2b46c72771fab2f89a339202cfbe387f61f6 SHA512 1be454ceff8942ee50052b3b2dec392f236aad2111828a6962ca80bc0d9692f632b7d992b161fb206c10db19e94f96a0688633d03c7b54e01b4f843283b80cb4 EBUILD mako-1.2.4.ebuild 1028 BLAKE2B a906fd54b6e77467ce6ccd55d5ba112496a690acbec1b594315dfd30b01c0096b8b7c1de4ec521374424aa640398a731ea87f1eb58d156bbc6225cd8784cfb29 SHA512 c3c7cb9d72680648bfa5e77c5987c7aae6ee37d596057d6226044f725bc75004934ad820f24ec68508e4e4896b5142abc3c219b96669eadb317449deb380ae55 +EBUILD mako-1.3.0.ebuild 1036 BLAKE2B 33fa4759bda4818df0e67bf4ec498e05039c3a00f187c296c87dbf32c90856504983212a60875c3f8246fbaaeed07fec6da3e644012d62202a192adfd251c5d2 SHA512 c71c7cb28c115e1b1274df94ccdf24b03061130d919aa783086da8c2f0443e090c2e1fa2cadbd009a896de5202470f2b7b9829ce8771d2907c74fa06067d50f0 MISC metadata.xml 450 BLAKE2B 271e9801e0361eb9cf222fa9aca34f641e6118e17707469a87c1b41a6de34c67ec6a19576a86cc3c7ba1f671f8a28f9df8e994b3f232fe224eda85f4b8cf8b8b SHA512 d168ca10d7759129088a0d10ad73e4d0973ccaed1e649828077158aee55a8640db2446c9d874ef0da4fba5b27a6a0eacdc9d9ff4ec04a19cd1b9699542b5b0c1 diff --git a/dev-python/mako/mako-1.3.0.ebuild b/dev-python/mako/mako-1.3.0.ebuild new file mode 100644 index 000000000000..977c802bdb46 --- /dev/null +++ b/dev-python/mako/mako-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +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 ~ia64 ~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=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/test_exceptions.py::ExceptionsTest::test_alternating_file_names + ) + epytest +} + +python_install_all() { + rm -r doc/build || die + + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} |