dev-python/stapler: new ebuild.

stapler is a suite of tools for PDF files manipulation. It makes use of
the PyPDF2 library to provide a (somewhat) lighter alternative to pdftk.

See https://github.com/hellerbarde/stapler.

Bug: https://bugs.gentoo.org/562568

Package-Manager: Portage-2.3.13, Repoman-2.3.3
Reviewed-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
Patrice Clement
2018-01-04 15:30:42 +01:00
parent 04eb8b7815
commit ce2f044cc6
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST stapler-0.4_p20160424.tar.gz 34318 BLAKE2B 081f32c4eb30a8f26f0c64784c8ec05b621f1c4051e1c76f501f3efa32f6d59aaf7be8318455d379c2d933aa34b5d9d5abc230c575e2eca926f18a4af35a7013 SHA512 b93bf0f253ee6214aeabde2d4c636d2544d446c90fa473e6ee5698936c2605d64c6f6e672ef99387f79458d7e52005e7e2eb76db0c5e2271fadd1603418e2cd6

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Gentoo Python Project</name>
</maintainer>
<upstream>
<remote-id type="github">hellerbarde/stapler</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
# Commit Date: 26th Apr 2016
COMMIT="7c153e6a8f52573ff886ebf0786b64e17699443a"
DESCRIPTION="Suite of tools for PDF files manipulation written in Python"
HOMEPAGE="https://github.com/hellerbarde/stapler"
SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/PyPDF2[${PYTHON_USEDEP}]
dev-python/more-itertools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${PN}-${COMMIT}"