1 |
commit: 9d3f2a04b078e76c7aad1b298cfc891f30fcda79 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 25 23:00:03 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=9d3f2a04 |
7 |
|
8 |
dev-python/flask-appconfig: new package, dependency of flask-bootstrap, vn. 0.11.1 |
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-appconfig/Manifest | 1 + |
16 |
.../flask-appconfig/flask-appconfig-0.11.1.ebuild | 52 ++++++++++++++++++++++ |
17 |
dev-python/flask-appconfig/metadata.xml | 17 +++++++ |
18 |
3 files changed, 70 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/flask-appconfig/Manifest b/dev-python/flask-appconfig/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..df31c4f |
23 |
--- /dev/null |
24 |
+++ b/dev-python/flask-appconfig/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST flask-appconfig-0.11.1.tar.gz 14545 SHA256 9869a752692e56f35ed3b017ea0e5b1d4b918a23bac8bc98a9e41ab54f5a9902 SHA512 9ebc42be5ef247b1f14b85f7b65600a1595ecdc70e792c0cd495347254b07675a3b7a306df8d2f2663626ceafa4ce7700f6f26cd0f1bcd974ba6bbab293847ee WHIRLPOOL f59662f9e7ace02e1e8dfc1a0a99b40c0cc5a353782d925d71e528fecc73ffbcea2891f99c3a1d20900f5b4f4064be9981f04ec20519aa74e2f872e8167b7da3 |
27 |
|
28 |
diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild b/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..0c24d0f |
31 |
--- /dev/null |
32 |
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild |
33 |
@@ -0,0 +1,52 @@ |
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 |
+DESCRIPTION="Configures Flask applications in a canonical way" |
44 |
+HOMEPAGE="https://github.com/mbr/flask-appconfig" |
45 |
+# PyPI tarballs don't include tests |
46 |
+# https://github.com/mbr/flask-appconfig/pull/4 |
47 |
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/click[${PYTHON_USEDEP}] |
56 |
+ dev-python/flask[${PYTHON_USEDEP}] |
57 |
+ dev-python/six[${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 |
+python_prepare_all() { |
70 |
+ sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die |
71 |
+ distutils-r1_python_prepare_all |
72 |
+} |
73 |
+ |
74 |
+python_compile_all() { |
75 |
+ use doc && emake -C docs html |
76 |
+} |
77 |
+ |
78 |
+python_test() { |
79 |
+ py.test || die "Tests failed with ${EPYTHON}" |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
84 |
+ distutils-r1_python_install_all |
85 |
+} |
86 |
|
87 |
diff --git a/dev-python/flask-appconfig/metadata.xml b/dev-python/flask-appconfig/metadata.xml |
88 |
new file mode 100644 |
89 |
index 0000000..8639b4a |
90 |
--- /dev/null |
91 |
+++ b/dev-python/flask-appconfig/metadata.xml |
92 |
@@ -0,0 +1,17 @@ |
93 |
+<?xml version="1.0" encoding="UTF-8"?> |
94 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
95 |
+<pkgmetadata> |
96 |
+ <maintainer type="person"> |
97 |
+ <email>sautier.louis@×××××.com</email> |
98 |
+ <name>Louis Sautier</name> |
99 |
+ </maintainer> |
100 |
+ <maintainer type="project"> |
101 |
+ <email>proxy-maint@g.o</email> |
102 |
+ <name>Proxy Maintainers</name> |
103 |
+ </maintainer> |
104 |
+ <upstream> |
105 |
+ <remote-id type="pypi">flask-appconfig</remote-id> |
106 |
+ <remote-id type="github">mbr/flask-appconfig</remote-id> |
107 |
+ <bugs-to>https://github.com/mbr/flask-appconfig/issues</bugs-to> |
108 |
+ </upstream> |
109 |
+</pkgmetadata> |