summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-21 18:17:15 +0000
committerSam James <sam@gentoo.org>2023-02-21 18:18:51 +0000
commitb74ec008b062c31fdf6c55ae6d4e8476f2503dbc (patch)
tree5e1036c359c987389f681ebf6a0af8e82f46ecc4 /dev-python/sphinx-prompt
parentdev-python/watchdog: Stabilize 2.2.1 amd64, #894954 (diff)
downloadgentoo-b74ec008b062c31fdf6c55ae6d4e8476f2503dbc.tar.gz
gentoo-b74ec008b062c31fdf6c55ae6d4e8476f2503dbc.tar.bz2
gentoo-b74ec008b062c31fdf6c55ae6d4e8476f2503dbc.zip
dev-python/sphinx-prompt: add 1.6.0
Closes: https://bugs.gentoo.org/866013 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-prompt')
-rw-r--r--dev-python/sphinx-prompt/Manifest1
-rw-r--r--dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest
index 0c04e2325d8e..df8b15946157 100644
--- a/dev-python/sphinx-prompt/Manifest
+++ b/dev-python/sphinx-prompt/Manifest
@@ -1 +1,2 @@
DIST sphinx-prompt-1.5.0.tar.gz 21537 BLAKE2B a5bc69797ea526bc3d66b52e98b80cbb9958add084ea6a4d70a85cc06c69271bbe9e658eb517b78dd758178b6f3b93d92ea87e9432e5c28a61307706a3c34ee8 SHA512 b3d023388eb024303e9264e621ad379367916f8e3567192fde90b3f0d96c94c53d783c2e14970ad3d85895053b3aab9ece6d9573d3bab1dc894e0e04757f3a40
+DIST sphinx-prompt-1.6.0.gh.tar.gz 38245 BLAKE2B da2ac8564e14a10d5b51ea5ebd2e5578e7c2795ea7f3c5d3f054c621090e4bf634b9a1f578f4c010bbeaa61cc0d18f1a48ce6c0d9a316e34504ada1b4fb61d7b SHA512 a896dad9d333fde843ab90f331be40c533fa32f75f68dfc012a6296d96661e726647250642e1cc4c54125d9acb237add640008671a657a5e47a885450831c21e
diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild
new file mode 100644
index 000000000000..68cf7b066edc
--- /dev/null
+++ b/dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild
@@ -0,0 +1,29 @@
+# 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_{9..11} )
+inherit distutils-r1
+
+DESCRIPTION="Sphinx directive to add unselectable prompt"
+HOMEPAGE="https://github.com/sbrunner/sphinx-prompt/"
+SRC_URI="https://github.com/sbrunner/${PN}/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() {
+ # https://github.com/sbrunner/sphinx-prompt/pull/330
+ sed -E -i -e "/^version =/s:([0-9.]+):${PV}:" pyproject.toml || die
+ distutils-r1_python_prepare_all
+}