1 |
commit: e453c0eedbbd14f686945ee29b0374162c3ac99c |
2 |
Author: Alex Brandt <alunduil <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 14:55:08 2016 +0000 |
4 |
Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 14:55:08 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e453c0ee |
7 |
|
8 |
dev-python/sphinxcontrib-asyncio: add version 0.2.0 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/sphinxcontrib-asyncio/Manifest | 1 + |
13 |
dev-python/sphinxcontrib-asyncio/metadata.xml | 13 ++++++++ |
14 |
.../sphinxcontrib-asyncio-0.2.0.ebuild | 38 ++++++++++++++++++++++ |
15 |
3 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/sphinxcontrib-asyncio/Manifest b/dev-python/sphinxcontrib-asyncio/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..478690f |
20 |
--- /dev/null |
21 |
+++ b/dev-python/sphinxcontrib-asyncio/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST sphinxcontrib-asyncio-0.2.0.tar.gz 10689 SHA256 96627b1ec4eba08d09ad577ff9416c131910333ef37a2c82a2716e59646739f0 SHA512 2ca25717c03385ae9bf879b8efeab8d508292d07f96d941032720d755d3db2e7bbc3c9a33c6103af9d83849ed8878bea1048d349bd0873288ee2addfee9756b7 WHIRLPOOL 7fa99d9857b7e58bd57c9de94b49aeae3614f958f697db26e384106bda853d78dc5fb6b08e72631615d4eaf9f150290e651bf87c1866139238eb5c2b0f4d8017 |
24 |
|
25 |
diff --git a/dev-python/sphinxcontrib-asyncio/metadata.xml b/dev-python/sphinxcontrib-asyncio/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..3e6df16 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/sphinxcontrib-asyncio/metadata.xml |
30 |
@@ -0,0 +1,13 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ </maintainer> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>alunduil@g.o</email> |
39 |
+ <name>Alex Brandt</name> |
40 |
+ </maintainer> |
41 |
+ <longdescription lang="en"> |
42 |
+ </longdescription> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild |
46 |
new file mode 100644 |
47 |
index 0000000..a7573f4 |
48 |
--- /dev/null |
49 |
+++ b/dev-python/sphinxcontrib-asyncio/sphinxcontrib-asyncio-0.2.0.ebuild |
50 |
@@ -0,0 +1,38 @@ |
51 |
+# Copyright 1999-2016 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+# $Id$ |
54 |
+ |
55 |
+EAPI=6 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) |
58 |
+inherit distutils-r1 |
59 |
+ |
60 |
+DESCRIPTION="sphinx extension to support coroutines in markup" |
61 |
+HOMEPAGE="https://github.com/aio-libs/sphinxcontrib-asyncio" |
62 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
63 |
+ |
64 |
+LICENSE="Apache-2.0" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64 ~x86" |
67 |
+IUSE="doc test" |
68 |
+ |
69 |
+DEPEND=" |
70 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
72 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
73 |
+" |
74 |
+RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" |
75 |
+ |
76 |
+python_compile_all() { |
77 |
+ use doc && emake -C docs html |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ ${PYTHON} -m pytest tests || die "Tests failed under ${EPYTHON}" |
82 |
+} |
83 |
+ |
84 |
+python_install_all() { |
85 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
86 |
+ |
87 |
+ distutils-r1_python_install_all |
88 |
+} |