1 |
commit: e871e51fcd618fc2f7761ec1b4749b1bd8beb40c |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 25 22:58:39 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=e871e51f |
7 |
|
8 |
dev-python/flask-nav: new package, dependency of flask-bootstrap, vn. 0.5 |
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-nav/Manifest | 1 + |
16 |
dev-python/flask-nav/flask-nav-0.5.ebuild | 43 +++++++++++++++++++++++++++++++ |
17 |
dev-python/flask-nav/metadata.xml | 17 ++++++++++++ |
18 |
3 files changed, 61 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/flask-nav/Manifest b/dev-python/flask-nav/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..8f73c7f |
23 |
--- /dev/null |
24 |
+++ b/dev-python/flask-nav/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST flask-nav-0.5.tar.gz 11579 SHA256 68a608aae8c6c21453247cc288595c9d52a6b5f3bc31d9a9ee3fd7a1f9c28c47 SHA512 94ebd858754c0ac936b43762cf427c381faa40de86e73b487d6b415d099696e6216b96ad9fefa62516cefd8e51e7ef282e01e1a492783ab696a9fd3602de7e78 WHIRLPOOL f47f6773fd31e4a959437159c5de88f6463ad890e36387cf205ffd42d4de41f375f8264f568bd192ad4f8235cf6e5a6651c2ca3b5dbf14a785f749ab8510a098 |
27 |
|
28 |
diff --git a/dev-python/flask-nav/flask-nav-0.5.ebuild b/dev-python/flask-nav/flask-nav-0.5.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..f94f95a |
31 |
--- /dev/null |
32 |
+++ b/dev-python/flask-nav/flask-nav-0.5.ebuild |
33 |
@@ -0,0 +1,43 @@ |
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="Easily create navigation for Flask applications." |
44 |
+HOMEPAGE="https://pythonhosted.org/flask-nav/" |
45 |
+# docs are missing from PyPI tarballs |
46 |
+# https://github.com/mbr/flask-nav/pull/12 |
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" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/dominate[${PYTHON_USEDEP}] |
56 |
+ dev-python/flask[${PYTHON_USEDEP}] |
57 |
+ dev-python/visitor[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
62 |
+" |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+ sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |
68 |
+ |
69 |
+python_compile_all() { |
70 |
+ use doc && emake -C docs html |
71 |
+} |
72 |
+ |
73 |
+python_install_all() { |
74 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
75 |
+ distutils-r1_python_install_all |
76 |
+} |
77 |
|
78 |
diff --git a/dev-python/flask-nav/metadata.xml b/dev-python/flask-nav/metadata.xml |
79 |
new file mode 100644 |
80 |
index 0000000..af1c627 |
81 |
--- /dev/null |
82 |
+++ b/dev-python/flask-nav/metadata.xml |
83 |
@@ -0,0 +1,17 @@ |
84 |
+<?xml version="1.0" encoding="UTF-8"?> |
85 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
86 |
+<pkgmetadata> |
87 |
+ <maintainer type="person"> |
88 |
+ <email>sautier.louis@×××××.com</email> |
89 |
+ <name>Louis Sautier</name> |
90 |
+ </maintainer> |
91 |
+ <maintainer type="project"> |
92 |
+ <email>proxy-maint@g.o</email> |
93 |
+ <name>Proxy Maintainers</name> |
94 |
+ </maintainer> |
95 |
+ <upstream> |
96 |
+ <remote-id type="pypi">flask-nav</remote-id> |
97 |
+ <remote-id type="github">mbr/flask-nav</remote-id> |
98 |
+ <bugs-to>https://github.com/mbr/flask-nav/issues</bugs-to> |
99 |
+ </upstream> |
100 |
+</pkgmetadata> |