1 |
commit: 4368f8a48b0510ed97a34980229fdc2fe58fa938 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 25 22:23:09 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=4368f8a4 |
7 |
|
8 |
dev-python/visitor: new package, dependency of flask-bootstrap, vn. 0.1.2 |
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/visitor/Manifest | 1 + |
16 |
dev-python/visitor/metadata.xml | 17 +++++++++++++++++ |
17 |
dev-python/visitor/visitor-0.1.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
18 |
3 files changed, 50 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/visitor/Manifest b/dev-python/visitor/Manifest |
21 |
new file mode 100644 |
22 |
index 0000000..f3c6e79 |
23 |
--- /dev/null |
24 |
+++ b/dev-python/visitor/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST visitor-0.1.2.tar.gz 2957 SHA256 ff8c6231aa4a63c9f52f0d7eeedeb8561f847c4514753a9db33906296375c046 SHA512 3251e8c81673a7ded8eecd68bdc6294e4b386bfe6118280db0bac908b835aa1823cc0b470a6d69432f89821c6275afbe8c295da21edd1d10db3b8757727c43dd WHIRLPOOL 69f4d0344f3ca8ccd848bcf8ed848887c8845210dd8b9e09efa138ada5789b8c38f4a0e46e028be4b643e745d539f3a1cdf51d6b51688a97bc91146525c91a55 |
27 |
|
28 |
diff --git a/dev-python/visitor/metadata.xml b/dev-python/visitor/metadata.xml |
29 |
new file mode 100644 |
30 |
index 0000000..3896988 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/visitor/metadata.xml |
33 |
@@ -0,0 +1,17 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>sautier.louis@×××××.com</email> |
39 |
+ <name>Louis Sautier</name> |
40 |
+ </maintainer> |
41 |
+ <maintainer type="project"> |
42 |
+ <email>proxy-maint@g.o</email> |
43 |
+ <name>Proxy Maintainers</name> |
44 |
+ </maintainer> |
45 |
+ <upstream> |
46 |
+ <remote-id type="pypi">visitor</remote-id> |
47 |
+ <remote-id type="github">mbr/visitor</remote-id> |
48 |
+ <bugs-to>https://github.com/mbr/visitor/issues</bugs-to> |
49 |
+ </upstream> |
50 |
+</pkgmetadata> |
51 |
|
52 |
diff --git a/dev-python/visitor/visitor-0.1.2.ebuild b/dev-python/visitor/visitor-0.1.2.ebuild |
53 |
new file mode 100644 |
54 |
index 0000000..0d1c1bf |
55 |
--- /dev/null |
56 |
+++ b/dev-python/visitor/visitor-0.1.2.ebuild |
57 |
@@ -0,0 +1,32 @@ |
58 |
+# Copyright 1999-2016 Gentoo Foundation |
59 |
+# Distributed under the terms of the GNU General Public License v2 |
60 |
+# $Id$ |
61 |
+ |
62 |
+EAPI=6 |
63 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
64 |
+ |
65 |
+inherit distutils-r1 |
66 |
+ |
67 |
+DESCRIPTION="A tiny pythonic visitor implementation" |
68 |
+HOMEPAGE="https://github.com/mbr/visitor" |
69 |
+# PyPI tarballs don't include tests |
70 |
+# https://github.com/mbr/visitor/pull/2 |
71 |
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
72 |
+ |
73 |
+LICENSE="MIT" |
74 |
+SLOT="0" |
75 |
+KEYWORDS="~amd64 ~x86" |
76 |
+IUSE="test" |
77 |
+ |
78 |
+DEPEND=" |
79 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
80 |
+ test? ( |
81 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
82 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
83 |
+ ) |
84 |
+" |
85 |
+RDEPEND="" |
86 |
+ |
87 |
+python_test() { |
88 |
+ py.test || die "Tests failed with ${EPYTHON}" |
89 |
+} |