py-pdf-parser

This commit is contained in:
Anton Bolshakov 2023-10-17 00:07:17 +08:00
parent de65fcf3bc
commit 3fe1c719ef
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
5 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST py-pdf-parser-0.11.0.tar.gz 44729 BLAKE2B 79ea7f863ae8144a07e2239c3bb20e24acb63e67f324dbd7b0daeecc5efb0c23f8d4dd539b45f18e3e76547726e30ac42aa844a646f1831c7659f3682c67f67a SHA512 e4f11df249eae956445d64d14462fe2f27bd5f9b285dd0d20ae2237bee7aa064b91bbd5e6e91393c8a8de7dbae0acc4576b4eb6895d83bd2fc8ad62337d3baae

View file

@ -0,0 +1,39 @@
# 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
}

View file

@ -0,0 +1,26 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
EGIT_OVERRIDE_COMMIT_VOXEL8_PYVORONOI="8ba7957141a3f39a90b48127bf971be76275faba"
inherit distutils-r1 git-r3
DESCRIPTION="Cython wrapper for the Boost Voronoi library "
HOMEPAGE="https://github.com/Voxel8/pyvoronoi"
EGIT_REPO_URI="https://github.com/Voxel8/pyvoronoi.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RDEPEND=""
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

View file

@ -368,3 +368,6 @@ dev-python/browser-cookie3
# needed for newer dev-python/pyparsing
~dev-python/matplotlib-3.7.2
dev-python/py-pdf-parser
=dev-python/wand-0.6*

View file

@ -12,3 +12,6 @@ sci-electronics/litescope
~sci-libs/cblas-reference-20161223
#required by app-forensics/eagleeye deps
~sci-libs/dlib-19.16
# requires for gcc-13
~sci-libs/geo-3.12.0