Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
Date: Wed, 07 Oct 2015 20:30:27
Message-Id: 1444249796.cd21a9376d38b324a0254d91f8aa9d6b5178695a.alunduil@gentoo
1 commit: cd21a9376d38b324a0254d91f8aa9d6b5178695a
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 20:29:34 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 20:29:56 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd21a937
7
8 dev-python/aiohttp: add version 0.17.4
9
10 Package-Manager: portage-2.2.22
11
12 dev-python/aiohttp/Manifest | 1 +
13 dev-python/aiohttp/aiohttp-0.17.4.ebuild | 55 ++++++++++++++++++++++++++++++++
14 dev-python/aiohttp/metadata.xml | 4 +++
15 3 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
18 index 9dc53ab..46577c7 100644
19 --- a/dev-python/aiohttp/Manifest
20 +++ b/dev-python/aiohttp/Manifest
21 @@ -1 +1,2 @@
22 DIST aiohttp-0.14.4.tar.gz 1253273 SHA256 2338c8506ce7853ac2df7efba731a3fd015a7ee2561afab0d69ddefb43403f5a SHA512 453626e2acb2da85b39fd9dab01c51bbbbdf3422e2d7ff833e8be141f43d27d046646bafe6d58d96d37457208ecc2347a3724f056152c639c18de99da619538d WHIRLPOOL 42e8e23c3b1c28463617f9137288886ccf2d61fe404e8b06e105e0a48b36b06382a7a58a6e6c91bc38886e09874ba6112300fd6bf3adfce704129a7edbc4936d
23 +DIST aiohttp-0.17.4.tar.gz 475034 SHA256 a2f122b41f29eb10772f1600ada5fec849c5dc717c1dcaa05c95bf0712af8843 SHA512 bca0aa93f51fae32eff383ffbd7790886a822647e77884fb5a26b6d2673429b61cf5483527297740a4b237b3e038934990df1061e32e6617d6a3da10276b9116 WHIRLPOOL a7abec0b3daa84078beee9057b5dfdf021b7522fa6b7f847f65008a061802f2cd61dee34886b833c8465f0a5379af9cb45b1f2117cd0b386b6ea488f3f9f2b3c
24
25 diff --git a/dev-python/aiohttp/aiohttp-0.17.4.ebuild b/dev-python/aiohttp/aiohttp-0.17.4.ebuild
26 new file mode 100644
27 index 0000000..5efb496
28 --- /dev/null
29 +++ b/dev-python/aiohttp/aiohttp-0.17.4.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Header: /var/cvsroot/gentoo-x86/dev-python/aiohttp/aiohttp-0.14.4-r1.ebuild,v 1.1 2015/03/16 11:08:45 bman Exp $
34 +
35 +EAPI="5"
36 +
37 +PYTHON_COMPAT=( python3_3 python3_4 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="http client/server for asyncio"
42 +HOMEPAGE="https://github.com/KeepSafe/aiohttp https://pypi.python.org/pypi/aiohttp"
43 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="doc examples test"
49 +
50 +CDEPEND="
51 + dev-python/chardet[${PYTHON_USEDEP}]
52 + $(python_gen_cond_dep 'dev-python/asyncio[${PYTHON_USEDEP}]' 'python3_3')
53 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python3_3')
54 +"
55 +DEPEND="
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + dev-python/cython[${PYTHON_USEDEP}]
58 + doc? (
59 + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
60 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
61 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
62 + dev-python/sphinx[${PYTHON_USEDEP}]
63 + )
64 + test? (
65 + ${CDEPEND}
66 + dev-python/nose[${PYTHON_USEDEP}]
67 + www-servers/gunicorn[${PYTHON_USEDEP}]
68 + )
69 +"
70 +RDEPEND="${CDEPEND}"
71 +
72 +python_compile_all() {
73 + use doc && emake -C docs html
74 +}
75 +
76 +python_test() {
77 + PYTHONPATH="$(PWD):${PYTHONPATH}" nosetests tests/ || die "Tests failed under ${EPYTHON}"
78 +}
79 +
80 +python_install_all() {
81 + use doc && local HTML_DOCS=( docs/_build/html/. )
82 + use examples && local EXAMPLES=( examples/. )
83 +
84 + distutils-r1_python_install_all
85 +}
86
87 diff --git a/dev-python/aiohttp/metadata.xml b/dev-python/aiohttp/metadata.xml
88 index 79da0ee..4f715e8 100644
89 --- a/dev-python/aiohttp/metadata.xml
90 +++ b/dev-python/aiohttp/metadata.xml
91 @@ -5,6 +5,10 @@
92 <email>bman@g.o</email>
93 <name>Aaron Bauman</name>
94 </maintainer>
95 + <maintainer>
96 + <email>alunduil@g.o</email>
97 + <name>Alex Brandt</name>
98 + </maintainer>
99 <upstream>
100 <remote-id type="pypi">aiohttp</remote-id>
101 <remote-id type="github">KeepSafe/aiohttp</remote-id>