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.116
- 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.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 | ||
DIST byobu_5.116.orig.tar.gz 665355 SHA256 85251e149bc56cfeb299c88b32390889b73b444f47039f9206a012602ecb9748 SHA512 49a37ad155f32db4cc2d03c9b235b94f1acc63a4496b9d1929b9418f00daf045fa0a571616e2b33977d764724f3b692e56053d490cd26e765aa3e5a9aa00d572 WHIRLPOOL e33053a3c4b388673e4b0ba4c968bd2cf9b66f101d456f578e25f437f8bd0365cd2a938becbfaaaae9046f0261044063117a68cb4ca9ae9bc1ad56a1d11edf14 |
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} | ||
} |