Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/dragbox: dragbox-0.4.0.ebuild ChangeLog
Date: Sun, 04 Mar 2012 09:26:31
Message-Id: 20120304092619.D5CA22004B@flycatcher.gentoo.org
1 pacho 12/03/04 09:26:19
2
3 Modified: dragbox-0.4.0.ebuild ChangeLog
4 Log:
5 Let it work when python3 is used, by Arfrever bug #373647.
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 x11-misc/dragbox/dragbox-0.4.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild?r1=1.2&r2=1.3
15
16 Index: dragbox-0.4.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- dragbox-0.4.0.ebuild 28 Mar 2011 17:15:55 -0000 1.2
23 +++ dragbox-0.4.0.ebuild 4 Mar 2012 09:26:19 -0000 1.3
24 @@ -1,8 +1,8 @@
25 -# Copyright 1999-2011 Gentoo Foundation
26 +# Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild,v 1.2 2011/03/28 17:15:55 angelos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild,v 1.3 2012/03/04 09:26:19 pacho Exp $
30
31 -EAPI="2"
32 +EAPI=4
33 PYTHON_DEPEND="2"
34 inherit python
35
36 @@ -24,15 +24,25 @@
37 x11-libs/gtk+:2"
38 RDEPEND="${DEPEND}"
39
40 +pkg_setup() {
41 + python_set_active_version 2
42 + python_pkg_setup
43 +}
44 +
45 +src_prepare() {
46 + python_clean_py-compile_files
47 + python_convert_shebangs 2 dragbox
48 +}
49 +
50 src_install() {
51 - emake DESTDIR="${D}" install || die "emake install failed"
52 - dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
53 + emake DESTDIR="${D}" install
54 + dodoc AUTHORS ChangeLog NEWS README TODO
55 }
56
57 pkg_postinst() {
58 - python_mod_optimize $(python_get_sitedir)/Dragbox
59 + python_mod_optimize Dragbox
60 }
61
62 pkg_postrm() {
63 - python_mod_cleanup $(python_get_sitedir)/Dragbox
64 + python_mod_cleanup Dragbox
65 }
66
67
68
69 1.4 x11-misc/dragbox/ChangeLog
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/ChangeLog?rev=1.4&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/ChangeLog?rev=1.4&content-type=text/plain
73 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/dragbox/ChangeLog?r1=1.3&r2=1.4
74
75 Index: ChangeLog
76 ===================================================================
77 RCS file: /var/cvsroot/gentoo-x86/x11-misc/dragbox/ChangeLog,v
78 retrieving revision 1.3
79 retrieving revision 1.4
80 diff -u -r1.3 -r1.4
81 --- ChangeLog 28 Mar 2011 17:15:55 -0000 1.3
82 +++ ChangeLog 4 Mar 2012 09:26:19 -0000 1.4
83 @@ -1,6 +1,9 @@
84 # ChangeLog for x11-misc/dragbox
85 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
86 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dragbox/ChangeLog,v 1.3 2011/03/28 17:15:55 angelos Exp $
87 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
88 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dragbox/ChangeLog,v 1.4 2012/03/04 09:26:19 pacho Exp $
89 +
90 + 04 Mar 2012; Pacho Ramos <pacho@g.o> dragbox-0.4.0.ebuild:
91 + Let it work when python3 is used, by Arfrever bug #373647.
92
93 28 Mar 2011; Christoph Mende <angelos@g.o> dragbox-0.4.0.ebuild:
94 Fixed slot deps