1 |
idella4 13/05/29 19:50:14 |
2 |
|
3 |
Modified: doit-0.20.0.ebuild ChangeLog |
4 |
Log: |
5 |
add pypy support, test phase |
6 |
|
7 |
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-python/doit/doit-0.20.0.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: doit-0.20.0.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- doit-0.20.0.ebuild 2 Feb 2013 09:17:36 -0000 1.1 |
23 |
+++ doit-0.20.0.ebuild 29 May 2013 19:50:14 -0000 1.2 |
24 |
@@ -1,9 +1,9 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild,v 1.1 2013/02/02 09:17:36 yngwin Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.20.0.ebuild,v 1.2 2013/05/29 19:50:14 idella4 Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
32 |
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) |
33 |
inherit eutils distutils-r1 |
34 |
|
35 |
DESCRIPTION="Automation tool" |
36 |
@@ -13,10 +13,35 @@ |
37 |
LICENSE="MIT" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64" |
40 |
-IUSE="" |
41 |
+IUSE="test" |
42 |
|
43 |
DEPEND="" |
44 |
-RDEPEND="dev-python/pyinotify" |
45 |
+RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]" |
46 |
+ |
47 |
+python_prepare_all() { |
48 |
+ use test && DISTUTILS_IN_SOURCE_BUILD=1 |
49 |
+ sed -e 's:from .conf:from conf:' -i tests/test_dependency.py || die |
50 |
+ distutils-r1_python_prepare_all |
51 |
+} |
52 |
+ |
53 |
+python_test() { |
54 |
+ local test |
55 |
+ # https://bitbucket.org/schettino72/doit/issue/48/test-suite-has-me-perplexed-doit-0200 |
56 |
+ # "${PYTHON}" runtests.py # How it's supposed to work |
57 |
+ # How it works |
58 |
+ if [[ "${EPYTHON}" == python3* ]]; then |
59 |
+ einfo "tests don't work for py3" |
60 |
+ else |
61 |
+ for test in tests/test_*.py |
62 |
+ do |
63 |
+ if ! "${PYTHON}" $test; then |
64 |
+ die "Test $test failed under ${EPYTHON}" |
65 |
+ else |
66 |
+ einfo "Test ${test#tests/} passed under ${EPYTHON}" |
67 |
+ fi |
68 |
+ done |
69 |
+ fi |
70 |
+} |
71 |
|
72 |
src_install() { |
73 |
distutils-r1_src_install |
74 |
|
75 |
|
76 |
|
77 |
1.4 dev-python/doit/ChangeLog |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?rev=1.4&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?rev=1.4&content-type=text/plain |
81 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?r1=1.3&r2=1.4 |
82 |
|
83 |
Index: ChangeLog |
84 |
=================================================================== |
85 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v |
86 |
retrieving revision 1.3 |
87 |
retrieving revision 1.4 |
88 |
diff -u -r1.3 -r1.4 |
89 |
--- ChangeLog 2 Feb 2013 09:17:36 -0000 1.3 |
90 |
+++ ChangeLog 29 May 2013 19:50:14 -0000 1.4 |
91 |
@@ -1,6 +1,9 @@ |
92 |
# ChangeLog for dev-python/doit |
93 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
94 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.3 2013/02/02 09:17:36 yngwin Exp $ |
95 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.4 2013/05/29 19:50:14 idella4 Exp $ |
96 |
+ |
97 |
+ 29 May 2013; Ian Delaney <idella4@g.o> doit-0.20.0.ebuild: |
98 |
+ add pypy support, test phase |
99 |
|
100 |
*doit-0.20.0 (02 Feb 2013) |