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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AAF14158042 for ; Tue, 29 Oct 2024 22:43:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D1D8E0841; Tue, 29 Oct 2024 22:43:10 +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 E530DE0841 for ; Tue, 29 Oct 2024 22:43:09 +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 04339342FE4 for ; Tue, 29 Oct 2024 22:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62E5319CB for ; Tue, 29 Oct 2024 22:43:07 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1730241410.8de8ad69e47d26eed17070abbaef1e24ccaf9b49.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/rst2ansi/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/rst2ansi/Manifest dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild X-VCS-Directories: dev-python/rst2ansi/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 8de8ad69e47d26eed17070abbaef1e24ccaf9b49 X-VCS-Branch: dev Date: Tue, 29 Oct 2024 22:43:07 +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: e8b2a50f-6710-486f-a7bd-0363408fe105 X-Archives-Hash: 3008b10a2cfa55f14f739d8e0f204d40 commit: 8de8ad69e47d26eed17070abbaef1e24ccaf9b49 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Oct 29 22:27:36 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue Oct 29 22:36:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8de8ad69 dev-python/rst2ansi: add tests, fix deps, enable py3.13 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/rst2ansi/Manifest | 1 + dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild | 44 ++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/rst2ansi/Manifest b/dev-python/rst2ansi/Manifest index ce5c205f6..2e53d6e56 100644 --- a/dev-python/rst2ansi/Manifest +++ b/dev-python/rst2ansi/Manifest @@ -1 +1,2 @@ +DIST rst2ansi-0.1.5.gh.tar.gz 15465 BLAKE2B 7e05c485521c41a1b233efd18578d252928e9c2b529c21baf218f7c06370a8ec77f38f64a456d1fe5bb0b9cc6e218891614fbe13504ba0c81ae6ecc9995e25db SHA512 4ff47b58b8121fc72154dddb687b6e7d8aeda2ad2a00987a0598c3b33c44979aef8bfe8335d0c3f1f352eff9dcade533927bafd03e06c13193c80ba5fa874db0 DIST rst2ansi-0.1.5.tar.gz 9989 BLAKE2B 6792a7a4c0c23ea3eff6ef9462b2349743d3a0ea956e3dce2965981b1c058152a4117be031d5cfca7df18e992994453b2a4db8b7ab719d2279978ab659a78321 SHA512 ab964c9a263df3a638e24537f8077345d9240f88e0e62bcb423caea74c0ffa7736365beb777c9f240c7ccd8ae6ba68a94358f5c487ccc9a6175ce3a81b083b65 diff --git a/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild b/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild new file mode 100644 index 000000000..ef728aa76 --- /dev/null +++ b/dev-python/rst2ansi/rst2ansi-0.1.5-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +MY_PN="python-${PN}" +DESCRIPTION="Render reStructuredText documents to the terminal" +HOMEPAGE=" + https://pypi.org/project/rst2ansi/ + https://github.com/Snaipe/python-rst2ansi +" +# use git archives for CLI test data +SRC_URI="https://github.com/Snaipe/python-rst2ansi/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/docutils[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-util/cram ) +" + +distutils_enable_tests setup.py + +src_prepare() { + distutils-r1_src_prepare + + # remove failing test + rm test/lists.t || die +} + +python_test_all() { + emake test +} + +python_test() { + : +}