summaryrefslogtreecommitdiff
path: root/dev-vcs/rabbitvcs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/rabbitvcs
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/rabbitvcs')
-rw-r--r--dev-vcs/rabbitvcs/Manifest5
-rw-r--r--dev-vcs/rabbitvcs/metadata.xml22
-rw-r--r--dev-vcs/rabbitvcs/rabbitvcs-0.16-r1.ebuild101
3 files changed, 128 insertions, 0 deletions
diff --git a/dev-vcs/rabbitvcs/Manifest b/dev-vcs/rabbitvcs/Manifest
new file mode 100644
index 000000000000..b0c372c8666c
--- /dev/null
+++ b/dev-vcs/rabbitvcs/Manifest
@@ -0,0 +1,5 @@
+DIST rabbitvcs-0.16.tar.gz 1670167 SHA256 2227482e5a965917eb404455ef243443c670f610e9843b6481607da3020873da SHA512 dac3b98acb5b7ef1147105aa0f735bb964c098f764c62d0e2e601a2ce34b315a5c83b3bac8929cbac898f674c86266a200f28042aad0340c1c5273bec4a6279c WHIRLPOOL f5c89e38e66a2ea7b5a98ca9d55e839dcdde94c156d25b25949213bae9d9edca0b9c87f9a8d953695f4f7c5b7499311291ed14bf7702da5c765a1a4e778af2b5
+EBUILD rabbitvcs-0.16-r1.ebuild 3116 SHA256 00d68c00c2b5f127924df985a67628b971bfe325a95c52f86f3195f497180891 SHA512 ba042954748dc63ab64bae55241363d726126033f51e51a0c055c5a7c67a7b702d4831603d5c37613ad658c4d85708af78905fe9d2437645756f1b46027173f2 WHIRLPOOL 73fee212141b6662f00fab131910e6f2097afad9547266271934dc8a01fb84f4d11951233ded073ae87540d6bb90cdb4974902bfb8b8e63909cf6fdfcb0ed63a
+MISC ChangeLog 2632 SHA256 1b3bb23a89cb3ea2667b556ddae371db2f30d692ca258458089ac8e01ce761a9 SHA512 512b096765121f926a9a88e933125546b652dce65a0a1afa24b00adef04cfe591c504ad55a4345cccf63ca8e9f6c54b10bbe8a97b74c080a9a04ccd2d74f1ed3 WHIRLPOOL 821a73a0088f5aafc3b03f45fb9801996bb9bdb9fe7f281e1abd877c31d74b6212957b7f2e15cc50c33eba6fcc5347e6cb9574892087e675f49fb09ab1f7a467
+MISC ChangeLog-2015 3044 SHA256 cc9f11ed57b25874f4e97876e8f3808c027f174a3fe48d0e93adee0885dd303d SHA512 ab9e32f4e815fa3a62a93a16d5499154dada6767aae3445e8d35bc64f6f16c4023f37d65e181931125821f3dfa25e8f215d6167d08e17daecc89d067516f38de WHIRLPOOL bc174896ae61823a4ae0d36b29d9c7169bce15e51b77d25afae1ddb1cfd875e943b95d059a4005acf05665b82ffd98347e53fbc6dc195caf9f6e135b2e9ae7d9
+MISC metadata.xml 999 SHA256 4d2d8d8df18cd3fcad3cdbb822d63597ccb8af0ac72d0865f02cd46831620b0e SHA512 59d9aa5ba5faae6d0529dcc0ce1c89b9ab41b16b2ef2b03d74fecfeeb9a1b3a835d1124524b5791dcf37de3ea3245e131606755aa3db1940a2d801fe7a742f86 WHIRLPOOL 024e1fed2e1a58e5ed79902d1241480bd23ffefbf132ea432405653b8494a2fd6d244535f34eaed5ccdec3e1e092638c30426ffa598988c03e1d2103305aa3e9
diff --git a/dev-vcs/rabbitvcs/metadata.xml b/dev-vcs/rabbitvcs/metadata.xml
new file mode 100644
index 000000000000..27128113e29f
--- /dev/null
+++ b/dev-vcs/rabbitvcs/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <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="caja">Enable extension for <pkg>mate-base/caja</pkg></flag>
+ <flag name="cli">Eanble console based frontend</flag>
+ <flag name="diff">Use for diff command <pkg>dev-util/meld</pkg></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>
+ <upstream>
+ <remote-id type="github">rabbitvcs/rabbitvcs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-vcs/rabbitvcs/rabbitvcs-0.16-r1.ebuild b/dev-vcs/rabbitvcs/rabbitvcs-0.16-r1.ebuild
new file mode 100644
index 000000000000..f9e95ffff779
--- /dev/null
+++ b/dev-vcs/rabbitvcs/rabbitvcs-0.16-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2-utils distutils-r1 vcs-snapshot
+
+DESCRIPTION="Integrated version control support for your desktop"
+HOMEPAGE="http://rabbitvcs.org"
+SRC_URI="https://github.com/rabbitvcs/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="caja cli diff gedit git nautilus spell thunar"
+
+RDEPEND="dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/pysvn[${PYTHON_USEDEP}]
+ dev-python/simplejson[${PYTHON_USEDEP}]
+ caja? ( dev-python/python-caja[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/gnome-vfs-python[${PYTHON_USEDEP}] )
+ diff? ( dev-util/meld )
+ gedit? ( app-editors/gedit[${PYTHON_USEDEP}] )
+ git? ( dev-python/dulwich[${PYTHON_USEDEP}] )
+ nautilus? ( >=dev-python/nautilus-python-0.7.0[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/gnome-vfs-python[${PYTHON_USEDEP}] )
+ spell? ( dev-python/gtkspell-python[${PYTHON_USEDEP}] )
+ thunar? ( dev-python/thunarx-python[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+# 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
+
+ distutils-r1_python_prepare_all
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if use caja ; then
+ python_moduleinto /usr/share/caja-python/extensions
+ python_domodule clients/caja/RabbitVCS.py
+ fi
+ if use cli ; then
+ python_doscript clients/cli/rabbitvcs
+ fi
+ if use gedit ; then
+ python_moduleinto /usr/$(get_libdir)/gedit-2/plugins
+ python_domodule clients/gedit/rabbitvcs-plugin.py
+ insinto /usr/$(get_libdir)/gedit-2/plugins
+ doins clients/gedit/rabbitvcs-gedit2.gedit-plugin
+ python_moduleinto /usr/$(get_libdir)/gedit-2/plugins
+ python_domodule clients/gedit/rabbitvcs-plugin.py
+ insinto /usr/$(get_libdir)/gedit/plugins
+ doins clients/gedit/rabbitvcs-gedit3.plugin
+ fi
+ if use nautilus ; then
+ python_moduleinto /usr/$(get_libdir)/nautilus/extensions-2.0/python
+ python_domodule clients/nautilus/RabbitVCS.py
+ python_moduleinto /usr/share/nautilus-python/extensions
+ python_domodule clients/nautilus-3.0/RabbitVCS.py
+ fi
+ if use thunar ; then
+ python_moduleinto "/usr/$(get_libdir)/thunarx-2/python"
+ python_domodule clients/thunar/RabbitVCS.py
+ python_moduleinto "/usr/$(get_libdir)/thunarx-1/python"
+ python_domodule clients/thunar/RabbitVCS.py
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ elog "You should restart file manager to changes take effect:"
+ use caja && elog "\$ caja -q"
+ use nautilus && elog "\$ nautilus -q"
+ 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() {
+ gnome2_icon_cache_update
+}