Skip to content

Commit

Permalink
dev-python/multidict: add version 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Brandt committed Sep 25, 2016
1 parent 25350b3 commit a59f302
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-python/multidict/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST multidict-2.1.2.tar.gz 28193 SHA256 f258814a672d093e062bb2fa3ebf007db3a542bc55785f25942b0728418feba7 SHA512 7debfe3c0abb3323a5ee82b7522ab86162b3d44333ea7dcb26c7c87d24fb4c4c062095db9603ac4a757d507971fff6252f4b3dd9d2183ea167caa5ae80ae3b33 WHIRLPOOL 6d1a9a66b753c05b430aabc21301576e2b19bde9713be8cb9b25781104c655effcf485cd64b472e82d4568cb06ce92ca3a158b22a547918ec2f44bd2d5068ff6
EBUILD multidict-2.1.2.ebuild 885 SHA256 4bbc7891300ce3d19df31e52c41ca776048fbe57a154ba4a8df607110bb702fb SHA512 d1dee604d31437c383ec4828ea7370b1103fcc25a8ff5d5d273ff911e0cb98116dcc901a9918e5ba71056be9cb95a50188fdc028d211932443a240e5f70cb492 WHIRLPOOL 648ac9c943897265beba2f8c2870052f8419bba0c943f6a502c1f3491ca6109e64dde51435f21e00c078dbbd6954f6811053958db8689969767f62f2835510ef
MISC metadata.xml 374 SHA256 f9caa3dc1e0b8d37c3da4399ee3616661bb172874a45fc5833dc50f5671997f7 SHA512 6db9204f82e2f238d4469ec01523b6faa5f20353333b7e10f00735504c88bb40574407c42c3b71b0d66d9c44e44d45fb17141862a1137911cb25e80417f86605 WHIRLPOOL 1ccbd3649662c083884323223fc2b567f7a5599fe8c60e52908961bfb5df325a70af0ff02ea35f80940d57c169fa6783e278297f81907e8083f3c377b45d7ab0
13 changes: 13 additions & 0 deletions dev-python/multidict/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>alunduil@gentoo.org</email>
<name>Alex Brandt</name>
</maintainer>
<longdescription lang="en">
</longdescription>
</pkgmetadata>
39 changes: 39 additions & 0 deletions dev-python/multidict/multidict-2.1.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 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}]
dev-python/cython[${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
}

0 comments on commit a59f302

Please sign in to comment.