Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-bibtex/
Date: Wed, 31 Aug 2022 12:38:24
Message-Id: 1661949492.9a9098775746c7c1703fa1188eb8c291c0d46f75.andrewammerlaan@gentoo
1 commit: 9a9098775746c7c1703fa1188eb8c291c0d46f75
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 12:37:44 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 12:38:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a909877
7
8 dev-python/sphinxcontrib-bibtex: add 2.5.0
9
10 Closes: https://bugs.gentoo.org/866015
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/sphinxcontrib-bibtex/Manifest | 1 +
14 .../sphinxcontrib-bibtex-2.5.0.ebuild | 49 ++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest
18 index 6b2af5ac532d..3d1cbb9616bd 100644
19 --- a/dev-python/sphinxcontrib-bibtex/Manifest
20 +++ b/dev-python/sphinxcontrib-bibtex/Manifest
21 @@ -1 +1,2 @@
22 DIST sphinxcontrib-bibtex-2.4.2.tar.gz 284061 BLAKE2B 06d9a868da621cca522c45998ce5f28a5aafc501127760c494e9e796d807800cccf3ee0cace7f4b824a00a76e8dd80e77d0ac5e037f2eaebbeec2ce4ea2ead70 SHA512 52d47bf0a20ef13f29b712bbe66cbcb98bd9531b8032a847375ff23180368decc3f89c2323b9ccff77c9bc9fdada63c521a81da6b701533973fcf627c2672e82
23 +DIST sphinxcontrib-bibtex-2.5.0.tar.gz 113310 BLAKE2B 5bd39fccf33897bbbf8359a09f07a6e7146d4fb3c1ccb63ad96d3980cc4a256e0b9b37bbf6ceadf65eb01937741934e1f30841587eb6246b50774c81e8428998 SHA512 c99b4bf8cbc73e94e7e4486b4cb58de0dc928079b320ee7d7a473ee27b7f1e349a4765a30059aadc3fb0c6161940c6f2eaf7afdf5ac1c64ba73ed80fba5b5e45
24
25 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild
26 new file mode 100644
27 index 000000000000..6ba25e18e884
28 --- /dev/null
29 +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Sphinx extensions for BibTeX style citations"
42 +HOMEPAGE="https://github.com/mcmtroffaes/sphinxcontrib-bibtex"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +RDEPEND="
50 + >=dev-python/docutils-0.8[${PYTHON_USEDEP}]
51 + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
52 + >=dev-python/pybtex-0.24[${PYTHON_USEDEP}]
53 + >=dev-python/pybtex-docutils-1.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/sphinx-2.1[${PYTHON_USEDEP}]
55 +"
56 +BDEPEND="
57 + test? (
58 + dev-python/numpydoc[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +EPYTEST_DESELECT=(
63 + # rinoh not packaged
64 + test/test_citation_rinoh.py::test_citation_rinoh
65 + test/test_citation_rinoh.py::test_citation_rinoh_multidoc
66 +)
67 +
68 +distutils_enable_tests pytest
69 +distutils_enable_sphinx doc
70 +
71 +python_compile() {
72 + distutils-r1_python_compile
73 + find "${BUILD_DIR}" -name '*.pth' -delete || die
74 +}
75 +
76 +python_test() {
77 + distutils_write_namespace sphinxcontrib
78 + epytest
79 +}