Сравнение sphinxcontrib-doxylink-1.5-r1 с sphinxcontrib-doxylink-1.12.2

/usr/portage/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.2.ebuild 2023-10-09 14:52:30.380368373 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
5
PYTHON_COMPAT=( python3_7 )
4
EAPI=8
5

  
6
DISTUTILS_USE_PEP517=poetry
7
PYTHON_COMPAT=( python3_{10..12} )
6 8

  
7 9
inherit distutils-r1
8 10

  
9 11
DESCRIPTION="Extension to link to external Doxygen API documentation"
10
HOMEPAGE="https://pypi.org/project/sphinxcontrib-doxylink/ https://pythonhosted.org/sphinxcontrib-doxylink/ https://bitbucket.org/birkenfeld/sphinx-contrib"
11
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
12
HOMEPAGE="
13
	https://pypi.org/project/sphinxcontrib-doxylink/
14
	https://pythonhosted.org/sphinxcontrib-doxylink/
15
	https://github.com/sphinx-contrib/doxylink/
16
"
17
SRC_URI="
18
	https://github.com/sphinx-contrib/doxylink/archive/refs/tags/${PV}.tar.gz
19
		-> ${P}.gh.tar.gz
20
"
21
S="${WORKDIR}/doxylink-${PV}"
12 22

  
13 23
LICENSE="BSD-2"
14 24
SLOT="0"
15 25
KEYWORDS="amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux"
16 26

  
17 27
RDEPEND="
18
	>=dev-python/sphinx-1.0[${PYTHON_USEDEP}]
19
	dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
20
	dev-python/pyparsing[${PYTHON_USEDEP}]
28
	>=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
29
	>=dev-python/pyparsing-3.0.8[${PYTHON_USEDEP}]
30
	>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
21 31
"
22
DEPEND="${RDEPEND}
23
	dev-python/setuptools[${PYTHON_USEDEP}]"
24 32

  
25
src_prepare() {
26
	# any better idea ?
27
	rm -rf tests
28
	distutils-r1_src_prepare
29
}
33
BDEPEND="
34
	test? (
35
		app-doc/doxygen
36
		>=dev-python/testfixtures-6.18.5[${PYTHON_USEDEP}]
37
	)
38
"
30 39

  
31
python_install_all() {
32
	distutils-r1_python_install_all
33
	find "${ED}" -name '*.pth' -delete || die
40
distutils_enable_tests pytest
41
distutils_enable_sphinx doc \
42
	dev-python/sphinx-rtd-theme
43

  
44
python_test() {
45
	distutils_write_namespace sphinxcontrib
46
	cd "${T}" || die
47
	epytest "${S}"/tests
34 48
}
Спасибо!