diff options
Diffstat (limited to 'dev-python/sphinxcontrib-bibtex')
-rw-r--r-- | dev-python/sphinxcontrib-bibtex/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index f229e9f1521f..4755c134c0fb 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -1,3 +1,5 @@ DIST sphinxcontrib-bibtex-2.4.2.tar.gz 284061 BLAKE2B 06d9a868da621cca522c45998ce5f28a5aafc501127760c494e9e796d807800cccf3ee0cace7f4b824a00a76e8dd80e77d0ac5e037f2eaebbeec2ce4ea2ead70 SHA512 52d47bf0a20ef13f29b712bbe66cbcb98bd9531b8032a847375ff23180368decc3f89c2323b9ccff77c9bc9fdada63c521a81da6b701533973fcf627c2672e82 +DIST sphinxcontrib-bibtex-2.5.0.tar.gz 113310 BLAKE2B 5bd39fccf33897bbbf8359a09f07a6e7146d4fb3c1ccb63ad96d3980cc4a256e0b9b37bbf6ceadf65eb01937741934e1f30841587eb6246b50774c81e8428998 SHA512 c99b4bf8cbc73e94e7e4486b4cb58de0dc928079b320ee7d7a473ee27b7f1e349a4765a30059aadc3fb0c6161940c6f2eaf7afdf5ac1c64ba73ed80fba5b5e45 EBUILD sphinxcontrib-bibtex-2.4.2.ebuild 895 BLAKE2B 5533d9858e42d8fcf23a9ba60f2a250bb0ff76745ce1ba1e3a96ed146e31493356468a2d621e320fe2c9018fa58418d0ff1b112ad034ed41df66c4e77e7c8ca1 SHA512 17928c553024121f85ad78a6071f75b12056aedb76314844211029f7f771658a4fa2a7e8a43fca7c435bbf1e176102e7dbb6dab0a57d9675a62e85eda8963fb3 +EBUILD sphinxcontrib-bibtex-2.5.0.ebuild 1123 BLAKE2B b0f904ddc4ffae1b32b85af1d0ceb1a9193dbb609313a2773079900877082b771fc14050d7160228e7cdcf38a3ef1d72222944097051671138fbe4f45edd9f98 SHA512 f7bf3ebf7e4b98497bcd7a2b131b827c88be08fa95cb0138edb0d690be1650730e229dcc22a66965bbaa2b681ff4c58a7196c4d42689e4d87291cecfbd466155 MISC metadata.xml 539 BLAKE2B 9990d81362d6a2d5bb471fa2372b92d3ce4a4d08e57098dbe981b7a2320c46095e404a6077c5d5c57daf752c03bb4cb809461a05f11e1c2ecf771db201f8147c SHA512 421b99f9834ca4240a7959f99a8907379e0730b8c2ce608533ba4cafff3a8502738044675f0abed00f5f1cec195c18f5fd933404afff6f3c9b74c7cca02dba31 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild new file mode 100644 index 000000000000..6ba25e18e884 --- /dev/null +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx extensions for BibTeX style citations" +HOMEPAGE="https://github.com/mcmtroffaes/sphinxcontrib-bibtex" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/docutils-0.8[${PYTHON_USEDEP}] + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/pybtex-0.24[${PYTHON_USEDEP}] + >=dev-python/pybtex-docutils-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-2.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/numpydoc[${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 +} |