From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F39015808D for ; Thu, 21 Apr 2022 20:48:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCD72E0959; Thu, 21 Apr 2022 20:48:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B245E0959 for ; Thu, 21 Apr 2022 20:48:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83979341D9D for ; Thu, 21 Apr 2022 20:48:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5CDE3F0 for ; Thu, 21 Apr 2022 20:48:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1650574095.22bc5024622e0123446d70676c7f98c7b8e91e8f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/genshi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/genshi/Manifest dev-python/genshi/genshi-0.7.7.ebuild X-VCS-Directories: dev-python/genshi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 22bc5024622e0123446d70676c7f98c7b8e91e8f X-VCS-Branch: master Date: Thu, 21 Apr 2022 20:48:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de944d0f-a416-41a2-9c64-d1af767c67a1 X-Archives-Hash: 7c08c3b7c313b237a6209d0843802024 commit: 22bc5024622e0123446d70676c7f98c7b8e91e8f Author: Michał Górny gentoo org> AuthorDate: Thu Apr 21 20:33:23 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 21 20:48:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22bc5024 dev-python/genshi: Bump to 0.7.7 Signed-off-by: Michał Górny gentoo.org> dev-python/genshi/Manifest | 1 + dev-python/genshi/genshi-0.7.7.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) 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 +}