mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
26 lines
667 B
Bash
26 lines
667 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: Exp $
|
|
|
|
MY_P="${PN}_V${PV//./_}"
|
|
SRC_URI="http://www.didierstevens.com/files/software/${MY_P}.zip"
|
|
DESCRIPTION="This tool will parse a PDF document to identify the fundamental elements used"
|
|
HOMEPAGE="http://blog.didierstevens.com/programs/pdf-tools/"
|
|
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm ppc ppc64 x86"
|
|
IUSE=""
|
|
EAPI="2"
|
|
RDEPEND="virtual/python"
|
|
DEPEND="app-arch/unzip"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_prepare() {
|
|
sed -e 's/TestPythonVersion(enforceMaximumVersion=True)/# REM/' -i pdf-parser.py
|
|
}
|
|
|
|
src_install() {
|
|
newbin "${PN}.py" "${PN}"
|
|
}
|