diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-10-01 17:40:27 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-10-01 17:40:27 -0500 |
commit | 4d2dde6d275b0a1d1f2ba140c6df1e434648b774 (patch) | |
tree | 20b17aee012e7022895d818846a7bb3fe59b6db7 /dev-python | |
parent | app-emulation/docker-compose: remove version 1.8.0_rc1 (diff) | |
download | gentoo-4d2dde6d275b0a1d1f2ba140c6df1e434648b774.tar.gz gentoo-4d2dde6d275b0a1d1f2ba140c6df1e434648b774.tar.bz2 gentoo-4d2dde6d275b0a1d1f2ba140c6df1e434648b774.zip |
dev-python/multidict: add version 2.1.2
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/multidict/Manifest | 1 | ||||
-rw-r--r-- | dev-python/multidict/multidict-2.1.2.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 51288657e09b..989de603ca3b 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.1.tar.gz 27586 SHA256 465e0e62dcb68a1779b6428d8ff73134d84f986241b98e9ac0a6ff2b7f1370ef SHA512 2de3743256cdf3849f767613a510d707716b978c964626846fd082edb52d169a5fb47becf76dc287858f2d06c7f4bbf8aa0f662e41e8bc73becabfe0518f7836 WHIRLPOOL 513f0a2cdeef2742470c37a134a863ab8f2dce5753307f9e57cd8fa40b492cebdd3c4d54a38db37be2946d094fb14003cbe8dcbb02e08d2c8445ec7e83ec33bd DIST multidict-2.1.0.tar.gz 28131 SHA256 91c1b57f79a391cc8efaf6ada7b2a84c3954249ccf290c59d198a2df1ca4084e SHA512 124691f3654b202cc35c59bf4e1c38a9da7d89ca3fed71f800d15313fb4042b55c0df25c012be72b0cf64ca1b8cc00707f001d007df649840e0d7a76d171d385 WHIRLPOOL 6d8d00ca386d2a677fc8aada7c8342eac5163d3ad7ed62f0ace811048f18f72378cf9f874ec8f6ddaccf862735cb7c145cdab81c5b5141ae53354d42663f5931 +DIST multidict-2.1.2.tar.gz 28193 SHA256 f258814a672d093e062bb2fa3ebf007db3a542bc55785f25942b0728418feba7 SHA512 7debfe3c0abb3323a5ee82b7522ab86162b3d44333ea7dcb26c7c87d24fb4c4c062095db9603ac4a757d507971fff6252f4b3dd9d2183ea167caa5ae80ae3b33 WHIRLPOOL 6d1a9a66b753c05b430aabc21301576e2b19bde9713be8cb9b25781104c655effcf485cd64b472e82d4568cb06ce92ca3a158b22a547918ec2f44bd2d5068ff6 diff --git a/dev-python/multidict/multidict-2.1.2.ebuild b/dev-python/multidict/multidict-2.1.2.ebuild new file mode 100644 index 000000000000..f43c16c699ce --- /dev/null +++ b/dev-python/multidict/multidict-2.1.2.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 +} |