dev-util/shellspec
A full-featured BDD unit testing framework for all POSIX shells
ChangeLog
commit d56f4baa37da6af7e60cff6f45cb5454d74464b3
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Thu Apr 16 03:57:37 2026 +0600
*/*: Use [[ $ ... ]] instead of POSIX [ $ ... ]
as per the coding style guide:
https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0101
if it previously used [ $ ... ] it uses [[ $ ... ]] now
if it previously used [[ $ = b ]] or [ $ = b ], it uses
[[ $ == b ]] now
the changes were generated using these two commands:
```
find -name '*.ebuild' -exec sed -i -E \
's|([^[])\[+(\s+)(\S*\$\S*PV\S*)(\s+)(\S+)(\s+)(\S+)(\s+)\]+([^]])|\1\[\[\2\3\4\5\6\7\8\]\]\9|g' \
{} \+
find -name '*.ebuild' -exec sed -i -E \
's|\[(\s+)(\S*\$\S*PV\S*)(\s+)==?(\s+)(\S+)(\s+)\]|\[\1\2\3==\4\5\6\]|g' \
{} \+
```
this is aimed to be a series of commits meant to replace all instance of
POSIX [ ... ] to bash's [[ ... ]], to make guru up to date with the
coding style guide
this process is divided up into a series of commits in order to make
review and testing more easy
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
commit 94660eb3fac8b2c4d6a28c930145d6167cedc3af
Author: Lucio Sauer <watermanpaint@posteo.net>
Date: Sun Jul 13 13:13:35 2025 +0200
*/*: update dtd link in metadata.xml to https
gentoo.org 301's to https for a long time now.
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
commit 59733069ba519586a5c1e3e8788bf21132886e9e
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Wed Aug 7 12:34:11 2024 +0200
dev-util/shellspec: fix typo
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit f6cf9387cc034038a262fb420a3d31d7fb8e7a92
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Wed Aug 7 12:13:49 2024 +0200
dev-util/shellspec: revbump
Close: https://bugs.gentoo.org/937487
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit 62518e2d06ae1f94d23bb5378e3fdcdd724eab0a
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Tue Aug 6 13:53:24 2024 +0200
dev-util/shellspec: revbump
This revision allows respecting `EPREFIX`.
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit b413d09eee4ee1cbbb8c77c370f8fafb17fe5693
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Tue Aug 6 10:50:54 2024 +0200
dev-util/shellspec: revbump
This revision fix the lib directory used.
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit 1405f9bc8d8c3725a06e5c7aaca5ac248b248531
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Mon Aug 5 19:55:00 2024 +0200
dev-util/shellspec: new package, add 0.28.1, 9999
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Author: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Date: Thu Apr 16 03:57:37 2026 +0600
*/*: Use [[ $ ... ]] instead of POSIX [ $ ... ]
as per the coding style guide:
https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0101
if it previously used [ $ ... ] it uses [[ $ ... ]] now
if it previously used [[ $ = b ]] or [ $ = b ], it uses
[[ $ == b ]] now
the changes were generated using these two commands:
```
find -name '*.ebuild' -exec sed -i -E \
's|([^[])\[+(\s+)(\S*\$\S*PV\S*)(\s+)(\S+)(\s+)(\S+)(\s+)\]+([^]])|\1\[\[\2\3\4\5\6\7\8\]\]\9|g' \
{} \+
find -name '*.ebuild' -exec sed -i -E \
's|\[(\s+)(\S*\$\S*PV\S*)(\s+)==?(\s+)(\S+)(\s+)\]|\[\1\2\3==\4\5\6\]|g' \
{} \+
```
this is aimed to be a series of commits meant to replace all instance of
POSIX [ ... ] to bash's [[ ... ]], to make guru up to date with the
coding style guide
this process is divided up into a series of commits in order to make
review and testing more easy
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
commit 94660eb3fac8b2c4d6a28c930145d6167cedc3af
Author: Lucio Sauer <watermanpaint@posteo.net>
Date: Sun Jul 13 13:13:35 2025 +0200
*/*: update dtd link in metadata.xml to https
gentoo.org 301's to https for a long time now.
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
commit 59733069ba519586a5c1e3e8788bf21132886e9e
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Wed Aug 7 12:34:11 2024 +0200
dev-util/shellspec: fix typo
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit f6cf9387cc034038a262fb420a3d31d7fb8e7a92
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Wed Aug 7 12:13:49 2024 +0200
dev-util/shellspec: revbump
Close: https://bugs.gentoo.org/937487
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit 62518e2d06ae1f94d23bb5378e3fdcdd724eab0a
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Tue Aug 6 13:53:24 2024 +0200
dev-util/shellspec: revbump
This revision allows respecting `EPREFIX`.
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit b413d09eee4ee1cbbb8c77c370f8fafb17fe5693
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Tue Aug 6 10:50:54 2024 +0200
dev-util/shellspec: revbump
This revision fix the lib directory used.
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
commit 1405f9bc8d8c3725a06e5c7aaca5ac248b248531
Author: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Date: Mon Aug 5 19:55:00 2024 +0200
dev-util/shellspec: new package, add 0.28.1, 9999
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>


View
Download
Browse