mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/sphinx-prompt: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sphinx-prompt-1.10.0.gh.tar.gz 34718 BLAKE2B 463c3320e96b02336bc0b726cee6be1458ddccf61b484083f1694db9d00807650c555e1969a31e13c1e7ed8a92783d9275e7b54766d9e5ae77e617187debb4b5 SHA512 2253896d64a03598743268d3433321032911ce25a40d8a950750fcbd6586425e049c309116bc46b3cb982166f313b579b81dcd0087c8036a55f85d26e1d58cc6
|
||||
DIST sphinx-prompt-1.10.1.gh.tar.gz 35004 BLAKE2B 64aadbc8391cd20bac8af4127b706228e8556e9bd1cc702b478e2d5f4b7bdff918118b8bdd1d82e0f7f3865b9d500155a97ab435dae46f3159d976dab618bfd5 SHA512 3ef18ec24ddfd73dc71f0f1bb34926e74d0bb44b63044da7e33e2fd5e23fefe51e17b1f73047fae8f2263ae2ff30fea5675ca821bf7fb1377c849f36e7dc85a0
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
# 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 all dependencies are pinned 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
|
||||
}
|
||||
Reference in New Issue
Block a user