diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-21 22:33:23 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-21 22:48:15 +0200 |
commit | 22bc5024622e0123446d70676c7f98c7b8e91e8f (patch) | |
tree | edce439c6395d7f3fd868ed309fb1df0bd519b40 /dev-python/genshi | |
parent | dev-python/pyghmi: Bump to 1.5.39 (diff) | |
download | gentoo-22bc5024622e0123446d70676c7f98c7b8e91e8f.tar.gz gentoo-22bc5024622e0123446d70676c7f98c7b8e91e8f.tar.bz2 gentoo-22bc5024622e0123446d70676c7f98c7b8e91e8f.zip |
dev-python/genshi: Bump to 0.7.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/genshi')
-rw-r--r-- | dev-python/genshi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/genshi/genshi-0.7.7.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest index dbc2ad197317..1be4dfeb37fd 100644 --- a/dev-python/genshi/Manifest +++ b/dev-python/genshi/Manifest @@ -1 +1,2 @@ DIST Genshi-0.7.6.tar.gz 268913 BLAKE2B c54930023c4cd45e24f44baa62f3cc3fe887c5bfd5feb9f7c694cea9bd500cd8c0cea0ed7a60035fb58de9b933199f54ada2a14edff9f5a1b1f63203d10ac7c8 SHA512 a05e82b2b1b9321153a202e5926a26795ebc7c56ee13b8c6da197007a00711efcc7f8ebfb759446c4c2cb99e7e92a6f689576f9ef1f766aa42e0dab86fd5e335 +DIST Genshi-0.7.7.tar.gz 267206 BLAKE2B 0bad4b26fbfda27572e78f87af6093c87d738ad6fdf2beea5e8b0b21b3f5245a4e239bbfbad63e71e73f6588e7cae97f2b3bc7295fa30ad7a203a7ceff7074c9 SHA512 b0a3dee68523292f0672a180c5f2cfbdf48205d82286359b9fac9f668cbc2806c649d1e158d6fb8ead5b1cc5cd44eefe9d1cd79077f96925b8d24dd8e746b40f diff --git a/dev-python/genshi/genshi-0.7.7.ebuild b/dev-python/genshi/genshi-0.7.7.ebuild new file mode 100644 index 000000000000..5b2d9b7bc0d6 --- /dev/null +++ b/dev-python/genshi/genshi-0.7.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python toolkit for stream-based generation of output for the web" +HOMEPAGE="https://genshi.edgewall.org/ https://pypi.org/project/Genshi/" +SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +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 )" + +BDEPEND=" + test? ( + dev-python/six[${PYTHON_USEDEP}] + ) +" + +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 +} |