mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
make-pdf: fix download link, minor qa
This commit is contained in:
parent
87923e3bba
commit
1378e2afd1
1 changed files with 6 additions and 8 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit python-r1 unpacker
|
||||
|
||||
|
|
@ -11,20 +11,18 @@ DESCRIPTION="This tool will embed javascript inside a PDF document"
|
|||
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 ~arm x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
$(unpacker_src_uri_depends)"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "1i #!\/usr\/bin\/python\\n" \
|
||||
-i make-pdf-helloworld.py || die
|
||||
|
|
|
|||
Loading…
Reference in a new issue