diff options
author | 2017-01-05 12:35:31 -0600 | |
---|---|---|
committer | 2017-01-05 12:35:31 -0600 | |
commit | 384dc24d1e4bb11e31ef4ac319d8c6d7eebd18c6 (patch) | |
tree | 549b1dd1b7215e95a7ea5705e3c04ffe8009e761 /dev-python/aiohttp | |
parent | dev-python/multidict: 2.1.4 version bump for #604768. (diff) | |
download | gentoo-384dc24d1e4bb11e31ef4ac319d8c6d7eebd18c6.tar.gz gentoo-384dc24d1e4bb11e31ef4ac319d8c6d7eebd18c6.tar.bz2 gentoo-384dc24d1e4bb11e31ef4ac319d8c6d7eebd18c6.zip |
dev-python/aiohttp: 1.2.0 version bump for #604540
Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'dev-python/aiohttp')
-rw-r--r-- | dev-python/aiohttp/Manifest | 1 | ||||
-rw-r--r-- | dev-python/aiohttp/aiohttp-1.2.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 276abbce5337..3ef75bd63b48 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -5,3 +5,4 @@ DIST aiohttp-1.0.5.tar.gz 563623 SHA256 053a16d03672cb3055cfac06650d238f55205702 DIST aiohttp-1.1.1.tar.gz 575872 SHA256 6f624d2b340a2c622949e5585540373a86349d31c2f6d46cd4d7b8446cf35f4a SHA512 38636ce4547688ade569ebfc0dbc62b769379500451954c528cd5dddfc7e6c25e6397a56382959ecd43c85c2f344039f4140bf91551e90b288fbd2aefdc94823 WHIRLPOOL d08ba4a51ddb8f66ceed6a64b304192635fccca31f9982484d17f4beaee3cb60d341a3101db6fda8d45231bd99e82ee18b3b86270edbbb9312bd9504f360ac43 DIST aiohttp-1.1.2.tar.gz 576160 SHA256 8be33ad39522d5fbc06ce527da4615bf93e6c5d4f933173072bc51fa27ea0cf4 SHA512 ccba7a8e9a2cebaa0afadcfa927fbe9113577b2c69165cd64d8f1169d6cdb4efca252a228ad8d4780b20fcc94fffb9fa8217cbd0d49cbe9c5560a81e4423be41 WHIRLPOOL ea3f9d74f7c4a0d266b56a2cd5a8655734fd8c9043a7b8f5423f960ff90cbaec1b1d6f3965b089d1cb4db7e1abb39a58dd7d5f627e6f88fb292c822ae75ab77a DIST aiohttp-1.1.5.tar.gz 577346 SHA256 8f4c31a10b0a96667ac8a13e3756a3505e040c423c3c4075b99745056b3537d8 SHA512 44b1474a64ce150164045f30734da119a1848a3677d885493f99f2d724d20884dac9a24adce4b90017e203fc67b295443f91d14f1af9eb20d657a3cd4b69d747 WHIRLPOOL 036265681123f902aaa2000fd6ddd83980c3b1a48d67b583b5e1da7e7079d381a9c92669c12040c1494ba3890c2a849cd1f190003a1ec611df7a72843242bcec +DIST aiohttp-1.2.0.tar.gz 589818 SHA256 b2fa11df067207ff15813be84b78910f6f9d897f02e9c345993b9962802a6bea SHA512 4101f0aad0d6bb8caf931dbd7f9e07bfdaa445796af92c84ea999538c2767f3cd62740ea9c7e07f255eb57b52e967e5343461809a5d5f4e8b12cd4383753bd77 WHIRLPOOL 239f802ce1dde24b3e1c6fba39357822564256f1aae167b44164d9bab3e67113400534df0835ca6b5245b8229dcab752149774c7adde1e1aef2a0f549d2d33ad diff --git a/dev-python/aiohttp/aiohttp-1.2.0.ebuild b/dev-python/aiohttp/aiohttp-1.2.0.ebuild new file mode 100644 index 000000000000..d530530a6cf3 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-1.2.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +PYTHON_COMPAT=( python3_4 python3_5 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="http client/server for asyncio" +HOMEPAGE="https://pypi.python.org/pypi/aiohttp" +SRC_URI="https://github.com/KeepSafe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +EGIT_REPO_URI="https://github.com/KeepSafe/aiohttp" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +CDEPEND=" + dev-python/async_timeout[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + >=dev-python/multidict-2.1.4[${PYTHON_USEDEP}] + dev-python/yarl[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + doc? ( + >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${CDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + PYTHONPATH="${PWD}:${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |