mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
pdf-parser: drop old
This commit is contained in:
parent
8c5998c992
commit
63edabb256
2 changed files with 0 additions and 46 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST pdf-parser_V0_7_3.zip 14911 BLAKE2B 82869dafa850f1e54c1c7866dc5e668735e8b959e5f80d2718b9bc36fcf04c1cd2f33bea6b92d15cd6c10ae9b3b1b83582a675217a613175d149392bd8938348 SHA512 2b3a0d0c80a421430839bbb7555722bc0a2239e5203f9ac4a81fae77aa98af2c78fcbb496b6d67bcb94d1698513da0124d79eb9689b9bc65fe2f0e58981a6efb
|
||||
DIST pdf-parser_V0_7_4.zip 14999 BLAKE2B 94764426afe8854832102afd4c71100f1f8b3e436ba25b94b07e101d6c7b156921fa49aaca01c34d67e167f7cfadcbfd125ded03a531e011fa71605399988b05 SHA512 9984cd9792818331224e74c450065a815b8081147541ba911d13913fb62202c3e50a752f3e3d8600d763f1f9ca0f2615afb4761c81520da2046400236f20ce40
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit python-r1 unpacker
|
||||
|
||||
DESCRIPTION="This tool will parse a PDF document to identify the fundamental elements used"
|
||||
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"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="unicode yara"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(unpacker_src_uri_depends)"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
yara? ( dev-python/yara-python[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
# Enable check maximum version of the python3
|
||||
sed -e 's/TestPythonVersion(enforceMaximumVersion=True)/# REM/' \
|
||||
-i pdf-parser.py || die
|
||||
|
||||
# Fix encoding errors when reading files
|
||||
use unicode && eapply "${FILESDIR}/${PV}_define_encoding_format.patch"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_newscript pdf-parser.py pdf-parser
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nSee more: https://blog.didierstevens.com/2008/04/09/quickpost-about-the-physical-and-logical-structure-of-pdf-files/\n"
|
||||
}
|
||||
Loading…
Reference in a new issue