From 310ef69497a52a86dd9c7521a3de614e35e68a12 Mon Sep 17 00:00:00 2001 From: Alex Brandt Date: Sat, 24 Sep 2016 10:20:23 -0500 Subject: dev-python/multidict: add version 2.1.0 Package-Manager: portage-2.3.1 --- dev-python/multidict/Manifest | 1 + dev-python/multidict/multidict-2.1.0.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/multidict/multidict-2.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 6463d96af700..e0038a721c58 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1,3 +1,4 @@ DIST multidict-1.3.0_alpha1.tar.gz 98403 SHA256 05d5e5e6572a250fa4084bb5b3408621ccae6ff5ad2eb3130ca789b181786e46 SHA512 71831a567e7098aaf3f1273335249dab12a96595dd233f88dae114c7dd26beca53c6f55f9a5b2ec4145d62acf84f1734778d0ccb1a54c380569030ae4a3d2957 WHIRLPOOL 5cc1b3344f4c57250afe91e6168400c44bf39aaea25778a00907d9585b835754ac9e8b12ba584cf39c28e93945196a0fdb2a5f425629c1d417221acad56538c0 DIST multidict-2.0.0.tar.gz 99480 SHA256 12a8a11bc76d9d7681dba7fb69c3c84b27568fee0ece54c5000bc8f5a5a9cfeb SHA512 fa3acd8b1325281f2b1a7e131b1d00d018067aeedcf8de2a1e3e92e5d252279f12a2e71099c733490f07116f9ea75ae0f1dcb373e238c5146dd4e99217855b22 WHIRLPOOL 6d5f3667a771e6d2bfd95eb5dd947b4cc644fe237234a2a93f65a190113449dffdd6bff9be9ea66f5d4aff0fd6fd08ce14e4dc5c40de12240603a6de2d3e4d16 DIST multidict-2.0.1.tar.gz 27586 SHA256 465e0e62dcb68a1779b6428d8ff73134d84f986241b98e9ac0a6ff2b7f1370ef SHA512 2de3743256cdf3849f767613a510d707716b978c964626846fd082edb52d169a5fb47becf76dc287858f2d06c7f4bbf8aa0f662e41e8bc73becabfe0518f7836 WHIRLPOOL 513f0a2cdeef2742470c37a134a863ab8f2dce5753307f9e57cd8fa40b492cebdd3c4d54a38db37be2946d094fb14003cbe8dcbb02e08d2c8445ec7e83ec33bd +DIST multidict-2.1.0.tar.gz 28131 SHA256 91c1b57f79a391cc8efaf6ada7b2a84c3954249ccf290c59d198a2df1ca4084e SHA512 124691f3654b202cc35c59bf4e1c38a9da7d89ca3fed71f800d15313fb4042b55c0df25c012be72b0cf64ca1b8cc00707f001d007df649840e0d7a76d171d385 WHIRLPOOL 6d8d00ca386d2a677fc8aada7c8342eac5163d3ad7ed62f0ace811048f18f72378cf9f874ec8f6ddaccf862735cb7c145cdab81c5b5141ae53354d42663f5931 diff --git a/dev-python/multidict/multidict-2.1.0.ebuild b/dev-python/multidict/multidict-2.1.0.ebuild new file mode 100644 index 000000000000..f43c16c699ce --- /dev/null +++ b/dev-python/multidict/multidict-2.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_4 python3_5 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="multidict implementation" +HOMEPAGE="https://github.com/aio-libs/multidict/" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RDEPEND="" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${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 +} -- cgit v1.2.3-65-gdbad