summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-01-04 15:30:42 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-01-04 16:07:54 +0100
commitce2f044cc673a6d08cd8a40459bd0dbf66df864e (patch)
tree1fdec06084174c0aed9bc442a87b042354b402e9
parentmail-client/thunderbird: cleanup old (diff)
downloadgentoo-ce2f044cc673a6d08cd8a40459bd0dbf66df864e.tar.gz
gentoo-ce2f044cc673a6d08cd8a40459bd0dbf66df864e.tar.bz2
gentoo-ce2f044cc673a6d08cd8a40459bd0dbf66df864e.zip
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>
-rw-r--r--dev-python/stapler/Manifest1
-rw-r--r--dev-python/stapler/metadata.xml11
-rw-r--r--dev-python/stapler/stapler-0.4_p20160424.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/stapler/Manifest b/dev-python/stapler/Manifest
new file mode 100644
index 00000000000..a0862fa5107
--- /dev/null
+++ b/dev-python/stapler/Manifest
@@ -0,0 +1 @@
+DIST stapler-0.4_p20160424.tar.gz 34318 BLAKE2B 081f32c4eb30a8f26f0c64784c8ec05b621f1c4051e1c76f501f3efa32f6d59aaf7be8318455d379c2d933aa34b5d9d5abc230c575e2eca926f18a4af35a7013 SHA512 b93bf0f253ee6214aeabde2d4c636d2544d446c90fa473e6ee5698936c2605d64c6f6e672ef99387f79458d7e52005e7e2eb76db0c5e2271fadd1603418e2cd6
diff --git a/dev-python/stapler/metadata.xml b/dev-python/stapler/metadata.xml
new file mode 100644
index 00000000000..19496d9b842
--- /dev/null
+++ b/dev-python/stapler/metadata.xml
@@ -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>
diff --git a/dev-python/stapler/stapler-0.4_p20160424.ebuild b/dev-python/stapler/stapler-0.4_p20160424.ebuild
new file mode 100644
index 00000000000..3cc72cc1cab
--- /dev/null
+++ b/dev-python/stapler/stapler-0.4_p20160424.ebuild
@@ -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}"