diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-08-06 09:42:58 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-08-06 09:42:58 -0500 |
commit | 3bef99afba236e369f305180bed3740c677436d8 (patch) | |
tree | affc10e06a9804f64b2901621d378fae86d62adb /dev-python/multidict | |
parent | dev-python/fuzzywuzzy: add version 0.11.1 (diff) | |
download | gentoo-3bef99afba236e369f305180bed3740c677436d8.tar.gz gentoo-3bef99afba236e369f305180bed3740c677436d8.tar.bz2 gentoo-3bef99afba236e369f305180bed3740c677436d8.zip |
dev-python/multidict: add version 2.0.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/multidict')
-rw-r--r-- | dev-python/multidict/Manifest | 1 | ||||
-rw-r--r-- | dev-python/multidict/multidict-2.0.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 137c5f785c1b..11fcafe8ee5f 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1,3 +1,4 @@ DIST multidict-1.1.0_beta4.tar.gz 98339 SHA256 527e9714c7dcf59291a04dfd65ab031a1061649bea8a321f6830af64863e2a77 SHA512 b271f0be4cdf164aff59903dbf89689c18475731e146da1bb340c2307f0ee8d1fcf330de97e2300efc50df14c233ec5b74542b3e600017df1990a8e136dc3ae3 WHIRLPOOL e826a033fa6f841715145800211ba8768da551027da1130cc088b07c68f765256b0001b5c5fd5b348e5f7f1845e21579abba62ddb1f1f7571220865f0ccef415 DIST multidict-1.2.0.tar.gz 99060 SHA256 820694f78b029649de00958ca03ad9debe28d489589b546fd6b8a69df5ed65bb SHA512 5a6ec121db9b08707ba1491d39faf35645f48596d69f8ff01ccbd034bed15172bee6f98e8618dd762bf76131735b8453dae9bf29939780029ac2e5bb21b9535b WHIRLPOOL f9c4bb8e1f4536b151babdc8f5f788463fe8be15b125468bceae5ac39ee815695367d816adf1fecef430459abce114fb431665bd67a0b112b28f668e1da1cc85 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 diff --git a/dev-python/multidict/multidict-2.0.0.ebuild b/dev-python/multidict/multidict-2.0.0.ebuild new file mode 100644 index 000000000000..d561c57140af --- /dev/null +++ b/dev-python/multidict/multidict-2.0.0.ebuild @@ -0,0 +1,38 @@ +# 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}] + 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 +} |