void-packages/common
Piotr Wójcik 1b9578b20c xbps-src: explicitly disallow pattern on build deps
It is not possible to use version other than currently in template.

Specifying pattern breaks build if dependency isn't in binary repo
already. That it worked when in repo was a coincidence.

Let's detect exact version requirement with regex equivalent to
`xbps-uhelper getpkgname`.

    bash-5.1$ for x in a-{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}{a,0,-,_}; do [[ $x = *[\>\<]* || $x =~ -[^-_]*[0-9][^-_]*_[0-9_]+$ ]]; bash=$?; xbps-uhelper getpkgname $x > /dev/null 2> /dev/null; xbps=$?; if [ $bash != $xbps ]; then echo $x; fi; done
    bash-5.1$

Co-authored-by: Duncaen <duncaen@voidlinux.org>
2023-02-13 20:09:29 -05:00
..
build-helper common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
build-profiles build-styles: add zig-build 2021-11-13 11:46:21 -03:00
build-style common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
chroot-style common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
cross-profiles build-styles: add zig-build 2021-11-13 11:46:21 -03:00
environment common/environment/setup/install.sh: always add log service 2023-02-09 21:36:13 -05:00
hooks do-fetch: remove support for rpm contents checksum 2023-01-25 07:43:44 +07:00
repo-keys repo-keys: remove my testing repo key as it's unofficial 2020-04-01 20:55:45 +02:00
scripts common/scripts/lint-conflicts: add bootstrap repo 2023-02-03 20:32:46 -06:00
travis common: cleanup trailing whitespaces 2023-02-07 03:26:02 -05:00
wrappers wrappers: remove which 2022-09-06 22:55:29 +07:00
xbps-src xbps-src: explicitly disallow pattern on build deps 2023-02-13 20:09:29 -05:00
options.description ffmpeg: enable libsvtav1 2022-03-01 16:06:41 +01:00
shlibs libwebsockets: update to 4.3.2 2023-02-13 23:52:56 +00:00