summaryrefslogtreecommitdiff
path: root/app-text/pdfminer
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pdfminer')
-rw-r--r--app-text/pdfminer/Manifest4
-rw-r--r--app-text/pdfminer/pdfminer-20240706.ebuild (renamed from app-text/pdfminer/pdfminer-20220506.ebuild)20
2 files changed, 9 insertions, 15 deletions
diff --git a/app-text/pdfminer/Manifest b/app-text/pdfminer/Manifest
index 1a2db2a53471..b06ddbc8d6ca 100644
--- a/app-text/pdfminer/Manifest
+++ b/app-text/pdfminer/Manifest
@@ -1,5 +1,5 @@
-DIST pdfminer-20220506.tar.gz 10853104 BLAKE2B b6008db789973fb69537801b8e928761bd0a949cc72ddf380fd71b6373913f6a689b71bee159e6991e99c196b7e8a1fac5530d2bf9c577e53b8b556bed00b85a SHA512 b81916c70f22f3408cf41a50d35937f950ee6205f59fa03603bc7a78d1b1b037311ebaf5661f6d46b9d4190f2f56189fc28b714463dc5854328c14f97fbc28c4
DIST pdfminer.six-20221105.gh.tar.gz 10857730 BLAKE2B dd9282bfc3c636676f087e6ffc2cfb137f66eee18427f08de488c7bdc13bd27b6cc674d3b75c93d1566668272ee4111e3347664a70152bd4b2f7e4e63664d01b SHA512 72034a75005c91100274f86baa4c8884caad86aacf94ca9d0d5a51d8b3c772aa0bcd766416bed9e26df00bd9a2be585649eaa24321735f532e40a3871e19c6df
-EBUILD pdfminer-20220506.ebuild 1123 BLAKE2B d887decf4a6b950d7c70c1d92be1e9a48f2ab6b0b5d841ec27c16691b2958eec6c1a8c71bf6bee285d3a4677d90681d614b5e0e3a0e235887831362f99b60f91 SHA512 e94042adfdf07dca07525e47a31a99ad61da2610b09f533c4229ea79a498a3023e37b9cb8740074f6cd52339ac71d17ad235a04b188791f9919224bcdb9eb964
+DIST pdfminer.six-20240706.gh.tar.gz 11010877 BLAKE2B 7253d9fbdd44bce80b46d2006caa530b628327c2a2c5d68dd165267b7f2c1078895361da62b508991e4c0938163835a3381356e7353efd7208ee7b9e5ee3a0bd SHA512 01359926e889788daf92db8845978c3cd6e0b88c0659041d2df26d48e558a2918aa373ab86db19bc3c314220ed8c5070778d5b7fd1457b9145fe67aa735a94b5
EBUILD pdfminer-20221105.ebuild 1005 BLAKE2B cfb847947603bf8685d8b1874b2ed83e5e9712bb9751b09819488c086bc5d0572173811fe162bdc5d0472ea1fa6f6c61a32a0d84c93605b1d1f95a8ce54e7080 SHA512 2bc6301ef424361ad5f5f956468f21561eb59a1332ec898c165ae012e6833882d3005d17d68a771e7535797fbf6eed4dcb7c6458ef8affa85cffa98ba0797624
+EBUILD pdfminer-20240706.ebuild 1027 BLAKE2B f688efb9132064610de77dddf84f78df0f7c6dc8f19ecfdee30e9beee1ad9e1a968cba526ff1f5d882eaa6f3a2facc20c7f4294d5a113d3e6a3099c48c993d63 SHA512 750f72fb41fed5ebdd8f70e024fc4878992ae4d230ddd32aba215897cd30f08c54c4d1e089830429e66bee8576e74b63c12d329b8fe18016998c6d7774e7589e
MISC metadata.xml 304 BLAKE2B ff3b83eb539e3b10c265d9a8708bd87ac8c071e19540afea2ff14a41c4643065b2d37e651473e040db8c13f0a80b9d5f2d5346763f458bbfb896aa75e0129b02 SHA512 136520029f2cc0394890d854da1b270537ae36cee617a4ae69923ae8da758705a31b0f023ad973f380efd742a0f45411809b86af67d757c163b5723166a28002
diff --git a/app-text/pdfminer/pdfminer-20220506.ebuild b/app-text/pdfminer/pdfminer-20240706.ebuild
index cbc3e5638e44..5ce145c1bb21 100644
--- a/app-text/pdfminer/pdfminer-20220506.ebuild
+++ b/app-text/pdfminer/pdfminer-20240706.ebuild
@@ -1,42 +1,36 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
MY_P="${PN}.six-${PV}"
DESCRIPTION="Python tool for extracting information from PDF documents"
HOMEPAGE="https://pdfminersix.readthedocs.io/en/latest/"
# Release tarballs lack tests
-#SRC_URI="https://github.com/pdfminer/pdfminer.six/releases/download/${PV}/${MY_P}.tar.gz"
-SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
+SRC_URI="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.gh.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]"
+distutils_enable_sphinx docs/source "dev-python/sphinx-argparse"
distutils_enable_tests pytest
python_prepare_all() {
- sed -i -e "s:package.__version__:${PV}:" setup.py || die
-
+ sed -i -z -e "s:setuptools_git_versioning={[^}]*}:version=${PV}:" setup.py || die
distutils-r1_python_prepare_all
}
-python_compile_all() {
- use examples && emake -C samples all
-}
-
python_install_all() {
- use doc && local HTML_DOCS=( docs/. )
use examples && dodoc -r samples
distutils-r1_python_install_all
}