Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/rabbitvcs: ChangeLog rabbitvcs-0.15.0.5-r1.ebuild
Date: Wed, 07 Mar 2012 23:11:54
Message-Id: 20120307231143.A2D492004B@flycatcher.gentoo.org
1 xmw 12/03/07 23:11:43
2
3 Modified: ChangeLog
4 Added: rabbitvcs-0.15.0.5-r1.ebuild
5 Log:
6 Revbump to fix nautilus-3 support, thanks to Simon Maurer for the testing (bug 407249)
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 dev-vcs/rabbitvcs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 5 Feb 2012 01:43:47 -0000 1.7
24 +++ ChangeLog 7 Mar 2012 23:11:43 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-vcs/rabbitvcs
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog,v 1.7 2012/02/05 01:43:47 floppym Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog,v 1.8 2012/03/07 23:11:43 xmw Exp $
30 +
31 +*rabbitvcs-0.15.0.5-r1 (07 Mar 2012)
32 +
33 + 07 Mar 2012; Michael Weber <xmw@g.o> +rabbitvcs-0.15.0.5-r1.ebuild:
34 + Revbump to fix nautilus-3 support, thanks to Simon Maurer for the testing
35 + (bug 407249)
36
37 05 Feb 2012; Mike Gilbert <floppym@g.o> rabbitvcs-0.14.2.1.ebuild,
38 rabbitvcs-0.15.0.5.ebuild:
39
40
41
42 1.1 dev-vcs/rabbitvcs/rabbitvcs-0.15.0.5-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/rabbitvcs/rabbitvcs-0.15.0.5-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/rabbitvcs/rabbitvcs-0.15.0.5-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rabbitvcs-0.15.0.5-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/rabbitvcs-0.15.0.5-r1.ebuild,v 1.1 2012/03/07 23:11:43 xmw Exp $
52
53 EAPI=4
54
55 PYTHON_DEPEND="2:2.5"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="2.4 3.*"
58
59 inherit gnome2-utils multilib distutils
60
61 DESCRIPTION="Integrated version control support for your desktop"
62 HOMEPAGE="http://rabbitvcs.org"
63 SRC_URI="http://rabbitvcs.googlecode.com/files/${P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="cli diff gedit git nautilus spell thunar"
69
70 RDEPEND="dev-python/configobj
71 dev-python/pygobject:2
72 dev-python/pygtk
73 dev-python/pysvn
74 dev-python/simplejson
75 diff? ( dev-util/meld )
76 gedit? ( app-editors/gedit )
77 git? ( dev-python/dulwich )
78 nautilus? ( >=dev-python/nautilus-python-0.7.0
79 dev-python/dbus-python
80 dev-python/gnome-vfs-python )
81 spell? ( dev-python/gtkspell-python )
82 thunar? ( dev-python/thunarx-python
83 dev-python/dbus-python )"
84
85 src_prepare() {
86 python_convert_shebangs -r 2 .
87
88 distutils_src_prepare
89
90 # we should not do gtk-update-icon-cache from setup script
91 # we prefer portage for that
92 sed -e 's/"install"/"fakeinstall"/' -i "${S}/setup.py" || die
93 }
94
95 src_install() {
96 distutils_src_install
97
98 if use cli ; then
99 dobin clients/cli/${PN}
100 fi
101 if use gedit ; then
102 insinto /usr/$(get_libdir)/gedit-2/plugins
103 doins clients/gedit/${PN}-plugin.py
104 doins clients/gedit/${PN}.gedit-plugin
105 fi
106 if use nautilus ; then
107 insinto /usr/$(get_libdir)/nautilus/extensions-2.0/python
108 doins clients/nautilus/RabbitVCS.py
109 insinto /usr/share/nautilus-python/extensions
110 doins clients/nautilus-3.0/RabbitVCS.py
111 fi
112 if use thunar ; then
113 insinto "/usr/$(get_libdir)/thunarx-2/python"
114 doins clients/thunar/RabbitVCS.py
115 insinto "/usr/$(get_libdir)/thunarx-1/python"
116 doins clients/thunar/RabbitVCS.py
117 fi
118 }
119
120 pkg_preinst() {
121 gnome2_icon_savelist
122 }
123
124 pkg_postinst() {
125 distutils_pkg_postinst
126 gnome2_icon_cache_update
127
128 elog "You should restart file manager to changes take effect:"
129 use nautilus && elog "\$ nautilus -q"
130 use thunar && elog "\$ thunar -q && thunar &"
131 elog ""
132 elog "Also you should really look at known issues page:"
133 elog "http://wiki.rabbitvcs.org/wiki/support/known-issues"
134 }
135
136 pkg_postrm() {
137 distutils_pkg_postrm
138 gnome2_icon_cache_update
139 }