pentoo-overlay/dev-python/py-pdf-parser/py-pdf-parser-0.11.0.ebuild
Anton Bolshakov 3fe1c719ef
py-pdf-parser
2023-10-17 00:07:17 +08:00

39 lines
836 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="A tool to help extracting information from structured PDFs."
HOMEPAGE="https://github.com/jstockwin/py-pdf-parser"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
app-text/pdfminer[${PYTHON_USEDEP}]
dev-python/docopt[${PYTHON_USEDEP}]
dev-python/wand[${PYTHON_USEDEP}]
"
# "matplotlib==3.5.1",
# "pillow==9.2.0",
# "pyvoronoi==1.0.7",
# "shapely==1.8.2",
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#distutils_enable_tests pytest
src_prepare(){
rm -r tests
sed -i -e 's|==|>=|g' setup.py || die
eapply_user
}