From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-vcs/git-cola/files/, dev-vcs/git-cola/
Date: Fri, 25 May 2012 14:02:55 +0000 (UTC) [thread overview]
Message-ID: <1337954542.0f539a6c98c29c6bfe4800953a458f7342275634.jlec@gentoo> (raw)
commit: 0f539a6c98c29c6bfe4800953a458f7342275634
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri May 25 14:02:22 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri May 25 14:02:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=0f539a6c
dev-vcs/git-cola: Import tree changes related to ssh_askpass handling
(Portage version: 2.2.0_alpha108/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
dev-vcs/git-cola/ChangeLog | 4 ++
.../git-cola/files/9999-system-ssh-askpass.patch | 32 ++++++++++++++++++++
dev-vcs/git-cola/git-cola-9999.ebuild | 11 +++++-
3 files changed, 45 insertions(+), 2 deletions(-)
diff --git a/dev-vcs/git-cola/ChangeLog b/dev-vcs/git-cola/ChangeLog
index 5b8fcc3..aae5ee1 100644
--- a/dev-vcs/git-cola/ChangeLog
+++ b/dev-vcs/git-cola/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cola/ChangeLog,v 1.8 2011/04/13 19:00:02 jlec Exp $
+ 25 May 2012; Justin Lecher <jlec@gentoo.org>
+ +files/9999-system-ssh-askpass.patch, git-cola-9999.ebuild:
+ Import tree changes related to ssh_askpass handling
+
*git-cola-9999 (11 May 2012)
11 May 2012; Justin Lecher <jlec@gentoo.org> +files/9999-disable-tests.patch,
diff --git a/dev-vcs/git-cola/files/9999-system-ssh-askpass.patch b/dev-vcs/git-cola/files/9999-system-ssh-askpass.patch
new file mode 100644
index 0000000..665070d
--- /dev/null
+++ b/dev-vcs/git-cola/files/9999-system-ssh-askpass.patch
@@ -0,0 +1,32 @@
+diff --git a/cola/app.py b/cola/app.py
+index a689fdb..9618c3e 100644
+--- a/cola/app.py
++++ b/cola/app.py
+@@ -52,10 +52,10 @@ def setup_environment():
+ # Provide an SSH_ASKPASS fallback
+ if sys.platform == 'darwin':
+ os.environ.setdefault('SSH_ASKPASS',
+- resources.share('bin', 'ssh-askpass-darwin'))
++ resources.prefix('bin', 'ssh-askpass-darwin'))
+ else:
+ os.environ.setdefault('SSH_ASKPASS',
+- resources.share('bin', 'ssh-askpass'))
++ resources.prefix('bin', 'x11-ssh-askpass'))
+
+ # Setup the path so that git finds us when we run 'git cola'
+ path_entries = os.environ.get('PATH').split(os.pathsep)
+diff --git a/setup.py b/setup.py
+index d639eda..90d5fd0 100755
+--- a/setup.py
++++ b/setup.py
+@@ -101,10 +101,6 @@ def cola_data_files():
+ data.extend([_app_path(localedir, 'git-cola.mo')
+ for localedir in glob('share/locale/*/LC_MESSAGES')])
+
+- if sys.platform == 'darwin':
+- data.append(_app_path('share/git-cola/bin', 'ssh-askpass-darwin'))
+- else:
+- data.append(_app_path('share/git-cola/bin', 'ssh-askpass'))
+ return data
+
+
diff --git a/dev-vcs/git-cola/git-cola-9999.ebuild b/dev-vcs/git-cola/git-cola-9999.ebuild
index dab8fb4..bbd4f21 100644
--- a/dev-vcs/git-cola/git-cola-9999.ebuild
+++ b/dev-vcs/git-cola/git-cola-9999.ebuild
@@ -20,6 +20,7 @@ KEYWORDS=""
IUSE="doc test"
RDEPEND="
+ dev-python/jsonpickle
dev-python/pyinotify
dev-python/PyQt4
dev-vcs/git"
@@ -49,9 +50,11 @@ src_prepare() {
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
cola/resources.py || die "sed failed"
- epatch "${FILESDIR}/9999-disable-tests.patch"
+ epatch \
+ "${FILESDIR}"/9999-disable-tests.patch \
+ "${FILESDIR}"/9999-system-ssh-askpass.patch
- python_convert_shebangs 2 bin/git-cola bin/git-dag share/git-cola/bin/ssh-askpass
+ python_convert_shebangs 2 bin/git-cola bin/git-dag
}
src_compile() {
@@ -84,6 +87,10 @@ src_test() {
pkg_postinst() {
python_mod_optimize /usr/share/git-cola/lib/cola
+
+ elog "Please make sure you have either a SSH key management installed and activated or"
+ elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
+ elog "Otherwise git-cola may hang when pushing/pulling from remote git repositories via SSH. "
}
pkg_postrm() {
next reply other threads:[~2012-05-25 14:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 14:02 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-29 7:50 [gentoo-commits] proj/betagarden:master commit in: dev-vcs/git-cola/files/, dev-vcs/git-cola/ Justin Lecher
2014-01-20 12:30 Justin Lecher
2013-10-11 8:39 Justin Lecher
2012-09-04 6:44 Justin Lecher
2012-05-11 10:45 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337954542.0f539a6c98c29c6bfe4800953a458f7342275634.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox