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 66E6415800A for ; Mon, 31 Jul 2023 09:25:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8B23E0B5D; Mon, 31 Jul 2023 09:25:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3A151E0B5D for ; Mon, 31 Jul 2023 09:25:38 +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 1AF55335D3B for ; Mon, 31 Jul 2023 09:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80408BEE for ; Mon, 31 Jul 2023 09:25:35 +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: <1690795532.6913545c667e99155639f28865733abf9ab80589.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-prompt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinx-prompt/Manifest dev-python/sphinx-prompt/sphinx-prompt-1.7.0.ebuild X-VCS-Directories: dev-python/sphinx-prompt/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6913545c667e99155639f28865733abf9ab80589 X-VCS-Branch: master Date: Mon, 31 Jul 2023 09:25:35 +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: 0a9e9069-d9b9-4a9c-b54a-2f08e4adb453 X-Archives-Hash: 67843c08a4c858d2ace073d803c0136c commit: 6913545c667e99155639f28865733abf9ab80589 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 31 09:23:47 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 31 09:25:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6913545c dev-python/sphinx-prompt: Bump to 1.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/sphinx-prompt/Manifest | 1 + .../sphinx-prompt/sphinx-prompt-1.7.0.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 40e999b561fe..d68d73969f3c 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1 +1,2 @@ DIST sphinx-prompt-1.6.0.gh.tar.gz 38245 BLAKE2B da2ac8564e14a10d5b51ea5ebd2e5578e7c2795ea7f3c5d3f054c621090e4bf634b9a1f578f4c010bbeaa61cc0d18f1a48ce6c0d9a316e34504ada1b4fb61d7b SHA512 a896dad9d333fde843ab90f331be40c533fa32f75f68dfc012a6296d96661e726647250642e1cc4c54125d9acb237add640008671a657a5e47a885450831c21e +DIST sphinx-prompt-1.7.0.gh.tar.gz 38317 BLAKE2B b042b7821d16ff63d259b73de476f96cafea32345dc98d24a9abb97dd46ecbd6947862ef727b830c27889f4b8a17c30c8dd86a4bddd38294a3a4bca00349bf87 SHA512 1b0df502c75ea4cac4e4a5b11c0aa762851b82c39892410c97f0ed45bdd74e5706a580a906d4ebb8c47700324c089c5114eba12cd4617aba37cfea8c338ac9d5 diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.7.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.7.0.ebuild new file mode 100644 index 000000000000..b8e7c5e14a20 --- /dev/null +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx directive to add unselectable prompt" +HOMEPAGE=" + https://github.com/sbrunner/sphinx-prompt/ + https://pypi.org/project/sphinx-prompt/ +" +SRC_URI=" + https://github.com/sbrunner/sphinx-prompt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_prepare_all() { + # upstream repeatedly fails to update version number + # also pins all dependencies to exact versions, sigh + sed -i \ + -e "/^version =/s:[0-9.]\+:${PV}:" \ + -e '/^\[tool\.poetry\.dependencies\]$/,$s:"[0-9.]\+:"*:' \ + pyproject.toml || die + + distutils-r1_python_prepare_all +}