commit: 883e94c5ab292442f5410d4797f110e7d426cb69 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org> AuthorDate: Sun May 22 17:22:04 2016 +0000 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org> CommitDate: Sun May 22 17:22:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883e94c5
dev-python/multidict: add version 1.1.0_alpha6 Package-Manager: portage-2.3.0_rc1 dev-python/multidict/Manifest | 1 + dev-python/multidict/metadata.xml | 10 ++++++ dev-python/multidict/multidict-1.1.0_alpha6.ebuild | 40 ++++++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest new file mode 100644 index 0000000..8ed5074 --- /dev/null +++ b/dev-python/multidict/Manifest @@ -0,0 +1 @@ +DIST multidict-1.1.0_alpha6.tar.gz 98630 SHA256 ac3f1a134c87a7f6e7547cbcb595e5eb36d1c1865101a777f2e7c0a18d824173 SHA512 fc221ca768cfc3c04c83e624296e5c0452d4d14a7a13ba8e8cb153ffd1ea7b7e949c628bc45d8c249b790cca1698fc0a5a6f2b57b113bcf9c055a972d2f15a7e WHIRLPOOL 7f8e057d41eb90246c84ba13165e6975ea5f985b5f65ae887efd2d4493ac0bd0980d9a56426a74b5f979a93a9007c2ef60ebbcf6966cedd8592ca3f1c379bb8e diff --git a/dev-python/multidict/metadata.xml b/dev-python/multidict/metadata.xml new file mode 100644 index 0000000..9b3c6f8 --- /dev/null +++ b/dev-python/multidict/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alund...@gentoo.org</email> + <name>Alex Brandt</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> diff --git a/dev-python/multidict/multidict-1.1.0_alpha6.ebuild b/dev-python/multidict/multidict-1.1.0_alpha6.ebuild new file mode 100644 index 0000000..f65be53 --- /dev/null +++ b/dev-python/multidict/multidict-1.1.0_alpha6.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" +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 +}