Diff pyocr-0.8.3 with a pyocr-0.8.5
/usr/portage/dev-python/pyocr/pyocr-0.8.5.ebuild 2023-10-09 14:52:30.340368372 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
8 | 8 | |
9 | 9 |
inherit distutils-r1 pypi |
10 | 10 | |
11 | 11 |
DESCRIPTION="An optical character recognition (OCR) tool wrapper" |
12 |
HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/pyocr" |
|
12 |
HOMEPAGE=" |
|
13 |
https://gitlab.gnome.org/World/OpenPaperwork/pyocr/ |
|
14 |
https://pypi.org/project/pyocr/ |
|
15 |
" |
|
13 | 16 | |
14 | 17 |
LICENSE="GPL-3+" |
15 | 18 |
SLOT="0" |
... | ... | |
22 | 25 |
" |
23 | 26 |
BDEPEND=" |
24 | 27 |
dev-python/setuptools-scm[${PYTHON_USEDEP}] |
25 |
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] |
|
26 | 28 |
" |
27 | 29 | |
28 | 30 |
# (tests apparently do not require any backend installed) |
... | ... | |
32 | 34 |
cuneiform? ( app-text/cuneiform ) |
33 | 35 |
tesseract? ( app-text/tesseract ) |
34 | 36 |
" |
35 | ||
36 |
src_prepare() { |
|
37 |
# workaround setuptools failing due to version being None |
|
38 |
# https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/issues/127 |
|
39 |
sed -i -e '/version=version/d' setup.py || die |
|
40 |
distutils-r1_src_prepare |
|
41 |
} |