dev-python/sphinx-prompt: Bump to 1.10.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-11-29 08:58:41 +01:00
parent 2529795b10
commit 2f55744e90
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
2 changed files with 44 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST sphinx-prompt-1.10.1.gh.tar.gz 35004 BLAKE2B 64aadbc8391cd20bac8af4127b706228e8556e9bd1cc702b478e2d5f4b7bdff918118b8bdd1d82e0f7f3865b9d500155a97ab435dae46f3159d976dab618bfd5 SHA512 3ef18ec24ddfd73dc71f0f1bb34926e74d0bb44b63044da7e33e2fd5e23fefe51e17b1f73047fae8f2263ae2ff30fea5675ca821bf7fb1377c849f36e7dc85a0 DIST sphinx-prompt-1.10.1.gh.tar.gz 35004 BLAKE2B 64aadbc8391cd20bac8af4127b706228e8556e9bd1cc702b478e2d5f4b7bdff918118b8bdd1d82e0f7f3865b9d500155a97ab435dae46f3159d976dab618bfd5 SHA512 3ef18ec24ddfd73dc71f0f1bb34926e74d0bb44b63044da7e33e2fd5e23fefe51e17b1f73047fae8f2263ae2ff30fea5675ca821bf7fb1377c849f36e7dc85a0
DIST sphinx-prompt-1.10.2.gh.tar.gz 37762 BLAKE2B c3de02a429676aea72ad61cd11a0ac774f52d35ab8d1bf6f50e88b1cdeb4d1a96afabfe25a1f81215e2a55eec63da4f94add3cc9698696bb8a1fedd67e20b373 SHA512 41889afe21cb47bcb0352d7184de1d20046a636be3368e7ceb21d0afe7070e287d784f4871df9123c50da669603b3c96be6ed2e43d871222a07f9bae68e0228c

View File

@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..14} )
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 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_prepare_all() {
# version number relies on git repo, sigh
# also unpin dependencies
# also hack to install as "sphinx-prompt"
sed -i \
-e "/^version =/s:[0-9.]\+:${PV}:" \
-e '/include.*sphinx-prompt/d' \
pyproject.toml || die
distutils-r1_python_prepare_all
}