summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/multidict/Manifest1
-rw-r--r--dev-python/multidict/multidict-1.1.0_beta2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest
index 8ed5074022f5..c2d9fe4daa70 100644
--- a/dev-python/multidict/Manifest
+++ b/dev-python/multidict/Manifest
@@ -1 +1,2 @@
DIST multidict-1.1.0_alpha6.tar.gz 98630 SHA256 ac3f1a134c87a7f6e7547cbcb595e5eb36d1c1865101a777f2e7c0a18d824173 SHA512 fc221ca768cfc3c04c83e624296e5c0452d4d14a7a13ba8e8cb153ffd1ea7b7e949c628bc45d8c249b790cca1698fc0a5a6f2b57b113bcf9c055a972d2f15a7e WHIRLPOOL 7f8e057d41eb90246c84ba13165e6975ea5f985b5f65ae887efd2d4493ac0bd0980d9a56426a74b5f979a93a9007c2ef60ebbcf6966cedd8592ca3f1c379bb8e
+DIST multidict-1.1.0_beta2.tar.gz 98311 SHA256 6a2b983764dbe08a5a06f6e29c490067a76b13a322cef22833cab3d29ed631f9 SHA512 b01fa6767bafd47f77681eef1807c1f24d831e776f7b5edc084bff8c2c181915df52ecc77c6def56004d0aa94167de80eb61dc02c8a3b825484ab71285bcdfd3 WHIRLPOOL bfb78bdf12be93dd5a40a1f41320bd10f6d1f4e9167b97d4d7332a9638a6738242445b6aa3bd0d621c5c36951ffb6f19a019bb1a12bc1b79673f67fe6d7b17fa
diff --git a/dev-python/multidict/multidict-1.1.0_beta2.ebuild b/dev-python/multidict/multidict-1.1.0_beta2.ebuild
new file mode 100644
index 000000000000..6004a97114ec
--- /dev/null
+++ b/dev-python/multidict/multidict-1.1.0_beta2.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//_beta/b}"
+
+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
+}