mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
pdf-parser: fix download, minor qa
This commit is contained in:
parent
5ac0c3ee07
commit
d569ab9740
2 changed files with 3 additions and 6 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST pdf-parser_V0_7_6.zip 15103 BLAKE2B a26859a1cca150bc0a1c3769c4cb73f3eeeb153ae3f12b5aeb5b2f5604b994a9883f0c4992817ab1da89a4a4259d4a1420703606348c27d052f81dc1bd6187eb SHA512 5ecab205744e262049e76282eb94ecc313ba9e0550392f7b65aac47a1fc470efab9a8f9ea9ed479eecdfe4c0618e67f42c043e2410820819726df86ddc5f635f
|
||||
DIST pdf-parser_V0_7_8.zip 15953 BLAKE2B 60080634cb644a547076706f87b35bf74c8312aaff8a812cde7fa4923eac8efb32fc4e652e40d097d4279ba32b707f379104416614c56b114f2ca20b9ba45dbb SHA512 f015abf65713e839d13bc94afd53a7ac276355db45f4e1638d2a87a3dd51937c5cf6c7720871920bb9c6f9d32eec609c7fc5baec8455e2f79dce5bb3b12ea9cc
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -11,8 +11,9 @@ DESCRIPTION="This tool will parse a PDF document to identify the fundamental ele
|
|||
HOMEPAGE="https://blog.didierstevens.com/programs/pdf-tools/"
|
||||
|
||||
MY_P="${PN}_V$(ver_rs 1- '_')"
|
||||
SRC_URI="https://www.didierstevens.com/files/software/${MY_P}.zip"
|
||||
SRC_URI="https://didierstevens.com/files/software/${MY_P}.zip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
|
@ -20,13 +21,10 @@ IUSE="unicode yara"
|
|||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(unpacker_src_uri_depends)"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
yara? ( dev-python/yara-python[${PYTHON_USEDEP}] )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
# Enable check maximum version of the python3
|
||||
sed -e 's/TestPythonVersion(enforceMaximumVersion=True)/# REM/' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue