mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 04:30:56 +02:00
* ERROR: app-forensics/pdfid-0.2.8::pentoo failed (depend phase):
* Invalid implementation in PYTHON_COMPAT: python3_14
*
* Call stack:
* ebuild.sh, line 625: Called source '/var/db/repos/pentoo/app-forensics/pdfid/pdfid-0.2.8.ebuild'
* pdfid-0.2.8.ebuild, line 8: Called inherit 'python-r1' 'unpacker'
* ebuild.sh, line 310: Called __qa_source '/var/db/repos/gentoo/eclass/python-r1.eclass'
* ebuild.sh, line 123: Called source '/var/db/repos/gentoo/eclass/python-r1.eclass'
* python-r1.eclass, line 232: Called _python_set_globals
* python-r1.eclass, line 186: Called _python_set_impls
* python-utils-r1.eclass, line 151: Called die
* The specific snippet of code:
* die "Invalid implementation in PYTHON_COMPAT: ${i}"
36 lines
808 B
Bash
36 lines
808 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..13} )
|
|
|
|
inherit python-r1 unpacker
|
|
|
|
DESCRIPTION="This tool will scan a PDF document looking for certain keyword"
|
|
HOMEPAGE="https://blog.didierstevens.com/programs/pdf-tools/"
|
|
|
|
MY_P="${PN}_v$(ver_rs 1- '_')"
|
|
SRC_URI="https://didierstevens.com/files/software/${MY_P}.zip"
|
|
|
|
S="${WORKDIR}"
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm x86"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
RDEPEND="${PYTHON_DEPS}"
|
|
DEPEND="${RDEPEND}
|
|
$(unpacker_src_uri_depends)"
|
|
|
|
PATCHES=( "${FILESDIR}"/pdfid-0.2.7_pentoo.patch )
|
|
|
|
src_install() {
|
|
insinto "/etc/${PN}"
|
|
doins pdfid.ini
|
|
|
|
insinto "/usr/share/${PN}"
|
|
doins plugin_*
|
|
|
|
python_foreach_impl python_newscript pdfid.py pdfid
|
|
}
|