commit:     498e17c62b30a2eb510e59c7faec8a886e8e0ddc
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat May 30 07:29:42 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat May 30 07:29:42 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=498e17c6

dev-python/ptyprocess: Add missing test funcion and drop ebuild which was moved 
to tree

Package-Manager: portage-2.2.20

 dev-python/ptyprocess/ChangeLog              |  5 +++++
 dev-python/ptyprocess/ptyprocess-0.5.ebuild  |  1 -
 dev-python/ptyprocess/ptyprocess-9999.ebuild | 25 +++++++++++++------------
 3 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/dev-python/ptyprocess/ChangeLog b/dev-python/ptyprocess/ChangeLog
index 7e1d345..e15190e 100644
--- a/dev-python/ptyprocess/ChangeLog
+++ b/dev-python/ptyprocess/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  30 May 2015; Justin Lecher <[email protected]> -Manifest,
+  -ptyprocess-0.5.ebuild, ptyprocess-9999.ebuild:
+  dev-python/ptyprocess: Add missing test funcion and drop ebuild which was
+  moved to tree
+
 *ptyprocess-0.5 (29 May 2015)
 *ptyprocess-9999 (29 May 2015)
 

diff --git a/dev-python/ptyprocess/ptyprocess-0.5.ebuild 
b/dev-python/ptyprocess/ptyprocess-0.5.ebuild
deleted file mode 120000
index 905bef5..0000000
--- a/dev-python/ptyprocess/ptyprocess-0.5.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-ptyprocess-9999.ebuild
\ No newline at end of file

diff --git a/dev-python/ptyprocess/ptyprocess-9999.ebuild 
b/dev-python/ptyprocess/ptyprocess-9999.ebuild
index 6fd8b9c..db3260e 100644
--- a/dev-python/ptyprocess/ptyprocess-9999.ebuild
+++ b/dev-python/ptyprocess/ptyprocess-9999.ebuild
@@ -3,22 +3,23 @@
 # $Header: $
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
 
-inherit distutils-r1
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
 
-MY_PN="pyFFTW"
+inherit distutils-r1 git-r3
 
-DESCRIPTION="Launch a subprocess in a pseudo terminal (pty), and interact with 
both the process and its pty"
+DESCRIPTION="Run a subprocess in a pseudo terminal"
 HOMEPAGE="https://github.com/pexpect/ptyprocess";
-
-if [ ${PV} == "9999" ] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/pexpect/${PN}.git 
git://github.com/pexpect/${MY_PN}.git"
-else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-       KEYWORDS="~amd64"
-fi
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/pexpect/${PN}.git 
git://github.com/pexpect/${MY_PN}.git"
 
 LICENSE="ISC"
 SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+       py.test --verbose --verbose || die
+}

Reply via email to