make-pdf: v0.1.7 bump

This commit is contained in:
blshkv 2017-12-02 15:44:18 +08:00
parent 11e9a1e5fa
commit ceda4ddb16
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 34 additions and 3 deletions

View file

@ -1 +1,2 @@
DIST make-pdf_V0_1_4.zip 5217 SHA256 11578a938f9ffcc16456519375af8817c1f8f0d9c41c68bbf78882bfb36b8058 SHA512 a7d1dc1669aca98b081089ef7f0a2fb24a23a281b63f50ccd2721390c4a69b31f03ddfdca57df2842e059a948916dd7b8a2777b497a9dc10701d83fa6f2d5a67 WHIRLPOOL c73173396e990c968a6c0b95637a1e00d52fff5c638f286fe6ef77a8c75acfc3464124c844c3a57bdd77a4becaf7746cdcf2594f9f06adb370ecd7d5f6746999
DIST make-pdf_V0_1_7.zip 9731 SHA256 dcea54c2c260152a01278c6262d82255b5944ed616663b83dc158f74f27f509e SHA512 b1019e81c6d28c62c89b823f425235401855699e79e5ac1ccc8830047cb7665286ff0f91219664d7b30ae4241c5b04ea840b477bec07dbdcd8c96f96b3a54c6d WHIRLPOOL 75108fe79291477b162e1c3797bd87253cf4db501a8f263318d73a905d1351403ccdf22d0077e0b6b81dfc4decab37d5709568b8a5fbf67aae539775d7192631

View file

@ -1,11 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 eutils
inherit python-single-r1 eutils
#python-utils-r1
MY_P="${PN}_V${PV//./_}"

View file

@ -0,0 +1,31 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 eutils
#python-utils-r1
MY_P="${PN}_V${PV//./_}"
SRC_URI="http://www.didierstevens.com/files/software/${MY_P}.zip"
DESCRIPTION="This tool will embed javascript inside a PDF document"
HOMEPAGE="http://blog.didierstevens.com/programs/pdf-tools/"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND=""
DEPEND="app-arch/unzip"
S="${WORKDIR}"
src_install() {
edos2unix mPDF.py "${PN}-javascript.py"
insinto "$(python_get_sitedir)"
doins mPDF.py
python_fix_shebang "${PN}-javascript.py" "${PN}-embedded.py"
newbin "${PN}-javascript.py" "${PN}-javascript"
newbin "${PN}-embedded.py" "${PN}-embedded"
}