From d42200bec37eef2a7478d88988ff00addd0a9202 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Jan 2020 11:50:47 +0000 Subject: gentoo resync : 25.01.2020 --- app-shells/kshdb/Manifest | 5 +-- .../kshdb-1.0.0-remove-COLORFGBG-message.patch | 47 ---------------------- app-shells/kshdb/kshdb-1.0.0.ebuild | 25 ------------ app-shells/kshdb/kshdb-1.1.0.ebuild | 25 ++++++++++++ 4 files changed, 27 insertions(+), 75 deletions(-) delete mode 100644 app-shells/kshdb/files/kshdb-1.0.0-remove-COLORFGBG-message.patch delete mode 100644 app-shells/kshdb/kshdb-1.0.0.ebuild create mode 100644 app-shells/kshdb/kshdb-1.1.0.ebuild (limited to 'app-shells/kshdb') diff --git a/app-shells/kshdb/Manifest b/app-shells/kshdb/Manifest index 402199b7491a..088f71597ff9 100644 --- a/app-shells/kshdb/Manifest +++ b/app-shells/kshdb/Manifest @@ -1,4 +1,3 @@ -AUX kshdb-1.0.0-remove-COLORFGBG-message.patch 1456 BLAKE2B bcf118c00b0324c8691a9a2518db272a20d1d23eb4ed1f5d5c00f92a4b8a42877658711ef0e72d2ef4eaa306b76970e152ab453fc480f972e2ce59cf94cbce8b SHA512 c25ec469594ac839c6ae068534ecb63ba72e7193985c0f190dc61840c8a6ab0d127b47a97ed3454d64a03a68063aa67a99fbed7ba125063af5a0fa5a493f3cf6 -DIST kshdb-1.0.0.tar.gz 153633 BLAKE2B 91e5d77e1a74f98149ef4c953c34b6a4ac43f68c930092bde6f5313be6d581072fb8ef39a500204e5eb544e1e6bc53d1f5f7800ba1d333020f6908bbde2268f6 SHA512 f010b3b739f1a9fdead52c251a536405f8cbae67882c554b034ef115a9d9ecd60438d883d51dd282a747068e108ad8e5d9442380b6563a2aa262c35b423ee1dd -EBUILD kshdb-1.0.0.ebuild 463 BLAKE2B 4ac370d244aa038eb3b7fe07726669c2b9fd4e15d1d9c97c2ee7465c5dfec97eb36d96df97ff161a2081f407518fe4603f7150bc46b1974dc68e86c84ab750bc SHA512 5277dfa16043151398c863fa86dcc3902a0be0fbfd69ff6c94e77feded826dd70e1087bc5eee6d9a67f39d01b493b7bdc5e82e99447ce0074e30e1db390bf104 +DIST kshdb-1.1.0.tar.gz 154189 BLAKE2B 23aabb6e5058de6d66b5834f4d61c6d1cc41894278f563bd329c4879e9c7aa955d7f690e13229c24b67182ea59bc214db42b56aba6ed9b932d7c61f618db8ee1 SHA512 c09a459cd99351ed058d4e248f628970d905bc4a0d08632a0e819331290001189d8b6ac3795ec94c2459df51a73941e4b46ac58daaef4378774a8d46ff50248e +EBUILD kshdb-1.1.0.ebuild 431 BLAKE2B c2a5a29a9035697de2f522743e114be28e9c7576bb033f3a1f66e2328c405c10b28dd66a0210eedabec36df3ed37b79669f2b7c56678275cc632736e0a6555f9 SHA512 2d81e41587dd6e61953b5c34dfda70e13110769319acde2c17513b134926725e7f663f426eab206eaba6e915c3030b91809b181167c7b7acb871a19b7cfc0122 MISC metadata.xml 246 BLAKE2B f94a229d0ffd7220f14c23ca2b0b6b84128338b5af27cd18ddb0c9e2f95f51c943fdfbc368c03b4a87d7bb381c668158fdc169fd067cc0cd8cd35852acc29d62 SHA512 b6df287a6e1f18bf267a05d8eb6dea788ae7ec74de31d9cea76fea038e4090c6a83d62221505d280d55e9b314d059c409e442951d78eb3a58928307ff118147b diff --git a/app-shells/kshdb/files/kshdb-1.0.0-remove-COLORFGBG-message.patch b/app-shells/kshdb/files/kshdb-1.0.0-remove-COLORFGBG-message.patch deleted file mode 100644 index 48db4dbccfd5..000000000000 --- a/app-shells/kshdb/files/kshdb-1.0.0-remove-COLORFGBG-message.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a989aef80767d6608f3c3c9db007c5aafd022358 Mon Sep 17 00:00:00 2001 -From: rocky -Date: Sun, 3 Nov 2019 18:23:07 -0500 -Subject: [PATCH] Remove COLORFGBG message from term-background.sh - ---- - init/term-background.sh | 12 ++++-------- - 1 file changed, 4 insertions(+), 8 deletions(-) - -diff --git a/init/term-background.sh b/init/term-background.sh -index 63f6e7d..716bb04 100644 ---- a/init/term-background.sh -+++ b/init/term-background.sh -@@ -57,9 +57,9 @@ get_default_bg() { - # Pass as parameters R G B values in hex - # On return, variable is_dark_bg is set - is_dark_rgb() { -- typeset r g b -+ typeset -i r g b - r=$1; g=$2; b=$3 -- if (( (16#$r + 16#$g + 16#$b) < $TERMINAL_COLOR_MIDPOINT )) ; then -+ if (( (16#r + 16#g + 16#b) < TERMINAL_COLOR_MIDPOINT )) ; then - is_dark_bg=1 - else - is_dark_bg=0 -@@ -172,11 +172,7 @@ if (( !success )) && [[ -n $TERM ]] ; then - fi - - if (( success )) ; then -- if (( is_dark_bg == 1 )) ; then -- echo "Dark background from ${method}" -- else -- echo "Light background from ${method}" -- fi -+ : - elif [[ -n $COLORFGBG ]] ; then - # Note that this can be wrong if - # COLORFGBG was set prior invoking a terminal -@@ -196,7 +192,7 @@ fi - # some environment variables - if is_sourced ; then - if (( exitrc == 0 )) ; then -- if (( $is_dark_bg == 1 )) ; then -+ if (( is_dark_bg == 1 )) ; then - export DARK_BG=1 - [[ -z $COLORFGBG ]] && export COLORFGBG='0;15' - else diff --git a/app-shells/kshdb/kshdb-1.0.0.ebuild b/app-shells/kshdb/kshdb-1.0.0.ebuild deleted file mode 100644 index e2a594debadc..000000000000 --- a/app-shells/kshdb/kshdb-1.0.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Korn Shell Debugger" -HOMEPAGE="https://github.com/rocky/kshdb" -SRC_URI="https://github.com/rocky/kshdb/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="app-shells/ksh" - -PATCHES=( - "${FILESDIR}"/kshdb-1.0.0-remove-COLORFGBG-message.patch -) - -src_prepare() { - default - eautoreconf -} diff --git a/app-shells/kshdb/kshdb-1.1.0.ebuild b/app-shells/kshdb/kshdb-1.1.0.ebuild new file mode 100644 index 000000000000..540d278b34a6 --- /dev/null +++ b/app-shells/kshdb/kshdb-1.1.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Korn Shell Debugger" +HOMEPAGE="https://github.com/rocky/kshdb" +SRC_URI="https://github.com/rocky/kshdb/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="app-shells/ksh" + +src_prepare() { + default + eautoreconf +} + +src_test() { + emake check-unit +} -- cgit v1.2.3