1 |
commit: dcdbc7dfcafb6644f48f00c7d75cbc153d4f5c31 |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 30 00:55:29 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 30 10:19:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdbc7df |
7 |
|
8 |
dev-python/jaraco-stream: initial version 1.1 |
9 |
|
10 |
new dependency for dev-python/irc |
11 |
|
12 |
Package-Manager: portage-2.2.28 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/1376 |
14 |
|
15 |
Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org> |
16 |
|
17 |
dev-python/jaraco-stream/Manifest | 1 + |
18 |
dev-python/jaraco-stream/jaraco-stream-1.1.ebuild | 50 +++++++++++++++++++++++ |
19 |
dev-python/jaraco-stream/metadata.xml | 20 +++++++++ |
20 |
3 files changed, 71 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/jaraco-stream/Manifest b/dev-python/jaraco-stream/Manifest |
23 |
new file mode 100644 |
24 |
index 0000000..9034a69 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/jaraco-stream/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST jaraco.stream-1.1.tar.gz 4887 SHA256 8f1e4aaea35728da594d1430772b85be098a919bf316be721045beb4377526a9 SHA512 5af385084623fbdfe86e9fb620f49b097dee164638bc99622ba557a26cda591e856f1fc4134bc7b73b8f7b61afaf2607686fe20c59c582324a65c22f39d74a13 WHIRLPOOL 5c91d24f8007041cbe76c4ab371776bc1058c714e991eb346ac0c846eda7ead0a532028ed5bc51f8618ee2b7061b5ee6a2e70915c292e4441eb5b5324cfb967f |
29 |
|
30 |
diff --git a/dev-python/jaraco-stream/jaraco-stream-1.1.ebuild b/dev-python/jaraco-stream/jaraco-stream-1.1.ebuild |
31 |
new file mode 100644 |
32 |
index 0000000..0f928f1 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/jaraco-stream/jaraco-stream-1.1.ebuild |
35 |
@@ -0,0 +1,50 @@ |
36 |
+# Copyright 1999-2016 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Id$ |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
43 |
+ |
44 |
+inherit distutils-r1 |
45 |
+ |
46 |
+MY_PN="${PN/-/.}" |
47 |
+DESCRIPTION="Routines for handling streaming data" |
48 |
+HOMEPAGE="https://github.com/jaraco/jaraco.stream" |
49 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+IUSE="doc test" |
55 |
+ |
56 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
57 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ ${RDEPEND} |
61 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+ doc? ( |
65 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
66 |
+ dev-python/rst-linker[${PYTHON_USEDEP}] |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
71 |
+ |
72 |
+python_compile_all() { |
73 |
+ use doc && esetup.py build_sphinx |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ # Skip one test which requires network access |
78 |
+ py.test --ignore=jaraco/stream/test_gzip.py \ |
79 |
+ || die "tests failed with ${EPYTHON}" |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
84 |
+ distutils-r1_python_install_all |
85 |
+} |
86 |
|
87 |
diff --git a/dev-python/jaraco-stream/metadata.xml b/dev-python/jaraco-stream/metadata.xml |
88 |
new file mode 100644 |
89 |
index 0000000..778d607 |
90 |
--- /dev/null |
91 |
+++ b/dev-python/jaraco-stream/metadata.xml |
92 |
@@ -0,0 +1,20 @@ |
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">jaraco.stream</remote-id> |
106 |
+ <remote-id type="github">jaraco/jaraco.stream</remote-id> |
107 |
+ <bugs-to>https://github.com/jaraco/jaraco.stream/issues</bugs-to> |
108 |
+ </upstream> |
109 |
+ <longdescription lang="en"> |
110 |
+ Routines for handling streaming data, including a set of generators for loading gzip data on the fly. |
111 |
+ </longdescription> |
112 |
+</pkgmetadata> |