1 |
commit: 498e17c62b30a2eb510e59c7faec8a886e8e0ddc |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 30 07:29:42 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 30 07:29:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=498e17c6 |
7 |
|
8 |
dev-python/ptyprocess: Add missing test funcion and drop ebuild which was moved to tree |
9 |
|
10 |
Package-Manager: portage-2.2.20 |
11 |
|
12 |
dev-python/ptyprocess/ChangeLog | 5 +++++ |
13 |
dev-python/ptyprocess/ptyprocess-0.5.ebuild | 1 - |
14 |
dev-python/ptyprocess/ptyprocess-9999.ebuild | 25 +++++++++++++------------ |
15 |
3 files changed, 18 insertions(+), 13 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/ptyprocess/ChangeLog b/dev-python/ptyprocess/ChangeLog |
18 |
index 7e1d345..e15190e 100644 |
19 |
--- a/dev-python/ptyprocess/ChangeLog |
20 |
+++ b/dev-python/ptyprocess/ChangeLog |
21 |
@@ -2,6 +2,11 @@ |
22 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 30 May 2015; Justin Lecher <jlec@g.o> -Manifest, |
26 |
+ -ptyprocess-0.5.ebuild, ptyprocess-9999.ebuild: |
27 |
+ dev-python/ptyprocess: Add missing test funcion and drop ebuild which was |
28 |
+ moved to tree |
29 |
+ |
30 |
*ptyprocess-0.5 (29 May 2015) |
31 |
*ptyprocess-9999 (29 May 2015) |
32 |
|
33 |
|
34 |
diff --git a/dev-python/ptyprocess/ptyprocess-0.5.ebuild b/dev-python/ptyprocess/ptyprocess-0.5.ebuild |
35 |
deleted file mode 120000 |
36 |
index 905bef5..0000000 |
37 |
--- a/dev-python/ptyprocess/ptyprocess-0.5.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1 +0,0 @@ |
40 |
-ptyprocess-9999.ebuild |
41 |
\ No newline at end of file |
42 |
|
43 |
diff --git a/dev-python/ptyprocess/ptyprocess-9999.ebuild b/dev-python/ptyprocess/ptyprocess-9999.ebuild |
44 |
index 6fd8b9c..db3260e 100644 |
45 |
--- a/dev-python/ptyprocess/ptyprocess-9999.ebuild |
46 |
+++ b/dev-python/ptyprocess/ptyprocess-9999.ebuild |
47 |
@@ -3,22 +3,23 @@ |
48 |
# $Header: $ |
49 |
|
50 |
EAPI=5 |
51 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
52 |
|
53 |
-inherit distutils-r1 |
54 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
55 |
|
56 |
-MY_PN="pyFFTW" |
57 |
+inherit distutils-r1 git-r3 |
58 |
|
59 |
-DESCRIPTION="Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty" |
60 |
+DESCRIPTION="Run a subprocess in a pseudo terminal" |
61 |
HOMEPAGE="https://github.com/pexpect/ptyprocess" |
62 |
- |
63 |
-if [ ${PV} == "9999" ] ; then |
64 |
- inherit git-r3 |
65 |
- EGIT_REPO_URI="https://github.com/pexpect/${PN}.git git://github.com/pexpect/${MY_PN}.git" |
66 |
-else |
67 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
68 |
- KEYWORDS="~amd64" |
69 |
-fi |
70 |
+SRC_URI="" |
71 |
+EGIT_REPO_URI="https://github.com/pexpect/${PN}.git git://github.com/pexpect/${MY_PN}.git" |
72 |
|
73 |
LICENSE="ISC" |
74 |
SLOT="0" |
75 |
+KEYWORDS="" |
76 |
+IUSE="test" |
77 |
+ |
78 |
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
79 |
+ |
80 |
+python_test() { |
81 |
+ py.test --verbose --verbose || die |
82 |
+} |