From 74e526c590f52d24a213e25f77858ae0b34ec2c8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Jun 2024 00:09:46 +0100 Subject: gentoo auto-resync : 17:06:2024 - 00:09:46 --- dev-python/genshi/Manifest | 2 ++ dev-python/genshi/genshi-0.7.9.ebuild | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 dev-python/genshi/genshi-0.7.9.ebuild (limited to 'dev-python/genshi') diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest index 75ef42db54c0..29ff4676bf79 100644 --- a/dev-python/genshi/Manifest +++ b/dev-python/genshi/Manifest @@ -1,4 +1,6 @@ DIST Genshi-0.7.7.tar.gz 267206 BLAKE2B 0bad4b26fbfda27572e78f87af6093c87d738ad6fdf2beea5e8b0b21b3f5245a4e239bbfbad63e71e73f6588e7cae97f2b3bc7295fa30ad7a203a7ceff7074c9 SHA512 b0a3dee68523292f0672a180c5f2cfbdf48205d82286359b9fac9f668cbc2806c649d1e158d6fb8ead5b1cc5cd44eefe9d1cd79077f96925b8d24dd8e746b40f +DIST Genshi-0.7.9.tar.gz 269399 BLAKE2B 0603f2b7d8829eb09939c003485e1a9ef9c20ef5dce6452bbb1d667d4b42f4d3d24f10225de9a0d848b760cab30decae6b71768628540d7ae65a14df9c0fca19 SHA512 2e813e4374970e764ce1d7f3cbe6fd3557fb0bd178393f18c62ebe65b6acad0b03b0eaa16b218d337776808b7f25c2499984834ca2e3cd96009998675580862b DIST python-genshi-use-default-test-loader.patch 13491 BLAKE2B 1651cdb3130fb3fb4c7ba9ce9ea150710c7a60f9d31ab00a0a4cc7376fd833cff28b30530e0ca7ade5d036279d88c7e94130b8ff7facf826a27421a0568b483c SHA512 1bc94efc1721faae870f9201781bb3d380ed03144bb4a2d7ea058cb15ee1c0b948989597c9e665b085ebe9ef1cd116b2a2233d2ab19706a87fd42f25ba208560 EBUILD genshi-0.7.7.ebuild 1216 BLAKE2B dce85a7390697111d1863084f3a8c3ab590c1fc93dc54d5a257b6fac14a00ba9cb68ec62147de64cb5805c6f59fa5821c4751aa15ec8ef0105da6ab5c3a27c05 SHA512 b44abef63c91d17829ac6652d0a2bf49178242fbb34e80a8224675313ab2c04797c8438672d14c1314a44cb83dbd2ef4f281fb0b09ab15552af2ea70fb739913 +EBUILD genshi-0.7.9.ebuild 980 BLAKE2B e142288385f5d5bc7c2f5dc9b7d9ab525c0a0718b9a86bf10123b63c0da5d2a25c726f61e3a6171e75624d86f11d9e5acca08d3973d457e8673531ea14a16c88 SHA512 cce0dbddbe61d2cd2965fd93659ba9310e66aaabc6ed4a6b53f9e3d68a9432c3fbc34e31e956afb1a681b197f3f9a269858781e9c90a288a53847794f370edf9 MISC metadata.xml 365 BLAKE2B c5f3b55444eb424fc0ec15f0f19eef39a31c2c5e900fab7a06fe7bade29893ddb59baf4fa7f60621017a400dc7004dc093d124e1d3366df2663c0b714e31c8cc SHA512 1914d0acf5d6c517ff0198c827f606acc4124e834c306312d49d42bb729bb82b80ae6c98f3ac0797178eba3beb2c437a10665a23a843d0d3efbd148250a189dd diff --git a/dev-python/genshi/genshi-0.7.9.ebuild b/dev-python/genshi/genshi-0.7.9.ebuild new file mode 100644 index 000000000000..d65b85f8bb96 --- /dev/null +++ b/dev-python/genshi/genshi-0.7.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python toolkit for stream-based generation of output for the web" +HOMEPAGE=" + https://genshi.edgewall.org/ + https://github.com/edgewall/genshi/ + https://pypi.org/project/Genshi/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +python_test() { + "${EPYTHON}" -m unittest -v genshi.tests.suite || die +} + +python_install_all() { + if use doc; then + dodoc doc/*.txt + fi + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} -- cgit v1.2.3