summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-10-26 20:59:03 +0000
committerMichael Weber <xmw@gentoo.org>2010-10-26 20:59:03 +0000
commit96a075b64aed0022c1e7b03d379ecf736ac7a366 (patch)
tree1a2e2bc9de235b10e84959716553ec57785b44e0 /dev-vcs
parentStable on amd64 wrt bug #338343 (diff)
downloadgentoo-2-96a075b64aed0022c1e7b03d379ecf736ac7a366.tar.gz
gentoo-2-96a075b64aed0022c1e7b03d379ecf736ac7a366.tar.bz2
gentoo-2-96a075b64aed0022c1e7b03d379ecf736ac7a366.zip
Initial import
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/rabbitvcs/ChangeLog11
-rw-r--r--dev-vcs/rabbitvcs/metadata.xml19
-rw-r--r--dev-vcs/rabbitvcs/rabbitvcs-0.13.3.ebuild85
3 files changed, 115 insertions, 0 deletions
diff --git a/dev-vcs/rabbitvcs/ChangeLog b/dev-vcs/rabbitvcs/ChangeLog
new file mode 100644
index 000000000000..7ceb11b6af13
--- /dev/null
+++ b/dev-vcs/rabbitvcs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-vcs/rabbitvcs
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/ChangeLog,v 1.1 2010/10/26 20:59:03 xmw Exp $
+
+*rabbitvcs-0.13.3 (26 Oct 2010)
+
+ 26 Oct 2010; Michael Weber <xmw@gentoo.org> +rabbitvcs-0.13.3.ebuild,
+ +metadata.xml:
+ Initial import, fixes 303221. Thanks to Rion <rion4ik@gmail.com> for the
+ previous versions.
+
diff --git a/dev-vcs/rabbitvcs/metadata.xml b/dev-vcs/rabbitvcs/metadata.xml
new file mode 100644
index 000000000000..83c5a0fa26f5
--- /dev/null
+++ b/dev-vcs/rabbitvcs/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+ <longdescription>RabbitVCS is a set of graphical tools written to provide
+ simple and straightforward access to the version control systems you use.
+ RabbitVCS is inspired by TortoiseSVN and others.</longdescription>
+<use>
+<flag name='diff'>Use for diff command <pkg>dev-util/meld</pkg></flag>
+<flag name='cli'>Eanble console based frontend</flag>
+<flag name='gedit'>Enable plugin for <pkg>app-editors/gedit</pkg></flag>
+<flag name='nautilus'>Enable extension for <pkg>gnome-base/nautilus</pkg></flag>
+<flag name='thunar'>Enable extension for <pkg>xfce-base/thunar</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/dev-vcs/rabbitvcs/rabbitvcs-0.13.3.ebuild b/dev-vcs/rabbitvcs/rabbitvcs-0.13.3.ebuild
new file mode 100644
index 000000000000..b9b62232353b
--- /dev/null
+++ b/dev-vcs/rabbitvcs/rabbitvcs-0.13.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/rabbitvcs-0.13.3.ebuild,v 1.1 2010/10/26 20:59:03 xmw Exp $
+
+EAPI=2
+
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit gnome2-utils distutils
+
+DESCRIPTION="Integrated version control support for your desktop"
+HOMEPAGE="http://rabbitvcs.org"
+SRC_URI="http://rabbitvcs.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cli diff gedit nautilus spell thunar"
+
+RDEPEND="dev-python/configobj
+ dev-python/pygobject
+ dev-python/pygtk
+ dev-python/pysvn
+ diff? ( dev-util/meld )
+ gedit? ( app-editors/gedit )
+ nautilus? ( dev-python/nautilus-python
+ dev-python/dbus-python )
+ spell? ( dev-python/gtkspell-python )
+ thunar? ( dev-python/thunarx-python
+ dev-python/dbus-python )"
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+
+ distutils_src_prepare
+
+ # we should not do gtk-update-icon-cache from setup script
+ # we prefer portage for that
+ sed -e 's/"install"/"fakeinstall"/' -i "${S}/setup.py" || die
+}
+
+src_install() {
+ distutils_src_install
+
+ if use cli ; then
+ dobin clients/cli/${PN} || die
+ fi
+ if use gedit ; then
+ insinto /usr/$(get_libdir)/gedit-2/plugins
+ doins clients/gedit/${PN}-plugin.py || die
+ doins clients/gedit/${PN}.gedit-plugin || die
+ fi
+ if use nautilus ; then
+ insinto /usr/$(get_libdir)/nautilus/extensions-2.0/python
+ doins clients/nautilus/RabbitVCS.py || die
+ fi
+ if use thunar ; then
+ has_version '>=xfce-base/thunar-1.1.0' && tv=2 || tv=1
+ insinto "/usr/$(get_libdir)/thunarx-${tv}/python"
+ doins clients/thunar/RabbitVCS.py || die
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ gnome2_icon_cache_update
+
+ elog "You should restart file manager to changes take effect:"
+ use nautilus && elog "\$ nautilus -q && nautilus &"
+ use thunar && elog "\$ thunar -q && thunar &"
+ elog ""
+ elog "Also you should really look at known issues page:"
+ elog "http://wiki.rabbitvcs.org/wiki/support/known-issues"
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ gnome2_icon_cache_update
+}