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: Mon, 13 Sep 2021 07:31:10
Message-Id: 1631518258.769846a23def9c06458dc8103968d0735e69fa46.andrewammerlaan@gentoo
1 commit: 769846a23def9c06458dc8103968d0735e69fa46
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 13 06:53:35 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 13 07:30:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=769846a2
7
8 dev-python/sphinxcontrib-bibtex: add version 2.4.1
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/sphinxcontrib-bibtex/Manifest | 1 +
14 .../sphinxcontrib-bibtex-2.4.1.ebuild | 38 ++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest
18 index 8a3ed968d47..f15517fc228 100644
19 --- a/dev-python/sphinxcontrib-bibtex/Manifest
20 +++ b/dev-python/sphinxcontrib-bibtex/Manifest
21 @@ -1 +1,2 @@
22 DIST sphinxcontrib-bibtex-2.3.0.tar.gz 100159 BLAKE2B 96c9ebf48f11354ea3978a053828f9290457aff4fa1f0bb3d9f94bfe6fb5d5463f83bb12004f22bf8e34a517393848482a27d6754c682d25a0de64c3c7d06ecc SHA512 84652cfc7ad19ad5cdc1dba9a8aa7f835c5c95850a8e941067fd79b6b271733a63a1ba457a59e18156737888c2f42350b7fe0cf2d55ea478629b74b00d14f908
23 +DIST sphinxcontrib-bibtex-2.4.1.tar.gz 108355 BLAKE2B 2ebe53186b7bbf6ef5e09f05e3586b3a2d126978ef87a023f577cb9768621ceea8eaba8be3d03f55d3c7cd0cd7682c598cf141468129866fb7ac9f08ed0e9245 SHA512 9f323379d2626837dc199ac6c63c555eef8a9fa7c1b215f68d5f2c2769ff4027a027c1a46abe9b09aadf87144ddb22e08aaa47838183a82ff0e12fbd91a5334a
24
25 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.1.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.1.ebuild
26 new file mode 100644
27 index 00000000000..11d9bca9506
28 --- /dev/null
29 +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.1.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Sphinx extensions for BibTeX style citations"
40 +HOMEPAGE="https://github.com/mcmtroffaes/sphinxcontrib-bibtex"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="
48 + dev-python/docutils[${PYTHON_USEDEP}]
49 + dev-python/pybtex[${PYTHON_USEDEP}]
50 + dev-python/pybtex-docutils[${PYTHON_USEDEP}]
51 + dev-python/sphinx[${PYTHON_USEDEP}]
52 +"
53 +
54 +distutils_enable_tests --install pytest
55 +distutils_enable_sphinx doc
56 +
57 +python_prepare_all() {
58 + # pybtex.plugin.PluginNotFound: plugin pybtex.style.names.last not found
59 + # This particular style seems to be removed?
60 + rm test/test_citation.py test/test_footcite.py test/test_style.py || die
61 +
62 + distutils-r1_python_prepare_all
63 +}
64 +
65 +python_install_all() {
66 + distutils-r1_python_install_all
67 + find "${D}" -name '*.pth' -delete || die
68 +}