diff options
Diffstat (limited to 'dev-python/sphinx-rtd-theme')
-rw-r--r-- | dev-python/sphinx-rtd-theme/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx-rtd-theme/sphinx-rtd-theme-2.0.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/sphinx-rtd-theme/Manifest b/dev-python/sphinx-rtd-theme/Manifest index 7399ad5de118..c086a6ae7bc2 100644 --- a/dev-python/sphinx-rtd-theme/Manifest +++ b/dev-python/sphinx-rtd-theme/Manifest @@ -1,3 +1,5 @@ DIST sphinx_rtd_theme-1.3.0.tar.gz 2785069 BLAKE2B f9849a72941024de7537a3517e226e2cdc6b2067e043bcdf8bbb4cc29cdf8b0be67121f721d92d30ffccea367af62ff0ce71d5d00d8eafbb65a2ebf4ef8e5159 SHA512 41e8ebffd057c1c6efb41a05547067016e73047a1894340df92bb7e4232559de15b200f57a34cf1cf9f66e4af7019d66d12939a68d3b2b46460a1794a10fc32e +DIST sphinx_rtd_theme-2.0.0.tar.gz 2785005 BLAKE2B a9971cba0bf04d786e41144fc04c8450be3291f0f5c3164b793258a489d5c1348bded906f47071ebd9aa4fa022bca157a18f758d3e2f48765ae5c65655a8c25f SHA512 3de989e24f2c187058b19017a92cf2159af0fdb32e5c3bc46992797a3be0f23ad75e1fd9b758e7d672eb38524798b4800de2e1b405910ea043dbd7d6f32a05da EBUILD sphinx-rtd-theme-1.3.0.ebuild 966 BLAKE2B 1c3b095979548472d3760b9b096d4cf1917f86c978cff049cca155812a78e116b8466189ebd3177047045b3a81a751bb9713c272b3b9d7683a2bca923a6de821 SHA512 6f75b1f96924dbd27b25e7730d40ad8a3ff886702bf13b665f2fd8689751f4554edb65ba444c3885ffaed925e8fd1ff06c5aa996607b370702edf6f7a37d9c01 +EBUILD sphinx-rtd-theme-2.0.0.ebuild 972 BLAKE2B aee3866a419cf7e629fd3fd31db54536cacf247abff489ed8646fa6998c2cbce9c55e51929a7d147162966415ba4c8929b481dfbe3e0aba9c935aaac1d09f3cb SHA512 835f4ee9b8b33c295aea418b0531f2ab519d00af6969e749d6e83df38a15c5db8540e89fa5cad9c70ffe40bdd07f77a982b0c36e2174bf414499877a338a9260 MISC metadata.xml 412 BLAKE2B bed5105c13db0478a4b6129d634b8028b80cfb4e7969705ed0a693286d7f1645608ba6e6066cd3219c267c097bc1bd7d1ee13531d91d8cb4fdf6a5f107ef2252 SHA512 a0e7ce66d5f68145471452e49c173aaddcb502c9ba35af543240e5fbe9b24c0bd94ecf5782d5d81c23b3e63b80cf0cab4e39d279fb635f17275702e9a56bd5bc diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-2.0.0.ebuild b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-2.0.0.ebuild new file mode 100644 index 000000000000..eed7b42a6f04 --- /dev/null +++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-2.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="ReadTheDocs.org theme for Sphinx" +HOMEPAGE=" + https://github.com/readthedocs/sphinx_rtd_theme/ + https://pypi.org/project/sphinx-rtd-theme/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/sphinx-5[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-jquery-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # remove upper bounds + sed -i -e 's:,\?<[0-9.]*::' setup.cfg || die + distutils-r1_src_prepare + + # CI=1 disables rebuilding webpack that requires npm use + # yes, that surely makes sense + export CI=1 +} |