1 |
commit: e168d020c520476234a7a5121718b01ce34dac21 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 20:37:59 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 28 22:36:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e168d020 |
7 |
|
8 |
dev-python/peppercorn: version bump. |
9 |
|
10 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
dev-python/peppercorn/Manifest | 1 + |
14 |
dev-python/peppercorn/peppercorn-0.6.ebuild | 47 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/peppercorn/Manifest b/dev-python/peppercorn/Manifest |
18 |
index d0b688fd5c7..efa42f0aeb1 100644 |
19 |
--- a/dev-python/peppercorn/Manifest |
20 |
+++ b/dev-python/peppercorn/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST peppercorn-0.5.tar.gz 19637 BLAKE2B 13a94c3bc09b5cdf75cf44b40111b1d5cfbc79b8cfe97bceb9f1cbcbac2983a912dd25676d1e68366e471cc86ec8832cb55c105d3fd3332cafb80e5f086a8e9c SHA512 37f9df282872b0c664780f5e27caf81cc379b05009756cf6c79290b09893d88427f3619916688412dabf20e99f264da8832d959563943e2910b1fcac696edc31 |
23 |
+DIST peppercorn-0.6.tar.gz 16386 BLAKE2B fe72e6585f8fc6e0dc23d9bae321482ec1b2c50e7d13faff11c8a3beedb645a99b1e90852896ac6807938d7e23e1cbb5bc80cb10fd11d657d6574172e61a71d4 SHA512 6363c22cec2c6bdca7a4520d8bd81aae02a74ca473733b22d2557ee7299dbc1bafc77c04808c6e9520f23ac6e1c6bd8acbb8e8dba0deebdac55a170ed0396a60 |
24 |
|
25 |
diff --git a/dev-python/peppercorn/peppercorn-0.6.ebuild b/dev-python/peppercorn/peppercorn-0.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f1d39fb4bfe |
28 |
--- /dev/null |
29 |
+++ b/dev-python/peppercorn/peppercorn-0.6.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Convert a token stream into a web form data structure" |
41 |
+HOMEPAGE="https://github.com/Pylons/peppercorn https://pypi.org/project/peppercorn/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="repoze" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="doc" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
52 |
+ |
53 |
+RDEPEND="" |
54 |
+ |
55 |
+# Include COPYRIGHT.txt because the license seems to require it |
56 |
+#DOCS=( CHANGES.txt README.txt COPYRIGHT.txt ) |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # Fix Sphinx theme. courtesy of Arfrever |
60 |
+ sed -e "/# Add and use Pylons theme/,+36d" -i docs/conf.py || die "sed failed" |
61 |
+ |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ use doc && emake -C docs html |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ esetup.py test |
71 |
+} |
72 |
+ |
73 |
+python_install_all() { |
74 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
75 |
+ |
76 |
+ distutils-r1_python_install_all |
77 |
+} |