void-packages/common/xbps-src/shutils
Gonzalo Tornaría 7bd875c33f ./xbps-src show-build-deps: include checkdepends when using -Q or -K
Due to this change, `./xbps-src sort-dependencies` will take
checkdepends into account when using -Q or -K.

Before this commit, if `pkgA` checkdepends on `pkgB`, sort-dependencies
could still print `pkgA` before `pkgB`. This causes CI to build `pkgB`
twice: first when building `pkgA`, which forces implicit build of pkgB;
second when building `pkgB` (explicit, so it will ignore the package is
already built).

The implementation uses `skip_check_step()` from previous commit, for
consistency, so checkdepends are only taken into account if the check
step would be enabled.

In particular, nothing is changed unless -Q or -K flag is passed.

EXAMPLE:

Before:
```
$ ./xbps-src -Q sort-dependencies python3-process-tests python3-pytest-cov
python3-pytest-cov
python3-process-tests
```

After:
```
$ ./xbps-src -Q sort-dependencies python3-process-tests python3-pytest-cov
python3-process-tests
python3-pytest-cov
```
2024-04-08 08:57:46 +07:00
..
build_dependencies.sh common/xbps-src/shutils/build_dependencies.sh: implement skip_check_step() 2024-04-08 08:57:46 +07:00
bulk.sh common/xbps-src/shutils/: add bootstrap repo 2023-02-03 20:32:46 -06:00
chroot.sh Revert "chroot.sh: force install glibc and libxcrypt-compat to rebuild" 2024-03-17 14:54:27 -07:00
common.sh common/xbps-src/shutils: add function for printing verbose messages 2024-02-17 19:48:52 -05:00
consistency_check.sh common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
cross.sh xbps-src: abstract away non-portable stat(1) 2023-09-14 08:48:59 +07:00
pkgtarget.sh xbps-src: abstract away non-portable stat(1) 2023-09-14 08:48:59 +07:00
purge_distfiles.sh xbps-src: abstract away non-portable stat(1) 2023-09-14 08:48:59 +07:00
show.sh ./xbps-src show-build-deps: include checkdepends when using -Q or -K 2024-04-08 08:57:46 +07:00
update_check.sh xbps-src: fix update-check pattern for gitlab 2024-03-23 07:41:20 -04:00
update_hash_cache.sh update_hash_cache.sh: avoid useless use of cat 2019-04-15 12:18:00 -03:00