1 |
aidecoe 11/12/27 14:26:35 |
2 |
|
3 |
Modified: diff-match-patch-20110725.1.ebuild ChangeLog |
4 |
Log: |
5 |
dev-python/diff-match-patch: Ebuild clean up wrt test phase. |
6 |
|
7 |
distutils eclass src_test() is used instead of custom one. Also distutils |
8 |
eclass src_prepare() is called at the beginning of custom one. |
9 |
|
10 |
(Portage version: 2.1.10.43/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.2 dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild?rev=1.2&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild?rev=1.2&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild?r1=1.1&r2=1.2 |
18 |
|
19 |
Index: diff-match-patch-20110725.1.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild,v |
22 |
retrieving revision 1.1 |
23 |
retrieving revision 1.2 |
24 |
diff -u -r1.1 -r1.2 |
25 |
--- diff-match-patch-20110725.1.ebuild 27 Dec 2011 13:07:18 -0000 1.1 |
26 |
+++ diff-match-patch-20110725.1.ebuild 27 Dec 2011 14:26:35 -0000 1.2 |
27 |
@@ -1,11 +1,12 @@ |
28 |
# Copyright 1999-2011 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild,v 1.1 2011/12/27 13:07:18 aidecoe Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild,v 1.2 2011/12/27 14:26:35 aidecoe Exp $ |
32 |
|
33 |
EAPI=4 |
34 |
|
35 |
PYTHON_DEPEND="*" |
36 |
SUPPORT_PYTHON_ABIS="1" |
37 |
+DISTUTILS_SRC_TEST="setup.py" |
38 |
|
39 |
inherit distutils |
40 |
|
41 |
@@ -21,25 +22,16 @@ |
42 |
DEPEND="" |
43 |
RDEPEND="${DEPEND}" |
44 |
|
45 |
-TEST_SCRIPT="${PN//-/_}/${PN//-/_}_test.py" |
46 |
- |
47 |
src_prepare() { |
48 |
+ distutils_src_prepare |
49 |
python_convert_shebangs -r 2 python2/* |
50 |
} |
51 |
|
52 |
-src_test() { |
53 |
- testing() { |
54 |
- local pylib="build-${PYTHON_ABI}/lib" |
55 |
- PYTHONPATH="${pylib}" "$(PYTHON)" "${pylib}/${TEST_SCRIPT}" |
56 |
- } |
57 |
- python_execute_function testing |
58 |
-} |
59 |
- |
60 |
src_install() { |
61 |
distutils_src_install |
62 |
|
63 |
delete_tests() { |
64 |
- rm "${D}/$(python_get_sitedir)/${TEST_SCRIPT}" || die |
65 |
+ rm "${D}/$(python_get_sitedir)/${PN//-/_}/${PN//-/_}_test.py" || die |
66 |
} |
67 |
|
68 |
python_execute_function -q delete_tests |
69 |
|
70 |
|
71 |
|
72 |
1.2 dev-python/diff-match-patch/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/ChangeLog?rev=1.2&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/ChangeLog?rev=1.2&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/diff-match-patch/ChangeLog?r1=1.1&r2=1.2 |
77 |
|
78 |
Index: ChangeLog |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/ChangeLog,v |
81 |
retrieving revision 1.1 |
82 |
retrieving revision 1.2 |
83 |
diff -u -r1.1 -r1.2 |
84 |
--- ChangeLog 27 Dec 2011 13:07:18 -0000 1.1 |
85 |
+++ ChangeLog 27 Dec 2011 14:26:35 -0000 1.2 |
86 |
@@ -1,6 +1,13 @@ |
87 |
# ChangeLog for dev-python/diff-match-patch |
88 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/ChangeLog,v 1.1 2011/12/27 13:07:18 aidecoe Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/ChangeLog,v 1.2 2011/12/27 14:26:35 aidecoe Exp $ |
91 |
+ |
92 |
+ 27 Dec 2011; Amadeusz Żołnowski <aidecoe@g.o> |
93 |
+ diff-match-patch-20110725.1.ebuild: |
94 |
+ Ebuild clean up wrt test phase. |
95 |
+ |
96 |
+ distutils eclass src_test() is used instead of custom one. Also distutils |
97 |
+ eclass src_prepare() is called at the beginning of custom one. |
98 |
|
99 |
*diff-match-patch-20110725.1 (27 Dec 2011) |