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 BB556138BED for ; Sun, 11 Oct 2015 07:05:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F12B4E0801; Sun, 11 Oct 2015 07:05:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5299BE07FC for ; Sun, 11 Oct 2015 07:05:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68D41340693 for ; Sun, 11 Oct 2015 07:05:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20956DEE for ; Sun, 11 Oct 2015 07:05:32 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1444547116.39cdf2db91c07f0a8987a44f52f613fbb698a811.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pexpect/Manifest dev-python/pexpect/pexpect-4.0.1.ebuild X-VCS-Directories: dev-python/pexpect/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 39cdf2db91c07f0a8987a44f52f613fbb698a811 X-VCS-Branch: master Date: Sun, 11 Oct 2015 07:05:32 +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: f3133cb9-9225-461d-90c6-8d0ed1695bf8 X-Archives-Hash: fb5c3695a0e138983d93ae1a3d718ea8 commit: 39cdf2db91c07f0a8987a44f52f613fbb698a811 Author: Justin Lecher gentoo org> AuthorDate: Sat Oct 10 18:01:06 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Oct 11 07:05:16 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cdf2db dev-python/pexpect: Version Bump Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/pexpect/Manifest | 1 + dev-python/pexpect/pexpect-4.0.1.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/pexpect/Manifest b/dev-python/pexpect/Manifest index 628f98f..a8e98a9 100644 --- a/dev-python/pexpect/Manifest +++ b/dev-python/pexpect/Manifest @@ -1 +1,2 @@ DIST pexpect-3.3.tar.gz 132330 SHA256 dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba SHA512 66cc501f1c7bb8ba0be4cdc0db840629f51416dc54ae44dc770adb38f1a385116b0a8b9bc7f1cc1447f05ede36ef1b519f5c4e710e6cb736c923ecfc87497cfa WHIRLPOOL e708e722d4e2598958f8d724b84148608e9a53041077b1a1a2af84d5281e11f0c6c050ee88489eebc48bd5556c22e0fe9386680d34b1941ddf21539296629513 +DIST pexpect-4.0.1.tar.gz 143657 SHA256 232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c SHA512 c2476f977964379faa3ecef1bc4800f3a87bd6cdd9e2d52e4e4f33a4060a97bb54f0770dfb5804d5a863eaf6ddef6b11be1d24f1617cc4837015202868ca7e87 WHIRLPOOL 91bc9e259f547b34d6a8847f3154601487e5f4d0ce1d7698078eb653fc12209c4d708f902e00cfb483f3872ce42063d65d8900dcaf9c727421f5e8b3d730e076 diff --git a/dev-python/pexpect/pexpect-4.0.1.ebuild b/dev-python/pexpect/pexpect-4.0.1.ebuild new file mode 100644 index 0000000..a2191ad --- /dev/null +++ b/dev-python/pexpect/pexpect-4.0.1.ebuild @@ -0,0 +1,51 @@ +# 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} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python module for spawning child applications and responding to expected patterns" +HOMEPAGE=" + http://pexpect.sourceforge.net/ + https://pypi.python.org/pypi/pexpect/ + https://github.com/pexpect/pexpect/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples test" + +RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]" +DEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # tests failing + # https://github.com/pexpect/pexpect/issues/282 + # https://github.com/pexpect/pexpect/issues/283 + # https://github.com/pexpect/pexpect/issues/284 + rm tests/test_maxcanon.py tests/test_async.py || die + touch .coveragerc || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + py.test tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}