Сравнение pdfminer-20220506 с pdfminer-20221105

/usr/portage/app-text/pdfminer/pdfminer-20221105.ebuild 2023-10-09 14:52:28.888368335 +0300
4 4
EAPI=8
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
7
PYTHON_COMPAT=( python3_{9..12} )
8 8
inherit distutils-r1
9 9

  
10 10
MY_P="${PN}.six-${PV}"
11 11
DESCRIPTION="Python tool for extracting information from PDF documents"
12 12
HOMEPAGE="https://pdfminersix.readthedocs.io/en/latest/"
13 13
# Release tarballs lack tests
14
#SRC_URI="https://github.com/pdfminer/pdfminer.six/releases/download/${PV}/${MY_P}.tar.gz"
15
SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
16
S="${WORKDIR}"/${MY_P}
14
SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
15
S="${WORKDIR}/${MY_P}"
17 16

  
18 17
LICENSE="MIT"
19 18
SLOT="0"
20
KEYWORDS="amd64 x86"
19
KEYWORDS="~amd64 ~x86"
21 20
IUSE="doc examples"
22 21

  
23 22
RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}]
24 23
	>=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]"
25 24

  
25
distutils_enable_sphinx docs "dev-python/sphinx-argparse"
26 26
distutils_enable_tests pytest
27 27

  
28 28
python_prepare_all() {
29
	sed -i -e "s:package.__version__:${PV}:" setup.py || die
30

  
29
	sed -i -e "s:__VERSION__:${PV}:g" pdfminer/__init__.py || die
31 30
	distutils-r1_python_prepare_all
32 31
}
33 32

  
34 33
python_compile_all() {
35
	use examples && emake -C samples all
34
	# Non-standard doc generation
35
	if use doc; then
36
		PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}/install" sphinx-build docs/source "${WORKDIR}"/_docs
37
		HTML_DOCS=( "${WORKDIR}"/_docs/. )
38
	fi
36 39
}
37 40

  
38 41
python_install_all() {
39
	use doc && local HTML_DOCS=( docs/. )
40 42
	use examples && dodoc -r samples
41 43
	distutils-r1_python_install_all
42 44
}
Спасибо!