1 |
arfrever 09/08/04 23:50:40 |
2 |
|
3 |
Modified: ChangeLog decorator-3.0.1.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 13912-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.6 dev-python/decorator/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.6&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?rev=1.6&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/ChangeLog?r1=1.5&r2=1.6 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v |
18 |
retrieving revision 1.5 |
19 |
retrieving revision 1.6 |
20 |
diff -u -r1.5 -r1.6 |
21 |
--- ChangeLog 22 May 2009 21:00:21 -0000 1.5 |
22 |
+++ ChangeLog 4 Aug 2009 23:50:40 -0000 1.6 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/decorator |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.5 2009/05/22 21:00:21 patrick Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.6 2009/08/04 23:50:40 arfrever Exp $ |
28 |
+ |
29 |
+ 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ decorator-3.0.1.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
22 May 2009; Patrick Lauer <patrick@g.o> decorator-2.3.2.ebuild: |
34 |
SRC_URI fix for 2.3.2, fixes #269086 |
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-python/decorator/decorator-3.0.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: decorator-3.0.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- decorator-3.0.1.ebuild 27 Mar 2009 11:41:12 -0000 1.1 |
51 |
+++ decorator-3.0.1.ebuild 4 Aug 2009 23:50:40 -0000 1.2 |
52 |
@@ -1,6 +1,9 @@ |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild,v 1.1 2009/03/27 11:41:12 bicatali Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild,v 1.2 2009/08/04 23:50:40 arfrever Exp $ |
57 |
+ |
58 |
+EAPI="2" |
59 |
+SUPPORT_PYTHON_ABIS="1" |
60 |
|
61 |
inherit distutils |
62 |
|
63 |
@@ -13,18 +16,34 @@ |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="doc" |
66 |
|
67 |
+DEPEND="" |
68 |
+RDEPEND="" |
69 |
+ |
70 |
+RESTRICT_PYTHON_ABIS="3*" |
71 |
+ |
72 |
DOCS="CHANGES.txt README.txt" |
73 |
|
74 |
src_test() { |
75 |
- # multiprocessing only in python-2.6 and above, and not use anyway |
76 |
+ # multiprocessing module is available only in Python >=2.6, and isn't used anyway. |
77 |
sed -i -e '/multiprocessing/d' documentation.py || die |
78 |
- PYTHONPATH=build/lib "${python}" documentation.py || die "tests failed" |
79 |
+ testing() { |
80 |
+ PYTHONPATH="build/lib-${PYTHON_ABI}" "$(get_python)" documentation.py |
81 |
+ } |
82 |
+ python_execute_function testing |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
distutils_src_install |
87 |
- if use doc;then |
88 |
+ if use doc; then |
89 |
dodoc documentation.pdf || die "dodoc pdf doc failed" |
90 |
dohtml documentation.html || die "dohtml html doc failed" |
91 |
fi |
92 |
} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ python_mod_optimize decorator.py |
96 |
+} |
97 |
+ |
98 |
+pkg_postrm() { |
99 |
+ python_mod_cleanup |
100 |
+} |