summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-25 00:03:12 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-25 00:03:12 +0000
commit457f79eac49bab183e9f4bbe21ca3446f2aa7e15 (patch)
tree41dbaf1b1183569441d418c470129c20a35d626f /dev-vcs
parentConvert to python-single-r1. (diff)
downloadgentoo-2-457f79eac49bab183e9f4bbe21ca3446f2aa7e15.tar.gz
gentoo-2-457f79eac49bab183e9f4bbe21ca3446f2aa7e15.tar.bz2
gentoo-2-457f79eac49bab183e9f4bbe21ca3446f2aa7e15.zip
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/bzr-gtk/ChangeLog7
-rw-r--r--dev-vcs/bzr-gtk/bzr-gtk-0.104.0-r1.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-vcs/bzr-gtk/ChangeLog b/dev-vcs/bzr-gtk/ChangeLog
index c604de49fcda..5af4dd21dc16 100644
--- a/dev-vcs/bzr-gtk/ChangeLog
+++ b/dev-vcs/bzr-gtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/bzr-gtk
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr-gtk/ChangeLog,v 1.21 2014/11/13 13:00:57 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr-gtk/ChangeLog,v 1.22 2014/12/25 00:03:12 mgorny Exp $
+
+*bzr-gtk-0.104.0-r1 (25 Dec 2014)
+
+ 25 Dec 2014; Michał Górny <mgorny@gentoo.org> +bzr-gtk-0.104.0-r1.ebuild:
+ Convert to distutils-r1.
13 Nov 2014; Pacho Ramos <pacho@gentoo.org> -bzr-gtk-0.100.0.ebuild,
metadata.xml:
diff --git a/dev-vcs/bzr-gtk/bzr-gtk-0.104.0-r1.ebuild b/dev-vcs/bzr-gtk/bzr-gtk-0.104.0-r1.ebuild
new file mode 100644
index 000000000000..ca0826692257
--- /dev/null
+++ b/dev-vcs/bzr-gtk/bzr-gtk-0.104.0-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr-gtk/bzr-gtk-0.104.0-r1.ebuild,v 1.1 2014/12/25 00:03:12 mgorny Exp $
+
+EAPI=5
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_P="/${P/_rc/rc}"
+
+DESCRIPTION="A GTK+ interfaces to most Bazaar operations"
+HOMEPAGE="http://bazaar-vcs.org/bzr-gtk"
+SRC_URI="http://launchpad.net/${PN}/gtk3/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome-keyring gpg nautilus"
+
+DEPEND=">=dev-vcs/bzr-1.6_rc1[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ >=dev-python/pycairo-1.0[${PYTHON_USEDEP}]
+ nautilus? (
+ >=dev-python/nautilus-python-1.0[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ )"
+RDEPEND="${DEPEND}
+ nautilus? ( >=dev-python/nautilus-python-1.0[${PYTHON_USEDEP}] )
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
+ gpg? ( app-crypt/seahorse )"
+
+S="${WORKDIR}/${MY_P}"
+
+#TODO: src_test
+
+python_prepare_all() {
+ cp "${FILESDIR}"/credits.pickle "${S}"/credits.pickle || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if ! use nautilus; then
+ # automagic dep
+ rm -rf "${D%/}"/usr/$(get_libdir)/nautilus/ || die
+ rm -rf "${D%/}"$(python_get_sitedir)/bzrlib/plugins/gtk/nautilus-bzr.py* || die
+ fi
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /etc/xdg/autostart
+ doins bzr-notify.desktop
+}