forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/byobu: version bump to 5.113
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST byobu_5.112.orig.tar.gz 664274 SHA256 4d67fb7bc18cb6ceb74f800fc312c3a1c6b1cb19c1d6e0e6cfe60fd8900e7b2b SHA512 57545ac86e1f6bf6601250bfd9d46ada17b22728a17453f9810b723c393655db97723d068b2452467dc4b4e9c2d9d52b76011191f4f09c01ad4bb91d93f15bea WHIRLPOOL 5a30f25a50ebf2a6ca30765a18d1850dc1c6433aed39e2dc56d9da1cbd4a3aec3c4d9d8d74fe6b965e912abd52d289b8f801050c9454ff865e508281b9014de5 | ||
DIST byobu_5.113.orig.tar.gz 664844 SHA256 2a5aca3fcc1ab7066e4246c1b540c6ab7b0bc235be0d61a5dd4f1091074194ee SHA512 4e82cfda46604db62b541a210e4a41ed466fb2fb515dec76caadd6825e2ab50667b5e6ec0c4893a0ff8678375c5cac15af4c411d3a41f7c9bbb505035484a85a WHIRLPOOL 708f904d1205f8fbc2935bf98fc18dd022b0526dc5405df5bcfc7a19922202060c222002e1443a77c61379331cd10276fcfd24cdfee62a91d36003cff3d1d807 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
PYTHON_COMPAT=( python2_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="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="screen" | ||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
RDEPEND="${PYTHON_DEPS} | ||
dev-libs/newt[${PYTHON_USEDEP}] | ||
screen? ( app-misc/screen ) | ||
!screen? ( app-misc/tmux )" | ||
|
||
src_prepare() { | ||
default | ||
|
||
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 | ||
|
||
docompress -x /usr/share/doc/${PN} | ||
} |