1 |
commit: ce2f044cc673a6d08cd8a40459bd0dbf66df864e |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 14:30:42 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 15:07:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2f044c |
7 |
|
8 |
dev-python/stapler: new ebuild. |
9 |
|
10 |
stapler is a suite of tools for PDF files manipulation. It makes use of |
11 |
the PyPDF2 library to provide a (somewhat) lighter alternative to pdftk. |
12 |
|
13 |
See https://github.com/hellerbarde/stapler. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/562568 |
16 |
|
17 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
18 |
Reviewed-by: James Le Cuirot <chewi <AT> gentoo.org> |
19 |
|
20 |
dev-python/stapler/Manifest | 1 + |
21 |
dev-python/stapler/metadata.xml | 11 ++++++++++ |
22 |
dev-python/stapler/stapler-0.4_p20160424.ebuild | 29 +++++++++++++++++++++++++ |
23 |
3 files changed, 41 insertions(+) |
24 |
|
25 |
diff --git a/dev-python/stapler/Manifest b/dev-python/stapler/Manifest |
26 |
new file mode 100644 |
27 |
index 00000000000..a0862fa5107 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/stapler/Manifest |
30 |
@@ -0,0 +1 @@ |
31 |
+DIST stapler-0.4_p20160424.tar.gz 34318 BLAKE2B 081f32c4eb30a8f26f0c64784c8ec05b621f1c4051e1c76f501f3efa32f6d59aaf7be8318455d379c2d933aa34b5d9d5abc230c575e2eca926f18a4af35a7013 SHA512 b93bf0f253ee6214aeabde2d4c636d2544d446c90fa473e6ee5698936c2605d64c6f6e672ef99387f79458d7e52005e7e2eb76db0c5e2271fadd1603418e2cd6 |
32 |
|
33 |
diff --git a/dev-python/stapler/metadata.xml b/dev-python/stapler/metadata.xml |
34 |
new file mode 100644 |
35 |
index 00000000000..19496d9b842 |
36 |
--- /dev/null |
37 |
+++ b/dev-python/stapler/metadata.xml |
38 |
@@ -0,0 +1,11 @@ |
39 |
+<?xml version="1.0" encoding="UTF-8"?> |
40 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
41 |
+<pkgmetadata> |
42 |
+ <maintainer type="project"> |
43 |
+ <email>python@g.o</email> |
44 |
+ <name>Gentoo Python Project</name> |
45 |
+ </maintainer> |
46 |
+ <upstream> |
47 |
+ <remote-id type="github">hellerbarde/stapler</remote-id> |
48 |
+ </upstream> |
49 |
+</pkgmetadata> |
50 |
|
51 |
diff --git a/dev-python/stapler/stapler-0.4_p20160424.ebuild b/dev-python/stapler/stapler-0.4_p20160424.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..3cc72cc1cab |
54 |
--- /dev/null |
55 |
+++ b/dev-python/stapler/stapler-0.4_p20160424.ebuild |
56 |
@@ -0,0 +1,29 @@ |
57 |
+# Copyright 1999-2018 Gentoo Foundation |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=6 |
61 |
+ |
62 |
+PYTHON_COMPAT=( python2_7 ) |
63 |
+ |
64 |
+inherit distutils-r1 |
65 |
+ |
66 |
+# Commit Date: 26th Apr 2016 |
67 |
+COMMIT="7c153e6a8f52573ff886ebf0786b64e17699443a" |
68 |
+ |
69 |
+DESCRIPTION="Suite of tools for PDF files manipulation written in Python" |
70 |
+HOMEPAGE="https://github.com/hellerbarde/stapler" |
71 |
+SRC_URI="https://github.com/hellerbarde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
72 |
+ |
73 |
+LICENSE="BSD" |
74 |
+SLOT="0" |
75 |
+KEYWORDS="~amd64 ~x86" |
76 |
+ |
77 |
+RDEPEND=" |
78 |
+ dev-python/PyPDF2[${PYTHON_USEDEP}] |
79 |
+ dev-python/more-itertools[${PYTHON_USEDEP}]" |
80 |
+ |
81 |
+DEPEND=" |
82 |
+ ${RDEPEND} |
83 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
84 |
+ |
85 |
+S="${WORKDIR}/${PN}-${COMMIT}" |