Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
Date: Sat, 03 Mar 2018 02:07:58
Message-Id: 1520042826.5688dad0c9e95fc3505233bf16edfb3a87c7f383.whissi@gentoo
1 commit: 5688dad0c9e95fc3505233bf16edfb3a87c7f383
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 3 00:59:40 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 3 02:07:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5688dad0
7
8 dev-python/aiohttp: Bump to v2.3.10
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-python/aiohttp/Manifest | 1 +
13 dev-python/aiohttp/aiohttp-2.3.10.ebuild | 65 ++++++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
17 index 34c6ccf90bb..d4201bf067f 100644
18 --- a/dev-python/aiohttp/Manifest
19 +++ b/dev-python/aiohttp/Manifest
20 @@ -1,4 +1,5 @@
21 DIST aiohttp-1.3.3.tar.gz 526273 BLAKE2B 5721479dc2141167118f226b266b504d689fa6708d895817fa448c4ffcdcfd71f5e95c98015d3a0e159d1f8d67232f3ad8a31abbed2532eb60564518df017bee SHA512 39342270f615f7e5e01889ad50ccb60335151e94631007b105acda9930038d2fb66128469ca44043280c9f737130e2361129e2fa1c857a7654a1151b98a19a69
22 DIST aiohttp-1.3.5.tar.gz 527432 BLAKE2B 6420ecc1eaa29713643dbe9a05061df5277f10e263469d82a24397fa2ec53cf57aaeac86c22a17f06102bfcc69bfe959b6e00b264d9ef30eb193405f4eb9ea70 SHA512 b99630fa9006163d61e0e010972aee8daad021c5ad0152b04fb6f8b661f18ea03fcfa8d35603ecfcdaef4ecbaff0159b49e2f40164241bb5def48b2847e2d966
23 +DIST aiohttp-2.3.10.tar.gz 848324 BLAKE2B c32a7be3f3d9ba0bd1308c5bea779a10e177b9c018a03fb3cf95d1a1392180f3b4ea294dc23e2e946cc1065d16d212a169ec262a79034ae94b3a5067fbaf362c SHA512 e4ea725bbd3d7d749f2ec21eea1ff9f5c836fbeaa17ad72f77e378c69b008448e57503175bee6adff86110f65edc915cb6368df3011d1d9d61cf47718b086be0
24 DIST aiohttp-2.3.2.tar.gz 841030 BLAKE2B a291baa1c5e915815ec80ea1cbd8434b31f4098eeff20767898fc73d75c6194df4bc2a5d21147a8e5c506f5bc377e79b6e8937ce65b9c73616366f439e542c1a SHA512 e481787fec8c9f21d49978b378fb5ef8c06d06cd7a6625fc36c5d4a035e9047f4ed0e38b25b613f1b685ca40e18c796376750f4ac0970fcd1d72ca7fbe31d13f
25 DIST aiohttp-3.0.5.tar.gz 738000 BLAKE2B 742d3647a61e21ed8fc7a0a344337c5260b2bc34ffeb84660ddc031ff3872c97d7cadb66a02a4bc2531ca22b54fc1b93e8cf321d696cf4ec21a60170631d866c SHA512 650dbe3e5363c259fc5ce95baec4fd16ca2fd0836236d7d8f65597346f72fec29f803e037ffd6fc4e726a28a973aa09b0a3874a685516fbc4e843ad7f0f08b7b
26
27 diff --git a/dev-python/aiohttp/aiohttp-2.3.10.ebuild b/dev-python/aiohttp/aiohttp-2.3.10.ebuild
28 new file mode 100644
29 index 00000000000..d29494b31f3
30 --- /dev/null
31 +++ b/dev-python/aiohttp/aiohttp-2.3.10.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +
38 +PYTHON_COMPAT=( python3_{4,5,6} )
39 +
40 +inherit distutils-r1 vcs-snapshot
41 +
42 +DESCRIPTION="http client/server for asyncio"
43 +HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
44 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
45 +EGIT_REPO_URI="https://github.com/aio-libs/aiohttp"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc test"
51 +
52 +# Test suite is broken:
53 +# ValueError: option names {'--fast'} already added
54 +RESTRICT="test"
55 +
56 +CDEPEND="
57 + >=dev-python/async_timeout-1.2.0[${PYTHON_USEDEP}]
58 + dev-python/chardet[${PYTHON_USEDEP}]
59 + >=dev-python/multidict-4.0.0[${PYTHON_USEDEP}]
60 + dev-python/idna-ssl[${PYTHON_USEDEP}]
61 + >=dev-python/yarl-1.0[${PYTHON_USEDEP}]
62 +"
63 +DEPEND="
64 + dev-python/setuptools[${PYTHON_USEDEP}]
65 + dev-python/cython[${PYTHON_USEDEP}]
66 + doc? (
67 + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
68 + dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
69 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
70 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
71 + dev-python/sphinx[${PYTHON_USEDEP}]
72 + )
73 + test? (
74 + ${CDEPEND}
75 + dev-python/pytest[${PYTHON_USEDEP}]
76 + dev-python/pytest-mock[${PYTHON_USEDEP}]
77 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
78 + www-servers/gunicorn[${PYTHON_USEDEP}]
79 + )
80 +"
81 +RDEPEND="${CDEPEND}"
82 +
83 +DOCS=( CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst )
84 +
85 +python_compile_all() {
86 + use doc && emake -C docs html
87 +}
88 +
89 +python_test() {
90 + PYTHONPATH="${PWD}:${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
91 +}
92 +
93 +python_install_all() {
94 + use doc && local HTML_DOCS=( docs/_build/html/. )
95 +
96 + distutils-r1_python_install_all
97 +}