From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2B89B1396D2 for ; Wed, 20 Sep 2017 20:11:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 582F9E085E; Wed, 20 Sep 2017 20:11:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28F6F1FC051 for ; Wed, 20 Sep 2017 20:11:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05D1A33E4AD for ; Wed, 20 Sep 2017 20:11:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81E049087 for ; Wed, 20 Sep 2017 20:11:30 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1505937762.b26b1ddca7089908e1817a89f97b2686c2044ec0.dolsen@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.8.2.ebuild X-VCS-Directories: dev-python/txaio/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: b26b1ddca7089908e1817a89f97b2686c2044ec0 X-VCS-Branch: master Date: Wed, 20 Sep 2017 20:11:30 +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: ad198540-c47e-443b-815c-63f4600f2b25 X-Archives-Hash: f2da264b30084a36f37ad7c7ede564df commit: b26b1ddca7089908e1817a89f97b2686c2044ec0 Author: Brian Dolbec gentoo org> AuthorDate: Tue Sep 19 14:10:58 2017 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Wed Sep 20 20:02:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26b1ddc dev-python/txaio: Version bump Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/txaio/Manifest | 1 + dev-python/txaio/txaio-2.8.2.ebuild | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest index 1f1e90d5546..93a906654f6 100644 --- a/dev-python/txaio/Manifest +++ b/dev-python/txaio/Manifest @@ -2,3 +2,4 @@ DIST txaio-2.3.1.tar.gz 36755 SHA256 1111c87bff73e22c2067318cbb267781e2f651c485d DIST txaio-2.5.1.tar.gz 41577 SHA256 625076477182e2dde78b79d0b2b0d6b3cecb0e24fe0ea7eaf2abd26a4c0dd1de SHA512 921b4f6738a91923cffe00eed30237e0a2a12dbd42476587b4902675d3d7d8ecbf3b6fbf47afa5648836f779f1c22f7edf9bd94d44dcacee86d03a1dd16450a5 WHIRLPOOL 24286b510c7f1911dd2a315362c76aff77bc2246164a4a1ba50573d87408db9e0e384e5063cfdbee96501b3d03decc9f4198aae9f8cd375d8c49de817d0eda63 DIST txaio-2.7.1.tar.gz 43591 SHA256 9eea85c27ff8ac28049a29b55383f5c162351f855860e5081ff4632d65a5b4d2 SHA512 d77a8b5e8fc21be0bef43f2a6795229456a351abc1a5eb6d2b7de0da0a58e67a228cb06d1a7962efcc760099ef5df94e9421875ea5628985260911efc7deb85e WHIRLPOOL 2acff5b81fd17afd7b7d986812d742a6e09781f8f6f960ae6c08a52c6535156736492ecaca0c8026192289ab28e3cceb40e03aa4512922bc64ece7c900abd25c DIST txaio-2.8.1.tar.gz 43558 SHA256 fe2e0e4d3a06705f86bbd351fdd1f39dae61755e44162375e024acbf32eafddb SHA512 5ea41dbc8fef6dcd04a95c85bd57c4f2fd57f7091667da8a822a0e8bad465f76c2ace574e4ae54f941ad6e169dce6fb28d752831d7a06eb240ef72cc3817a056 WHIRLPOOL 5fec7bba468b52bf3ba13328d7e5f00a28eb487e238880d5afbf79bd6d8a017f39e2aa907c095a8c0fe28c41b2c917f4f72f8ad0f59ad241f329ca91a1f6961f +DIST txaio-2.8.2.tar.gz 43670 SHA256 484cd6c4cdd3f6081b87188f3b2b9a36e02fba6816e8256917c4f6571b567571 SHA512 8b60a64ebfa1208995bc42e6ccbc87c4c3cd4687cb431435c6450cff31e5d0dba468c3f3494902e666cb2ee6dea84ded458fd8f1b3b9c25421b440dcd3fc5884 WHIRLPOOL f42015d189b7b5c0a6bd50f7bcb482515f12743e04cf751c523620fb3bb4684cb9c42edace1ca9035ebfe980418b45cefd8b308f2dfbd93bcc5eae2623c95bb2 diff --git a/dev-python/txaio/txaio-2.8.2.ebuild b/dev-python/txaio/txaio-2.8.2.ebuild new file mode 100644 index 00000000000..660e89d3ae1 --- /dev/null +++ b/dev-python/txaio/txaio-2.8.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius" +HOMEPAGE="https://github.com/crossbario/txaio https://pypi.python.org/pypi/txaio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc test" + +RDEPEND=" + $(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep '>=dev-python/futures-3.0.3[${PYTHON_USEDEP}]' python2_7) +" +DEPEND="app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + doc? ( + >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-spelling-2.1.2[${PYTHON_USEDEP}] + >=dev-python/sphinx_rtd_theme-0.1.9[${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}] + >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] + >=dev-python/tox-2.1.1[${PYTHON_USEDEP}] + >=dev-python/pep8-1.6.2[${PYTHON_USEDEP}] + >=dev-python/pyenchant-1.6.6[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default_src_prepare + # Take out failing tests known to pass when run manually + # we certainly don't need to test "python setup.py sdist" here + rm "${S}/test/test_packaging.py" || die +} + +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 docs 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 +}