1 |
commit: 0b4ba4ec9056fd5700a641c77b962b0853d7a4d3 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 25 23:06:15 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 07:09:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4ba4ec |
7 |
|
8 |
dev-python/flask-debug: new package, dependency of flask-bootstrap, vn. 0.4.3 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/1353 |
12 |
|
13 |
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org> |
14 |
|
15 |
dev-python/flask-debug/Manifest | 1 + |
16 |
dev-python/flask-debug/flask-debug-0.4.3.ebuild | 54 +++++++++++++++++++++++++ |
17 |
dev-python/flask-debug/metadata.xml | 17 ++++++++ |
18 |
3 files changed, 72 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/flask-debug/Manifest b/dev-python/flask-debug/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..c5d0908 |
23 |
--- /dev/null |
24 |
+++ b/dev-python/flask-debug/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST flask-debug-0.4.3.tar.gz 9148 SHA256 059f230304805820955894eb1b3d336067eb3cb7a283cd9b7b3744305d65b827 SHA512 7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816 WHIRLPOOL 1080f045e58865f4dea39696b1acdee8a5a2eb5f5903e49cea5aad919f7c654ba3f78822723aedbec174b8bf952dcf14adcc669956e2e194a2e371d4adab4550 |
27 |
|
28 |
diff --git a/dev-python/flask-debug/flask-debug-0.4.3.ebuild b/dev-python/flask-debug/flask-debug-0.4.3.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..895b50d |
31 |
--- /dev/null |
32 |
+++ b/dev-python/flask-debug/flask-debug-0.4.3.ebuild |
33 |
@@ -0,0 +1,54 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN="Flask-Debug" |
44 |
+DESCRIPTION="Configures Flask applications in a canonical way" |
45 |
+HOMEPAGE="https://github.com/mbr/Flask-Debug" |
46 |
+# PyPI tarballs don't include tests |
47 |
+# https://github.com/mbr/Flask-Debug/pull/2 |
48 |
+SRC_URI="https://github.com/mbr/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="doc test" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/flask[${PYTHON_USEDEP}] |
57 |
+ dev-python/inflection[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ test? ( |
62 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
63 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
64 |
+ ${RDEPEND} |
65 |
+ ) |
66 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
70 |
+ |
71 |
+python_prepare_all() { |
72 |
+ sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die |
73 |
+ distutils-r1_python_prepare_all |
74 |
+} |
75 |
+ |
76 |
+python_compile_all() { |
77 |
+ use doc && emake -C docs html |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ py.test || die "Tests failed with ${EPYTHON}" |
82 |
+} |
83 |
+ |
84 |
+python_install_all() { |
85 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
86 |
+ distutils-r1_python_install_all |
87 |
+} |
88 |
|
89 |
diff --git a/dev-python/flask-debug/metadata.xml b/dev-python/flask-debug/metadata.xml |
90 |
new file mode 100644 |
91 |
index 0000000..5838f9e |
92 |
--- /dev/null |
93 |
+++ b/dev-python/flask-debug/metadata.xml |
94 |
@@ -0,0 +1,17 @@ |
95 |
+<?xml version="1.0" encoding="UTF-8"?> |
96 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
97 |
+<pkgmetadata> |
98 |
+ <maintainer type="person"> |
99 |
+ <email>sautier.louis@×××××.com</email> |
100 |
+ <name>Louis Sautier</name> |
101 |
+ </maintainer> |
102 |
+ <maintainer type="project"> |
103 |
+ <email>proxy-maint@g.o</email> |
104 |
+ <name>Proxy Maintainers</name> |
105 |
+ </maintainer> |
106 |
+ <upstream> |
107 |
+ <remote-id type="pypi">Flask-Debug</remote-id> |
108 |
+ <remote-id type="github">mbr/Flask-Debug</remote-id> |
109 |
+ <bugs-to>https://github.com/mbr/Flask-Debug/issues</bugs-to> |
110 |
+ </upstream> |
111 |
+</pkgmetadata> |