commit:     c32caf73551c8f6ee260ba5d68885b2cebb46b21
Author:     Alex Brandt <alunduil <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 15:11:32 2016 +0000
Commit:     Alex Brandt <alunduil <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 15:11:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32caf73

dev-python/multidict: add version 1.3.0_alpha1

Package-Manager: portage-2.3.0

 dev-python/multidict/Manifest                      |  1 +
 dev-python/multidict/multidict-1.3.0_alpha1.ebuild | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest
index 939dc75..79f02f5 100644
--- a/dev-python/multidict/Manifest
+++ b/dev-python/multidict/Manifest
@@ -1,3 +1,4 @@
 DIST multidict-1.1.0_beta2.tar.gz 98311 SHA256 
6a2b983764dbe08a5a06f6e29c490067a76b13a322cef22833cab3d29ed631f9 SHA512 
b01fa6767bafd47f77681eef1807c1f24d831e776f7b5edc084bff8c2c181915df52ecc77c6def56004d0aa94167de80eb61dc02c8a3b825484ab71285bcdfd3
 WHIRLPOOL 
bfb78bdf12be93dd5a40a1f41320bd10f6d1f4e9167b97d4d7332a9638a6738242445b6aa3bd0d621c5c36951ffb6f19a019bb1a12bc1b79673f67fe6d7b17fa
 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

diff --git a/dev-python/multidict/multidict-1.3.0_alpha1.ebuild 
b/dev-python/multidict/multidict-1.3.0_alpha1.ebuild
new file mode 100644
index 0000000..41a9fda
--- /dev/null
+++ b/dev-python/multidict/multidict-1.3.0_alpha1.ebuild
@@ -0,0 +1,40 @@
+# 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
+
+MY_PV="${PV//_alpha/a}"
+
+DESCRIPTION="multidict implementation"
+HOMEPAGE="https://github.com/aio-libs/multidict/";
+SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_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
+}

Reply via email to