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.123
- Loading branch information
Showing
2 changed files
with
44 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,2 +1,3 @@ | ||
DIST byobu_5.119.orig.tar.gz 664949 SHA256 4b092ca12d3a33e89d84cc90c4a41af2ba8697d48e26080a45d64d6b7800ca77 SHA512 498ea4f0e67bbef45d964bb157541bb115498f85f69c470ab8107b07886264d3bee03a108d37316fc580c4cd2231da3195f5e4dd9e8f819d309e13a06c83344a WHIRLPOOL 35d69107e8566bd1af7d598e8380ad99fcf3ab0e3930f5aaa298a49e4da623676141e9efcfb4b491b2621ac9f0af764383ff939bca2d9f4c882df22eeea92618 | ||
DIST byobu_5.122.orig.tar.gz 581198 SHA256 0e5f14db8340712cf5b1049002c5b7f2a116ca28e6df418cb7500d3c4fa43234 SHA512 df090d964dfc9b9667fa357f828e021788e0c43ed6849c9f0d4f0a95e8cc431e3cb74ce4569e96187a78f640a5fb91d5eda8cc1f2619d83cf2ad79c82a8c1f10 WHIRLPOOL bf58f3b3784ba8587242f4bebefb0a4c0adc66a604d452c2f37d5f8479a8e21867ae79b32c2ea9203aca1e7c1bd0a8e92d28d4c864fc43a9a0a8dcb5d10d790c | ||
DIST byobu_5.123.orig.tar.gz 581421 SHA256 2e5a5425368d2f74c0b8649ce88fc653420c248f6c7945b4b718f382adc5a67d SHA512 915ad330e85a4405ad808a6f03205c468800c0942507fc0183a883bb0b33be4023b5ef9d7a63b3fce328f771ac1a4952735ee6119a26d6a5f2b01afec7a04059 WHIRLPOOL a3c35f42828e3fc492d2873f67f9094d8b6a73db594acb7b50616bed5a1638415ea1526345ef12b0b79e65e461900fdd6caaded597f8ccfcb400b082ad7a3ac3 |
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,43 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
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} | ||
} |