1 |
arfrever 10/03/01 20:08:23 |
2 |
|
3 |
Modified: dbus-python-0.83.0-r1.ebuild |
4 |
Log: |
5 |
Set PYTHON_EXPORT_PHASE_FUNCTIONS instead of PYTHON_DEFINE_DEFAULT_FUNCTIONS. |
6 |
Simplify installation of documentation. |
7 |
(Portage version: 15511-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.17 dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild?rev=1.17&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild?rev=1.17&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild?r1=1.16&r2=1.17 |
15 |
|
16 |
Index: dbus-python-0.83.0-r1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild,v |
19 |
retrieving revision 1.16 |
20 |
retrieving revision 1.17 |
21 |
diff -u -r1.16 -r1.17 |
22 |
--- dbus-python-0.83.0-r1.ebuild 17 Feb 2010 22:48:13 -0000 1.16 |
23 |
+++ dbus-python-0.83.0-r1.ebuild 1 Mar 2010 20:08:22 -0000 1.17 |
24 |
@@ -1,9 +1,10 @@ |
25 |
# Copyright 1999-2010 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild,v 1.16 2010/02/17 22:48:13 eva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.83.0-r1.ebuild,v 1.17 2010/03/01 20:08:22 arfrever Exp $ |
29 |
|
30 |
EAPI="2" |
31 |
-PYTHON_DEFINE_DEFAULT_FUNCTIONS="1" |
32 |
+PYTHON_DEPEND="2" |
33 |
+PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
34 |
SUPPORT_PYTHON_ABIS="1" |
35 |
|
36 |
inherit multilib python |
37 |
@@ -18,8 +19,7 @@ |
38 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
39 |
IUSE="doc examples test" |
40 |
|
41 |
-RDEPEND=">=dev-lang/python-2.4.4-r5 |
42 |
- >=dev-python/pyrex-0.9.3-r2 |
43 |
+RDEPEND=">=dev-python/pyrex-0.9.3-r2 |
44 |
>=dev-libs/dbus-glib-0.71 |
45 |
>=sys-apps/dbus-1.1.1" |
46 |
DEPEND="${RDEPEND} |
47 |
@@ -30,8 +30,8 @@ |
48 |
|
49 |
src_prepare() { |
50 |
# Disable compiling of .pyc files. |
51 |
- mv "${S}"/py-compile "${S}"/py-compile.orig |
52 |
- ln -s $(type -P true) "${S}"/py-compile |
53 |
+ mv py-compile py-compile.orig |
54 |
+ ln -s $(type -P true) py-compile |
55 |
|
56 |
python_src_prepare |
57 |
} |
58 |
@@ -41,7 +41,7 @@ |
59 |
|
60 |
configuration() { |
61 |
econf \ |
62 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
63 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
64 |
$(use_enable doc api-docs) |
65 |
} |
66 |
python_execute_function -s configuration |
67 |
@@ -51,14 +51,10 @@ |
68 |
python_src_install |
69 |
|
70 |
if use doc; then |
71 |
- # Install documentation only once. |
72 |
- documentation_installed="0" |
73 |
install_documentation() { |
74 |
- [[ "${documentation_installed}" == "1" ]] && return |
75 |
dohtml api/* || return 1 |
76 |
- documentation_installed="1" |
77 |
} |
78 |
- python_execute_function -q -s install_documentation |
79 |
+ python_execute_function -f -q -s install_documentation |
80 |
fi |
81 |
|
82 |
if use examples; then |
83 |
@@ -74,5 +70,5 @@ |
84 |
} |
85 |
|
86 |
pkg_postrm() { |
87 |
- python_mod_cleanup |
88 |
+ python_mod_cleanup dbus |
89 |
} |