1 |
commit: a6a5a81f8d913697d654fc1c9c2ca12c0062dd00 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 25 23:09:19 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=a6a5a81f |
7 |
|
8 |
dev-python/flask-bootstrap: new package, version 3.3.5.7 |
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-bootstrap/Manifest | 1 + |
16 |
.../flask-bootstrap/flask-bootstrap-3.3.5.7.ebuild | 57 ++++++++++++++++++++++ |
17 |
dev-python/flask-bootstrap/metadata.xml | 17 +++++++ |
18 |
3 files changed, 75 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/flask-bootstrap/Manifest b/dev-python/flask-bootstrap/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..fd71a78 |
23 |
--- /dev/null |
24 |
+++ b/dev-python/flask-bootstrap/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST flask-bootstrap-3.3.5.7.tar.gz 485387 SHA256 f0cb530ff85a6756dd42a73f49783484eb06db2153a8ebb2ee2f2bf3152f2fa7 SHA512 2d8ed707ccd0dc028f7d765e1f213890186583b28b3879dae0df0282c5e068c91a285691355acf6742999a8bd96920a614098bf9f79ab67f3f40c1a17ac452a6 WHIRLPOOL 81d31625f2b9e35147c34a265405da561a9f91b9ccaf439588c01df68ec33e00c358bcecd78353e21ac1bc8dc6fbbc0b9aed534976b080efead4b0647a46ced5 |
27 |
|
28 |
diff --git a/dev-python/flask-bootstrap/flask-bootstrap-3.3.5.7.ebuild b/dev-python/flask-bootstrap/flask-bootstrap-3.3.5.7.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..62de095 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/flask-bootstrap/flask-bootstrap-3.3.5.7.ebuild |
33 |
@@ -0,0 +1,57 @@ |
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="An extension that includes Bootstrap in your project, without boilerplate code" |
44 |
+HOMEPAGE="https://pythonhosted.org/Flask-Bootstrap/" |
45 |
+# PyPI tarballs don't include tests |
46 |
+# https://github.com/mbr/flask-bootstrap/pull/134 |
47 |
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/dominate[${PYTHON_USEDEP}] |
56 |
+ dev-python/flask[${PYTHON_USEDEP}] |
57 |
+ dev-python/visitor[${PYTHON_USEDEP}] |
58 |
+ dev-python/wtforms[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+DEPEND=" |
61 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ dev-python/flask-appconfig[${PYTHON_USEDEP}] |
64 |
+ dev-python/flask-debug[${PYTHON_USEDEP}] |
65 |
+ dev-python/flask-wtf[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
68 |
+ ${RDEPEND} |
69 |
+ ) |
70 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
71 |
+" |
72 |
+ |
73 |
+python_prepare_all() { |
74 |
+ sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die |
75 |
+ distutils-r1_python_prepare_all |
76 |
+} |
77 |
+ |
78 |
+python_compile_all() { |
79 |
+ use doc && emake -C docs html |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ # Skip one test which requires network access |
84 |
+ py.test -k "not test_versions_match" || die "Tests failed with ${EPYTHON}" |
85 |
+} |
86 |
+ |
87 |
+python_install_all() { |
88 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
89 |
+ distutils-r1_python_install_all |
90 |
+} |
91 |
|
92 |
diff --git a/dev-python/flask-bootstrap/metadata.xml b/dev-python/flask-bootstrap/metadata.xml |
93 |
new file mode 100644 |
94 |
index 0000000..0811c94 |
95 |
--- /dev/null |
96 |
+++ b/dev-python/flask-bootstrap/metadata.xml |
97 |
@@ -0,0 +1,17 @@ |
98 |
+<?xml version="1.0" encoding="UTF-8"?> |
99 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
100 |
+<pkgmetadata> |
101 |
+ <maintainer type="person"> |
102 |
+ <email>sautier.louis@×××××.com</email> |
103 |
+ <name>Louis Sautier</name> |
104 |
+ </maintainer> |
105 |
+ <maintainer type="project"> |
106 |
+ <email>proxy-maint@g.o</email> |
107 |
+ <name>Proxy Maintainers</name> |
108 |
+ </maintainer> |
109 |
+ <upstream> |
110 |
+ <remote-id type="pypi">flask-bootstrap</remote-id> |
111 |
+ <remote-id type="github">mbr/flask-bootstrap</remote-id> |
112 |
+ <bugs-to>https://github.com/mbr/flask-bootstrap/issues</bugs-to> |
113 |
+ </upstream> |
114 |
+</pkgmetadata> |