commit: 29d545d0dcf368574e9e6fd78394dbc84614fa76
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 02:51:51 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 03:12:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d545d0
dev-python/sphinxcontrib-bibtex: Bump to 2.6.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinxcontrib-bibtex/Manifest | 1 +
.../sphinxcontrib-bibtex-2.6.3.ebuild | 51 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/sphinxcontrib-bibtex/Manifest
b/dev-python/sphinxcontrib-bibtex/Manifest
index a6f0b8f7093c..21021e176979 100644
--- a/dev-python/sphinxcontrib-bibtex/Manifest
+++ b/dev-python/sphinxcontrib-bibtex/Manifest
@@ -1 +1,2 @@
DIST sphinxcontrib-bibtex-2.6.2.tar.gz 117459 BLAKE2B
663521602282e360525354cc5ebffdba9e039f5d523774465f0b9318b39aa6429837164fc24e60d7646d204798a7b97d9defc176248b2793e7f7bbfeffc5c56a
SHA512
a2b48306078de902cfdedbcafe94ea8aefcfff5285ec651fd1d0fe2c452818f9383ba486fb64e2ef4a294782445db2854bbdd158ab2aa1a49ed4adef85e9c82b
+DIST sphinxcontrib_bibtex-2.6.3.tar.gz 117177 BLAKE2B
282135eba34e957584bdf2d86c3ffa1952aaedf87115ab800620ad12736dbb18417e344c2e692f3e8862b8f114b0110d4797018e616b738556a9aebab0afc3ae
SHA512
5f5e6ff1616735987c2ff9826853db0ec739f7477100b5abb60208233ccd962fe43946f372c42ace53353a2983b1eeefade0a5020cd848ef8ba1289b533d2248
diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild
b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild
new file mode 100644
index 000000000000..643012a3659d
--- /dev/null
+++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..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.24[${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
+)
+
+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
+}