pkgdep/freebsd: Use globbing to match on package names

Some packages include versioning in their name which is not very
friendly in case given package is upgraded - the name of the package
will always change in such a case. To avoid that, use globbing to
match on package names in a more robust way.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I3e23fc8a06f93471f47835e945c24c4a95f80795
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8741
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Michal Berger 2021-07-12 11:58:11 +02:00 committed by Tomasz Zawadzki
parent 4e885f5aa2
commit 1963d3185c
2 changed files with 4 additions and 3 deletions

View File

@ -2,14 +2,16 @@
# Minimal install
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
ncurses ninja meson py37-pyelftools-0.26
ncurses ninja meson
pkg install -g -y "py*-pyelftools-*" "py*-pandas"
# Additional dependencies for ISA-L used in compression
pkg install -y autoconf automake libtool help2man
if [[ $INSTALL_DEV_TOOLS == "true" ]]; then
# Tools for developers
pkg install -y devel/astyle bash py37-pycodestyle \
pkg install -y devel/astyle bash \
misc/e2fsprogs-libuuid sysutils/sg3_utils nasm \
bash-completion
pkg install -g -y "py*-pycodestyle"
fi
if [[ $INSTALL_DOCS == "true" ]]; then
# Additional dependencies for building docs

View File

@ -22,6 +22,5 @@ packages=(
gdisk
socat
sshpass
py37-pandas
wget
)