From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AA3161388C1 for ; Wed, 2 Mar 2016 16:53:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81745E080A; Wed, 2 Mar 2016 16:53:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5F79E080A for ; Wed, 2 Mar 2016 16:53:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 879503405D5 for ; Wed, 2 Mar 2016 16:53:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E430208E for ; Wed, 2 Mar 2016 16:53:51 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1456937567.a063c35d99ca49c5eccca5584657ee9d9410c16f.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/txaio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/txaio/Manifest dev-python/txaio/txaio-2.2.1.ebuild X-VCS-Directories: dev-python/txaio/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: a063c35d99ca49c5eccca5584657ee9d9410c16f X-VCS-Branch: master Date: Wed, 2 Mar 2016 16:53:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 77f2b905-fde7-4ae6-8318-a5c5e34ebf77 X-Archives-Hash: b7526044ea03659f8ca34776f84334a1 commit: a063c35d99ca49c5eccca5584657ee9d9410c16f Author: Patrick Lauer gentoo org> AuthorDate: Wed Mar 2 16:52:31 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Wed Mar 2 16:52:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a063c35d dev-python/txaio: Bump Package-Manager: portage-2.2.27 dev-python/txaio/Manifest | 1 + dev-python/txaio/txaio-2.2.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest index 570690e..2edb0b0 100644 --- a/dev-python/txaio/Manifest +++ b/dev-python/txaio/Manifest @@ -1,2 +1,3 @@ DIST txaio-1.0.0.zip 33656 SHA256 4b38afc5d416b23426ed4e7f582d949317df5173c50efec999f2cc97ed368a57 SHA512 7ca543721139e3da96e86d3d2feafbd0901df7a48585f43f46407a17c226e24bbd18841c50bf911c3f208d614c9e32bfc0a7bee37b03b9ddea87a8a47e940572 WHIRLPOOL d11ea36f27d26566a5dcce83751a723ac2e33c51ecc7019b95d66014850e94fc820ae44b36cbbe3c5a3f5b86de666a2b59cec29194ca3d4b9d39908bb47b2556 DIST txaio-2.2.0.tar.gz 33225 SHA256 5aa536f69d7a52bfe528863e783f20a70138269ed97d134222fdab6afa0dfe14 SHA512 13c4345fa0e64e86cecfa56e3cfa02ed088eed37dee582cc62b35b9e0984041a458ee837cdcb4ae56966e102f504b0cce8750d5ba8240c83815ca076d2deb979 WHIRLPOOL e75c5fc76f294d17e156b58fe69bb4719bc36a3966367b5e930bb9fef8e026d9a107ea0d883e1f7be569f4dfd0d85b472500a87c51fc012987c80f6d9352e774 +DIST txaio-2.2.1.tar.gz 35208 SHA256 6eee00c397d8193d15313dfc36da3eac8d64edf0b92fe3b67cd5a735ffc3074b SHA512 63a1d1a5807efc6b46821f77448c5b82cc5f2aca0b2e374c9c35baedee84903d400939698578d15428c4b1d2ad0471f5c7b17a6c815d020e4df8b4a85d787671 WHIRLPOOL 2edc46918e8f6ff7b6cd7282897a81e8dd31089bb6da722c5718e7cddd719dfb296231876222e0678f0eb570b12c83cd011acdbd9b027c7a8004e4beff6a46c9 diff --git a/dev-python/txaio/txaio-2.2.1.ebuild b/dev-python/txaio/txaio-2.2.1.ebuild new file mode 100644 index 0000000..ebf436d --- /dev/null +++ b/dev-python/txaio/txaio-2.2.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +RESTRICT="test" + +inherit distutils-r1 + +DESCRIPTION="a helper library for writing code unmodified on both Twisted and asyncio" +HOMEPAGE="https://github.com/tavendo/txaio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + >=dev-python/pep8-1.6.2[${PYTHON_USEDEP}]" + +DEPEND="app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/alabaster[${PYTHON_USEDEP}] ) + test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}] )" + +python_prepare() { + # https://github.com/tavendo/txaio/issues/3 + cp -r "${FILESDIR}"/util.py test || die + + distutils-r1_python_prepare +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + py.test || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +}