diff options
author | 2024-08-08 04:52:51 +0200 | |
---|---|---|
committer | 2024-08-08 05:07:54 +0200 | |
commit | f66d3d4d47f5a6b073b95fe6ed77103af166a575 (patch) | |
tree | 76cdabd6648f0062c5239f26be80b68a7470d73f /dev-python | |
parent | dev-python/dict2xml: Bump to 1.7.6 (diff) | |
download | gentoo-f66d3d4d47f5a6b073b95fe6ed77103af166a575.tar.gz gentoo-f66d3d4d47f5a6b073b95fe6ed77103af166a575.tar.bz2 gentoo-f66d3d4d47f5a6b073b95fe6ed77103af166a575.zip |
dev-python/sphinx-prompt: Bump to 1.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sphinx-prompt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 666a3bee910b..0199b5855a29 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1 +1,2 @@ DIST sphinx-prompt-1.8.0.gh.tar.gz 38424 BLAKE2B c469e2acfdad076afd472c30380a59aae4d719edce653794fd4d09a2c8008b7f67642ce2a740fb1408987243ba5d520e28b3dc4d7ec34899de6fcf57f2171456 SHA512 1acaa18066537adaab71eb900f0b0fb8041f8f25a9079e171b98b98106d5b7d1885e23bae2c1fd278bbf22c66d17238fbf386cb61fc5725475862aaf86d5701e +DIST sphinx-prompt-1.9.0.gh.tar.gz 39458 BLAKE2B 16b646bd0e288da3d2f401650c3131c7c6b9fb27023617717821927c7bd8b8d031f14d82b7dd02c6603f3ece084e766a28022cc418867646d770886cdce538ce SHA512 f9ee34b86ead0eda791ba7d648ae54785c09ca276279197c4632963892a03080e547d1930743d81ddb3b327c912c70a58dea968b1da763c4875ec84014b207f8 diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild new file mode 100644 index 000000000000..6daa0821df96 --- /dev/null +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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() { + # version number relies on git repo, sigh + # also all dependencies are pinned to exact versions, sigh + # also huge hack to install package as "sphinx-prompt", sigh + sed -i \ + -e "/^version =/s:[0-9.]\+:${PV}:" \ + -e '/^\[tool\.poetry\.dependencies\]$/,$s:"[0-9.]\+:"*:' \ + -e '/include.*sphinx-prompt/d' \ + pyproject.toml || die + + distutils-r1_python_prepare_all +} |