diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 266660 -> 266661 bytes | |||
-rw-r--r-- | dev-python/sphinx-prompt/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx-prompt/sphinx-prompt-1.7.0.ebuild | 41 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 38f3e10b8b6a..f3d2187ed380 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 76f57acd0c6c..44b4439316e6 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1,3 +1,5 @@ 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 EBUILD sphinx-prompt-1.6.0-r1.ebuild 994 BLAKE2B 66eb7b39e7b80d5a5fd74ba31b44d10bd79342df9070a5eb0a9072cf5dc0601d4d4fa8b469143f3b51f2f4a43cd04f6d33ee55e2dd3c8a3dfc87bddd606ea223 SHA512 c67961288831fc5dafc81a3125b0bd425f457f516daaa62b72160be147d5503150971f64da03930170ffa1a9227a5110ff8a64d8c3f7d349274ac647863dd78f +EBUILD sphinx-prompt-1.7.0.ebuild 995 BLAKE2B 6e7a58d5cefe738c503721ce0860f124067eedd4faeb28d6d3d8942e2d9528cb5be7396b92960f5aedba0ee67e8c8c590e389be13a5ceabfbafbc8d5a1b32152 SHA512 64cc42884b1ad14fefce26c11d298b237961705fc987fcb4f07708db4fddb69c1bfaeeb8fe5b549dbd84aa60e5a6bced2880d7df9c182f8113457fe178f969c9 MISC metadata.xml 416 BLAKE2B 5c9110bc6a6c0c7acab6e9f10d8d84601a66c7741ba15612eb032272db9517f314eec8f86677e43fd7dfb1b032388b1db3b60c64e0cd9a6943498c4715ebf1e0 SHA512 5d23f08978f7ca0dae7062a4a872f1be37969144c128c4a1f2006798465b5dbf95090e14859eb6c7e1e75649170e40fe156e6b9cd5b1263464e88edffc760a15 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 +} |