diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-05-22 12:22:04 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-05-22 12:22:44 -0500 |
commit | 883e94c5ab292442f5410d4797f110e7d426cb69 (patch) | |
tree | 8e43b52de1d9d830874adc2a0681d898f82bd67b /dev-python/multidict | |
parent | Merge branch 'marbre-notebook' (diff) | |
download | gentoo-883e94c5ab292442f5410d4797f110e7d426cb69.tar.gz gentoo-883e94c5ab292442f5410d4797f110e7d426cb69.tar.bz2 gentoo-883e94c5ab292442f5410d4797f110e7d426cb69.zip |
dev-python/multidict: add version 1.1.0_alpha6
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-python/multidict')
-rw-r--r-- | dev-python/multidict/Manifest | 1 | ||||
-rw-r--r-- | dev-python/multidict/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/multidict/multidict-1.1.0_alpha6.ebuild | 40 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest new file mode 100644 index 000000000000..8ed5074022f5 --- /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 000000000000..9b3c6f8ef9df --- /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>alunduil@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 000000000000..f65be5345671 --- /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 +} |