diff --git a/dev-python/py-pdf-parser/Manifest b/dev-python/py-pdf-parser/Manifest new file mode 100644 index 000000000..cad32a16c --- /dev/null +++ b/dev-python/py-pdf-parser/Manifest @@ -0,0 +1 @@ +DIST py-pdf-parser-0.11.0.tar.gz 44729 BLAKE2B 79ea7f863ae8144a07e2239c3bb20e24acb63e67f324dbd7b0daeecc5efb0c23f8d4dd539b45f18e3e76547726e30ac42aa844a646f1831c7659f3682c67f67a SHA512 e4f11df249eae956445d64d14462fe2f27bd5f9b285dd0d20ae2237bee7aa064b91bbd5e6e91393c8a8de7dbae0acc4576b4eb6895d83bd2fc8ad62337d3baae diff --git a/dev-python/py-pdf-parser/py-pdf-parser-0.11.0.ebuild b/dev-python/py-pdf-parser/py-pdf-parser-0.11.0.ebuild new file mode 100644 index 000000000..929154090 --- /dev/null +++ b/dev-python/py-pdf-parser/py-pdf-parser-0.11.0.ebuild @@ -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 +} diff --git a/dev-python/pyvoronoi/pyvoronoi-1.0.7_p20171002.ebuild b/dev-python/pyvoronoi/pyvoronoi-1.0.7_p20171002.ebuild new file mode 100644 index 000000000..134f9bb73 --- /dev/null +++ b/dev-python/pyvoronoi/pyvoronoi-1.0.7_p20171002.ebuild @@ -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}" diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index f793cc50b..dd116d653 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -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* diff --git a/profiles/pentoo/base/package.accept_keywords/sci-libs b/profiles/pentoo/base/package.accept_keywords/sci-libs index d6a2c6421..8eb2ac0ac 100644 --- a/profiles/pentoo/base/package.accept_keywords/sci-libs +++ b/profiles/pentoo/base/package.accept_keywords/sci-libs @@ -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