Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/
Date: Wed, 15 Nov 2017 03:32:54
Message-Id: 1510716722.28131e8594fd0959580baf6b81691423f5bc21e4.radhermit@gentoo
1 commit: 28131e8594fd0959580baf6b81691423f5bc21e4
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 03:04:36 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 15 03:32:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28131e85
7
8 dev-python/aiohttp: version bump to 2.3.2
9
10 dev-python/aiohttp/Manifest | 1 +
11 dev-python/aiohttp/aiohttp-2.3.2.ebuild | 60 +++++++++++++++++++++++++++++++++
12 2 files changed, 61 insertions(+)
13
14 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
15 index c7b6065e7d1..6a0e37cc1cd 100644
16 --- a/dev-python/aiohttp/Manifest
17 +++ b/dev-python/aiohttp/Manifest
18 @@ -10,3 +10,4 @@ DIST aiohttp-1.3.3.tar.gz 526273 SHA256 103433f594442b98ed4af9db02331e548a0ef2d4
19 DIST aiohttp-1.3.5.tar.gz 527432 SHA256 cd14a45da385b5e860849ffaff3ecee56f9b37bf9e7f3f7bc5ce3f17556cf842 SHA512 b99630fa9006163d61e0e010972aee8daad021c5ad0152b04fb6f8b661f18ea03fcfa8d35603ecfcdaef4ecbaff0159b49e2f40164241bb5def48b2847e2d966 WHIRLPOOL b39e5a5081cadb497aa982b8bee1a24615a2e382071755586c52855529c7984c9140c04239fe9ef81e51f3e11a1ea7b1c021f6b8a4dd58c4d826f934394b5576
20 DIST aiohttp-2.1.0.tar.gz 748642 SHA256 3e80d944e9295b1360e422d89746b99e23a99118420f826f990a632d284e21df SHA512 bd8eea366d380b88ba2c88d2aab722cd0970d2239dd0057cf4596f472a1b1bf38aebbd6cc707379ad9b5f901f93a56c1c4dd32584cb2636af0e013aa11388e25 WHIRLPOOL 45cf17ea7db2eb385d922cd4cdf5aac40244939066a6632f453fa2545fe1a73dfe0d0c43c3dcd60936a403174a69a8fd027dae2e55fc901594d388bd4b5c4cc3
21 DIST aiohttp-2.2.0.tar.gz 781951 SHA256 1558ba6896c2ed4e1b3cbdc4ba479b4a03a0c1433af2fe23704d2959a0c5191e SHA512 547f7484651aa5df43174cede2537c120ebf10b913ab506cdcbbe8d8702492a9e3374cf772c5d11969ca7a7e3d2602d794e98878ed43d05ae4a8324613138ea4 WHIRLPOOL 5c97f0ccbc2015e6fb7ac31ff0539d123c445673b4444d7ab3b5098c94496b42b8880b8612e6bf3ee0604309aed4ec5d80c3020ed940cd28df0adac5cff28720
22 +DIST aiohttp-2.3.2.tar.gz 841030 SHA256 42373fbdbe8f09233c17e74f53cee877bc7d5b495b4fc14c32a119255e85e736 SHA512 e481787fec8c9f21d49978b378fb5ef8c06d06cd7a6625fc36c5d4a035e9047f4ed0e38b25b613f1b685ca40e18c796376750f4ac0970fcd1d72ca7fbe31d13f WHIRLPOOL 58da919519c67c084528a059ab3c0d8b577ac0eaaa50a8783842d390a5bb274eba14f11a8d86ded7cc64be2e068e05b6513a4249b000926cd0e3fcc040000f0a
23
24 diff --git a/dev-python/aiohttp/aiohttp-2.3.2.ebuild b/dev-python/aiohttp/aiohttp-2.3.2.ebuild
25 new file mode 100644
26 index 00000000000..669641f6390
27 --- /dev/null
28 +++ b/dev-python/aiohttp/aiohttp-2.3.2.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="6"
34 +
35 +PYTHON_COMPAT=( python3_{4,5,6} )
36 +
37 +inherit distutils-r1 vcs-snapshot
38 +
39 +DESCRIPTION="http client/server for asyncio"
40 +HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
41 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
42 +EGIT_REPO_URI="https://github.com/aio-libs/aiohttp"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="doc test"
48 +
49 +CDEPEND="
50 + >=dev-python/async_timeout-1.2.0[${PYTHON_USEDEP}]
51 + dev-python/chardet[${PYTHON_USEDEP}]
52 + >=dev-python/multidict-3.0.0[${PYTHON_USEDEP}]
53 + >=dev-python/yarl-0.11[${PYTHON_USEDEP}]
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-asyncio[${PYTHON_USEDEP}]
61 + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
62 + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
63 + dev-python/sphinx[${PYTHON_USEDEP}]
64 + )
65 + test? (
66 + ${CDEPEND}
67 + dev-python/pytest[${PYTHON_USEDEP}]
68 + dev-python/pytest-mock[${PYTHON_USEDEP}]
69 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
70 + www-servers/gunicorn[${PYTHON_USEDEP}]
71 + )
72 +"
73 +RDEPEND="${CDEPEND}"
74 +
75 +DOCS=( CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst )
76 +
77 +python_compile_all() {
78 + use doc && emake -C docs html
79 +}
80 +
81 +python_test() {
82 + PYTHONPATH="${PWD}:${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
83 +}
84 +
85 +python_install_all() {
86 + use doc && local HTML_DOCS=( docs/_build/html/. )
87 +
88 + distutils-r1_python_install_all
89 +}