From 575033ad4d3eb7a9f8aded1d6f4dc4f509ef2766 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Tue, 22 Nov 2022 11:19:47 +0500 Subject: [PATCH] dev-python/sphinx-hoverxref: new package, add 1.3.0 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/sphinx-hoverxref/Manifest | 1 + dev-python/sphinx-hoverxref/metadata.xml | 13 +++++ .../sphinx-hoverxref-1.3.0.ebuild | 49 +++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 dev-python/sphinx-hoverxref/Manifest create mode 100644 dev-python/sphinx-hoverxref/metadata.xml create mode 100644 dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild diff --git a/dev-python/sphinx-hoverxref/Manifest b/dev-python/sphinx-hoverxref/Manifest new file mode 100644 index 0000000000..2164c9d521 --- /dev/null +++ b/dev-python/sphinx-hoverxref/Manifest @@ -0,0 +1 @@ +DIST sphinx-hoverxref-1.3.0.gh.tar.gz 1720899 BLAKE2B dae94b9ba8fb46e76d669548d9cfb41cc858756d800c5be8bdc73fb58c44587d56dd1fdb2c402ef8cb685f03f5e09a58852dff51c4670de9116e0f35f39fdb66 SHA512 29b61e9391b973094acccfed8206dd9b49aa1954621727b7bf1e2914bf91f8840b3114937f8fde386f6d9dca680330192df66cade4f9eb9952971111de9f0cf7 diff --git a/dev-python/sphinx-hoverxref/metadata.xml b/dev-python/sphinx-hoverxref/metadata.xml new file mode 100644 index 0000000000..8b7f17e502 --- /dev/null +++ b/dev-python/sphinx-hoverxref/metadata.xml @@ -0,0 +1,13 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + https://sphinx-hoverxref.readthedocs.io/en/latest/ + sphinx-hoverxref + readthedocs/sphinx-hoverxref + + diff --git a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild new file mode 100644 index 0000000000..db85821d6e --- /dev/null +++ b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to show tooltips with content embedded when hover a reference" +HOMEPAGE=" + https://pypi.org/project/sphinx-hoverxref/ + https://github.com/readthedocs/sphinx-hoverxref +" +SRC_URI="https://github.com/readthedocs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jquery[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/sphinxcontrib-bibtex[${PYTHON_USEDEP}] + dev-python/sphinx-testing[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # tests that require network + tests/test_htmltag.py::test_intersphinx_default_configs + tests/test_htmltag.py::test_intersphinx_python_mapping + tests/test_htmltag.py::test_intersphinx_all_mappings +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-autoapi \ + dev-python/sphinx-notfound-page \ + dev-python/sphinx-prompt \ + dev-python/sphinx-tabs \ + dev-python/sphinx-version-warning \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinxcontrib-bibtex \ + dev-python/sphinxemoji