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 A4870158030 for ; Mon, 27 Feb 2023 15:07:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 924C8E07EA; Mon, 27 Feb 2023 15:06:58 +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 79380E07EA for ; Mon, 27 Feb 2023 15:06:58 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22CBE340E55 for ; Mon, 27 Feb 2023 15:06:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09ECE8D4 for ; Mon, 27 Feb 2023 15:06:54 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1677455087.fa2947acde938b1d61979050f2b53a77d182d517.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/sphinxcontrib-restbuilder/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/sphinxcontrib-restbuilder/Manifest dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3-r1.ebuild dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild X-VCS-Directories: dev-python/sphinxcontrib-restbuilder/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: fa2947acde938b1d61979050f2b53a77d182d517 X-VCS-Branch: master Date: Mon, 27 Feb 2023 15:06:54 +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: 6d5a8728-9b43-4794-aa9c-7de2a68885a8 X-Archives-Hash: b4a8e394bd3b762abffd80bf46b309cb commit: fa2947acde938b1d61979050f2b53a77d182d517 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sun Feb 26 23:44:47 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Feb 26 23:44:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa2947ac dev-python/sphinxcontrib-restbuilder: enable py3.11, fix tests Closes: https://bugs.gentoo.org/862510 Closes: https://bugs.gentoo.org/897576 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/sphinxcontrib-restbuilder/Manifest | 2 +- .../sphinxcontrib-restbuilder-0.3-r1.ebuild | 39 ++++++++++++++++++++++ .../sphinxcontrib-restbuilder-0.3.ebuild | 29 ---------------- 3 files changed, 40 insertions(+), 30 deletions(-) diff --git a/dev-python/sphinxcontrib-restbuilder/Manifest b/dev-python/sphinxcontrib-restbuilder/Manifest index bde5235cd..f64f350fe 100644 --- a/dev-python/sphinxcontrib-restbuilder/Manifest +++ b/dev-python/sphinxcontrib-restbuilder/Manifest @@ -1 +1 @@ -DIST sphinxcontrib-restbuilder-0.3.tar.gz 24926 BLAKE2B 885ec51030ef05c9bf528efc5ee8ac1552692d760854c750342947b599411a1d469aff577938286ef22de0e051450605e646b7b904dd69b513c9016ddbc8345c SHA512 0b94d05a2fed1f2203fea94cd3a525a62530ec1777d28d59f9232241dd6816eedf871d6a6f616f6f9ce2946a90143871be09d8cae75747b224a6032e284963ed +DIST sphinxcontrib-restbuilder-0.3.gh.tar.gz 24926 BLAKE2B 885ec51030ef05c9bf528efc5ee8ac1552692d760854c750342947b599411a1d469aff577938286ef22de0e051450605e646b7b904dd69b513c9016ddbc8345c SHA512 0b94d05a2fed1f2203fea94cd3a525a62530ec1777d28d59f9232241dd6816eedf871d6a6f616f6f9ce2946a90143871be09d8cae75747b224a6032e284963ed diff --git a/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3-r1.ebuild b/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3-r1.ebuild new file mode 100644 index 000000000..a14a86b66 --- /dev/null +++ b/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN=${PN#sphinxcontrib-} +DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files" +HOMEPAGE=" + https://pypi.org/project/sphinxcontrib-restbuilder/ + https://github.com/sphinx-contrib/restbuilder +" +SRC_URI="https://github.com/sphinx-contrib/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + rm -rf sphinxcontrib || die + distutils_write_namespace sphinxcontrib + epytest +} diff --git a/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild b/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild deleted file mode 100644 index 3c6ba0131..000000000 --- a/dev-python/sphinxcontrib-restbuilder/sphinxcontrib-restbuilder-0.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Sphinx builder/writer to output reStructuredText (rst) files" -HOMEPAGE=" - https://github.com/sphinx-contrib/restbuilder - https://pypi.org/project/sphinxcontrib-restbuilder/ -" -SRC_URI="https://github.com/sphinx-contrib/restbuilder/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/sphinxcontrib-/}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -}