From a046130dc7c805f711d0040d97e6355d152102ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 27 Jun 2025 21:17:21 +0200 Subject: [PATCH] dev-python/sphinxcontrib-bibtex: Bump to 2.6.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sphinxcontrib-bibtex/Manifest | 1 + .../sphinxcontrib-bibtex-2.6.5.ebuild | 57 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.5.ebuild diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index 3b7fbe4286af8..fe402b79cc8b9 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib_bibtex-2.6.3.tar.gz 117177 BLAKE2B 282135eba34e957584bdf2d86c3ffa1952aaedf87115ab800620ad12736dbb18417e344c2e692f3e8862b8f114b0110d4797018e616b738556a9aebab0afc3ae SHA512 5f5e6ff1616735987c2ff9826853db0ec739f7477100b5abb60208233ccd962fe43946f372c42ace53353a2983b1eeefade0a5020cd848ef8ba1289b533d2248 +DIST sphinxcontrib_bibtex-2.6.5.tar.gz 118462 BLAKE2B 42c2032fbc67a4b7fae8fbb4d407f0984cc10415be0490aa302c3657b99429989223ff0ec3e70bfb102f7980947da666e1ccb602da9f699e52fcc22578264d24 SHA512 514bbe4f9b705e68e6098deefbd8be1234edd12752f32892bdc67bedcca5df85f605da4d6660486eb387e8c42da9bd8633201c40f3d11591dd2cf1840c27ec53 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.5.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.5.ebuild new file mode 100644 index 0000000000000..77b46035b93ee --- /dev/null +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extensions for BibTeX style citations" +HOMEPAGE=" + https://github.com/mcmtroffaes/sphinxcontrib-bibtex/ + https://pypi.org/project/sphinxcontrib-bibtex/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/docutils-0.8[${PYTHON_USEDEP}] + >=dev-python/pybtex-0.25[${PYTHON_USEDEP}] + >=dev-python/pybtex-docutils-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/numpydoc[${PYTHON_USEDEP}] + dev-python/sphinx-autoapi[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # rinoh not packaged + test/test_citation_rinoh.py::test_citation_rinoh + test/test_citation_rinoh.py::test_citation_rinoh_multidoc + # TODO + test/test_debug.py::test_debug_docutils_citation + test/test_debug.py::test_debug_bibtex_citation + test/test_debug.py::test_debug_minimal_example +) + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest +distutils_enable_sphinx doc + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + epytest +}