summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/byobu/ChangeLog7
-rw-r--r--app-misc/byobu/byobu-5.37.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/app-misc/byobu/ChangeLog b/app-misc/byobu/ChangeLog
index 7df9e3ffb4d6..c2cd8bfc94a5 100644
--- a/app-misc/byobu/ChangeLog
+++ b/app-misc/byobu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/byobu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/ChangeLog,v 1.50 2013/04/16 09:13:09 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/ChangeLog,v 1.51 2013/04/29 07:26:30 radhermit Exp $
+
+*byobu-5.37 (29 Apr 2013)
+
+ 29 Apr 2013; Tim Harder <radhermit@gentoo.org> +byobu-5.37.ebuild:
+ Version bump.
*byobu-5.36 (16 Apr 2013)
diff --git a/app-misc/byobu/byobu-5.37.ebuild b/app-misc/byobu/byobu-5.37.ebuild
new file mode 100644
index 000000000000..1eb79c5c7bdd
--- /dev/null
+++ b/app-misc/byobu/byobu-5.37.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.37.ebuild,v 1.1 2013/04/29 07:26:30 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit python-single-r1
+
+DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
+HOMEPAGE="http://byobu.co"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="screen"
+
+RDEPEND="
+ dev-libs/newt
+ screen? ( app-misc/screen )
+ !screen? ( app-misc/tmux )"
+
+src_prepare() {
+ python_fix_shebang .
+
+ # Set default system backend to screen
+ if use screen ; then
+ sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
+ fi
+}
+
+src_install() {
+ default
+
+ # Create symlinks for backends
+ dosym ${PN} /usr/bin/${PN}-screen
+ dosym ${PN} /usr/bin/${PN}-tmux
+}