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 2E70815817D for ; Sun, 16 Jun 2024 05:07:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDCAAE2A62; Sun, 16 Jun 2024 05:07:07 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E89FE2A61 for ; Sun, 16 Jun 2024 05:07:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8300833BE3B for ; Sun, 16 Jun 2024 05:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1F131C5C for ; Sun, 16 Jun 2024 05:07:04 +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: <1718514419.c200d263ad26688405990571bace78f1a647670c.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.9.ebuild X-VCS-Directories: dev-python/genshi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c200d263ad26688405990571bace78f1a647670c X-VCS-Branch: master Date: Sun, 16 Jun 2024 05:07:04 +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: 580af593-ebab-4dc8-8c61-570f0fb404a6 X-Archives-Hash: 2ece8f0bfa6fbe5aed07324db5e59354 commit: c200d263ad26688405990571bace78f1a647670c Author: Michał Górny gentoo org> AuthorDate: Sun Jun 16 04:42:57 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 16 05:06:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c200d263 dev-python/genshi: Bump to 0.7.9 Signed-off-by: Michał Górny gentoo.org> dev-python/genshi/Manifest | 1 + dev-python/genshi/genshi-0.7.9.ebuild | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest index 399f7510438b..9e9269dc4785 100644 --- a/dev-python/genshi/Manifest +++ b/dev-python/genshi/Manifest @@ -1,2 +1,3 @@ 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 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 +}