[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/

2024-04-05 Thread Arthur Zamarin
commit: 08236bbae7fa6471705d89c97d5dc81db4b94895
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar 27 18:22:03 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 15:26:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08236bba

app-shells/kshdb: add missing remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Arthur Zamarin  gentoo.org>

 app-shells/kshdb/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-shells/kshdb/metadata.xml b/app-shells/kshdb/metadata.xml
index 115e9d64a669..702045901c87 100644
--- a/app-shells/kshdb/metadata.xml
+++ b/app-shells/kshdb/metadata.xml
@@ -2,4 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

+   
+   rocky/kshdb
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/

2022-01-16 Thread Georgy Yakovlev
commit: 25c719cdbcecb58e95b9007ce904188ac590fed4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jan 17 00:06:38 2022 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jan 17 00:06:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c719cd

app-shells/kshdb: keyword 1.1.0 for ~ppc64

Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-shells/kshdb/kshdb-1.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-shells/kshdb/kshdb-1.1.0.ebuild 
b/app-shells/kshdb/kshdb-1.1.0.ebuild
index 540d278b34a6..e45598eb8de4 100644
--- a/app-shells/kshdb/kshdb-1.1.0.ebuild
+++ b/app-shells/kshdb/kshdb-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rocky/kshdb/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
 
 RDEPEND="app-shells/ksh"
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/

2022-01-16 Thread Georgy Yakovlev
commit: 440bad109a311d3de7d42df0cc3e2f59cf799b32
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jan 17 00:04:56 2022 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jan 17 00:06:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440bad10

app-shells/kshdb: add myself as a maintainer

Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-shells/kshdb/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-shells/kshdb/metadata.xml b/app-shells/kshdb/metadata.xml
index 115e9d64a669..2f82d0bb8eb7 100644
--- a/app-shells/kshdb/metadata.xml
+++ b/app-shells/kshdb/metadata.xml
@@ -1,5 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/

2022-01-14 Thread Mike Gilbert
commit: b5a79125d7fcb82e8d6b5ea840e6b3fc619e4fa6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 15 01:47:23 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 15 01:50:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a79125

app-shells/kshdb: drop myself as a maintainer

Signed-off-by: Mike Gilbert  gentoo.org>

 app-shells/kshdb/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-shells/kshdb/metadata.xml b/app-shells/kshdb/metadata.xml
index 077cdb6aa203..115e9d64a669 100644
--- a/app-shells/kshdb/metadata.xml
+++ b/app-shells/kshdb/metadata.xml
@@ -1,8 +1,5 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   flop...@gentoo.org
-   Mike Gilbert
-   
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/files/, app-shells/kshdb/

2020-01-24 Thread Mike Gilbert
commit: cb22679d8ce281be1a563a240f58c1147bbad54c
Author: Mike Gilbert  gentoo  org>
AuthorDate: Fri Jan 24 21:31:05 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Jan 24 21:31:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb22679d

app-shells/kshdb: bump to 1.1.0

Package-Manager: Portage-2.3.85_p2, Repoman-2.3.20_p36
Signed-off-by: Mike Gilbert  gentoo.org>

 app-shells/kshdb/Manifest  |  2 +-
 .../kshdb-1.0.0-remove-COLORFGBG-message.patch | 47 --
 .../{kshdb-1.0.0.ebuild => kshdb-1.1.0.ebuild} | 10 ++---
 3 files changed, 6 insertions(+), 53 deletions(-)

diff --git a/app-shells/kshdb/Manifest b/app-shells/kshdb/Manifest
index 88cb0b05759..d295150f7d0 100644
--- a/app-shells/kshdb/Manifest
+++ b/app-shells/kshdb/Manifest
@@ -1 +1 @@
-DIST kshdb-1.0.0.tar.gz 153633 BLAKE2B 
91e5d77e1a74f98149ef4c953c34b6a4ac43f68c930092bde6f5313be6d581072fb8ef39a500204e5eb544e1e6bc53d1f5f7800ba1d333020f6908bbde2268f6
 SHA512 
f010b3b739f1a9fdead52c251a536405f8cbae67882c554b034ef115a9d9ecd60438d883d51dd282a747068e108ad8e5d9442380b6563a2aa262c35b423ee1dd
+DIST kshdb-1.1.0.tar.gz 154189 BLAKE2B 
23aabb6e5058de6d66b5834f4d61c6d1cc41894278f563bd329c4879e9c7aa955d7f690e13229c24b67182ea59bc214db42b56aba6ed9b932d7c61f618db8ee1
 SHA512 
c09a459cd99351ed058d4e248f628970d905bc4a0d08632a0e819331290001189d8b6ac3795ec94c2459df51a73941e4b46ac58daaef4378774a8d46ff50248e

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 48db4dbccfd..000
--- 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.1.0.ebuild
similarity index 77%
rename from app-shells/kshdb/kshdb-1.0.0.ebuild
rename to app-shells/kshdb/kshdb-1.1.0.ebuild
index e2a594debad..540d278b34a 100644
--- a/app-shells/kshdb/kshdb-1.0.0.ebuild
+++ b/app-shells/kshdb/kshdb-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,11 +15,11 @@ KEYWORDS="~amd64"
 
 RDEPEND="app-shells/ksh"
 
-PATCHES=(
-   "${FILESDIR}"/kshdb-1.0.0-remove-COLORFGBG-message.patch
-)
-
 src_prepare() {
default
eautoreconf
 }
+
+src_test() {
+   emake check-unit
+}



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/

2019-11-03 Thread Mike Gilbert
commit: fc37b9a6cd2e923613c6a0a4a36c9b99346f8dd3
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Nov  4 00:11:21 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Nov  4 00:11:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc37b9a6

app-shells/kshdb: depend on app-shells/ksh

Package-Manager: Portage-2.3.78_p6, Repoman-2.3.17_p102
Signed-off-by: Mike Gilbert  gentoo.org>

 app-shells/kshdb/kshdb-1.0.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-shells/kshdb/kshdb-1.0.0.ebuild 
b/app-shells/kshdb/kshdb-1.0.0.ebuild
index 2c739287e1a..e2a594debad 100644
--- a/app-shells/kshdb/kshdb-1.0.0.ebuild
+++ b/app-shells/kshdb/kshdb-1.0.0.ebuild
@@ -13,6 +13,8 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64"
 
+RDEPEND="app-shells/ksh"
+
 PATCHES=(
"${FILESDIR}"/kshdb-1.0.0-remove-COLORFGBG-message.patch
 )



[gentoo-commits] repo/gentoo:master commit in: app-shells/kshdb/, app-shells/kshdb/files/

2019-11-03 Thread Mike Gilbert
commit: 579bc83a9d8018574434dd946ff9fa0af91c25e6
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Nov  3 23:58:47 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Nov  3 23:59:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=579bc83a

app-shells/kshdb: new package

Package-Manager: Portage-2.3.78_p6, Repoman-2.3.17_p102
Signed-off-by: Mike Gilbert  gentoo.org>

 app-shells/kshdb/Manifest  |  1 +
 .../kshdb-1.0.0-remove-COLORFGBG-message.patch | 47 ++
 app-shells/kshdb/kshdb-1.0.0.ebuild| 23 +++
 app-shells/kshdb/metadata.xml  |  8 
 4 files changed, 79 insertions(+)

diff --git a/app-shells/kshdb/Manifest b/app-shells/kshdb/Manifest
new file mode 100644
index 000..88cb0b05759
--- /dev/null
+++ b/app-shells/kshdb/Manifest
@@ -0,0 +1 @@
+DIST kshdb-1.0.0.tar.gz 153633 BLAKE2B 
91e5d77e1a74f98149ef4c953c34b6a4ac43f68c930092bde6f5313be6d581072fb8ef39a500204e5eb544e1e6bc53d1f5f7800ba1d333020f6908bbde2268f6
 SHA512 
f010b3b739f1a9fdead52c251a536405f8cbae67882c554b034ef115a9d9ecd60438d883d51dd282a747068e108ad8e5d9442380b6563a2aa262c35b423ee1dd

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
new file mode 100644
index 000..48db4dbccfd
--- /dev/null
+++ b/app-shells/kshdb/files/kshdb-1.0.0-remove-COLORFGBG-message.patch
@@ -0,0 +1,47 @@
+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
new file mode 100644
index 000..2c739287e1a
--- /dev/null
+++ b/app-shells/kshdb/kshdb-1.0.0.ebuild
@@ -0,0 +1,23 @@
+# 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"
+
+PATCHES=(
+   "${FILESDIR}"/kshdb-1.0.0-remove-COLORFGBG-message.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}

diff --git a/app-shells/kshdb/metadata.xml b/app-shells/kshdb/metadata.xml
new file mode 100644
index 000..de09ffd8b08
--- /dev/null
+++ b/app-shells/kshdb/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   flop...@gentoo.org
+   Mike Gilbert
+   
+