From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/dbus-python: ChangeLog dbus-python-0.84.0.ebuild |
Date: | Fri, 29 Jul 2011 00:02:19 |
Message-Id: | 20110728230811.B925A2004B@flycatcher.gentoo.org |
1 | patrick 11/07/28 23:08:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dbus-python-0.84.0.ebuild |
5 | Log: |
6 | Bump for #368943 |
7 | |
8 | (Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.70 dev-python/dbus-python/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/ChangeLog?rev=1.70&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/ChangeLog?rev=1.70&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/ChangeLog?r1=1.69&r2=1.70 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/dbus-python/ChangeLog,v |
20 | retrieving revision 1.69 |
21 | retrieving revision 1.70 |
22 | diff -u -r1.69 -r1.70 |
23 | --- ChangeLog 20 Mar 2011 17:30:04 -0000 1.69 |
24 | +++ ChangeLog 28 Jul 2011 23:08:11 -0000 1.70 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/dbus-python |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/ChangeLog,v 1.69 2011/03/20 17:30:04 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/ChangeLog,v 1.70 2011/07/28 23:08:11 patrick Exp $ |
30 | + |
31 | +*dbus-python-0.84.0 (28 Jul 2011) |
32 | + |
33 | + 28 Jul 2011; Patrick Lauer <patrick@g.o> +dbus-python-0.84.0.ebuild: |
34 | + Bump for #368943 |
35 | |
36 | 20 Mar 2011; Samuli Suominen <ssuominen@g.o> |
37 | dbus-python-0.83.2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/dbus-python/dbus-python-0.84.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/dbus-python-0.84.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dbus-python/dbus-python-0.84.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: dbus-python-0.84.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.84.0.ebuild,v 1.1 2011/07/28 23:08:11 patrick Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="2" |
54 | PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | RESTRICT_PYTHON_ABIS="3.* *-jython" |
57 | |
58 | inherit eutils multilib python |
59 | |
60 | DESCRIPTION="Python bindings for the D-Bus messagebus." |
61 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings \ |
62 | http://dbus.freedesktop.org/doc/dbus-python/" |
63 | SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" |
64 | |
65 | SLOT="0" |
66 | LICENSE="MIT" |
67 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
68 | IUSE="doc examples test" |
69 | |
70 | RDEPEND=" |
71 | >=dev-libs/dbus-glib-0.88 |
72 | >=sys-apps/dbus-1.4.1" |
73 | DEPEND="${RDEPEND} |
74 | doc? ( =dev-python/epydoc-3* ) |
75 | test? ( dev-python/pygobject ) |
76 | dev-util/pkgconfig" |
77 | |
78 | src_prepare() { |
79 | # Disable compiling of .pyc files. |
80 | mv py-compile py-compile.orig |
81 | ln -s $(type -P true) py-compile |
82 | |
83 | # Workaround testsuite issues |
84 | epatch "${FILESDIR}/${PN}-0.83.1-workaround-broken-test.patch" |
85 | |
86 | python_src_prepare |
87 | } |
88 | |
89 | src_configure() { |
90 | configuration() { |
91 | econf \ |
92 | --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
93 | $(use_enable doc api-docs) |
94 | } |
95 | python_execute_function -s configuration |
96 | } |
97 | |
98 | src_test() { |
99 | unset DBUS_SESSION_BUS_ADDRESS |
100 | python_src_test |
101 | } |
102 | |
103 | src_install() { |
104 | python_src_install |
105 | |
106 | if use doc; then |
107 | install_documentation() { |
108 | dohtml api/* || return 1 |
109 | } |
110 | python_execute_function -f -q -s install_documentation |
111 | fi |
112 | |
113 | if use examples; then |
114 | insinto /usr/share/doc/${PF}/ |
115 | doins -r examples || die |
116 | fi |
117 | |
118 | python_clean_installation_image |
119 | } |
120 | |
121 | pkg_postinst() { |
122 | python_mod_optimize dbus dbus_bindings.py |
123 | } |
124 | |
125 | pkg_postrm() { |
126 | python_mod_cleanup dbus dbus_bindings.py |
127 | } |