From 4f5cd2251aae35623de76aba78a1450ad3a6f925 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 10 Feb 2024 01:49:13 -0500 Subject: [PATCH] xbps: update xbps-src completions there were a bunch of missing flags --- srcpkgs/xbps/patches/xbps-src-comp.patch | 33 ++++++++++++++++++++++-- srcpkgs/xbps/template | 2 +- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/srcpkgs/xbps/patches/xbps-src-comp.patch b/srcpkgs/xbps/patches/xbps-src-comp.patch index bb0234f3846..5bcb8c2ddc5 100644 --- a/srcpkgs/xbps/patches/xbps-src-comp.patch +++ b/srcpkgs/xbps/patches/xbps-src-comp.patch @@ -1,14 +1,43 @@ --- a/data/_xbps_src +++ b/data/_xbps_src -@@ -26,6 +26,7 @@ +@@ -25,25 +25,35 @@ + compadd "$@" -- ${${dirs:t}%-*} } _arguments -s : \ ++ '-1[Fail if dependencies are missing]' \ + '-A[Host architecture]:architecture:($archs)' \ '-a[Cross compile packages]:architecture:($archs)' \ ++ '-b[Build broken, nocross, and excluded packages]' \ ++ '-c[Configuration file]:config: ' \ '-C[Do not remove build directory/autodeps/destdir]' \ '-E[Exit immediately when binary package already exists]' \ -@@ -64,9 +65,7 @@ + '-f[Force building and registering binary packages]' \ + '-G[Enable XBPS_USE_GIT_REVS]' \ +- '-Q[Enable running the check stage]' \ + '-g[Enable building -dbg packages]' \ + '-H[Absolute path to hostdir]:hostdir:_files -/' \ + '-h[Help]' \ + '-I[Ignore required dependencies]' \ ++ '-i[Make internal errors non-fatal]' \ + '-j[Number of parallel build jobs]:number: ' \ ++ '-K[Enable extended checks]' \ + '-L[Disable ASCII colors]' \ + '-m[Absolute path to masterdir]:masterdir:_files -/' \ + '-N[Disable use of remote repositories]' \ ++ '-p[Show additional variables]:variables: ' \ + '-o[Set package build options]:options: ' \ ++ '-Q[Enable running the check stage]' \ + '-q[Suppress output of xbps-src]' \ + '-r[Use alternative local repository]:repo:_files -/' \ ++ '-s[Make some warnings errors]' \ + '-t[Create a temporary masterdir]' \ ++ '-v[Show verbose messages]' \ ++ '-V[Print version]' \ + '1:target:->target' \ + '*::args:->args' && ret=0 + +@@ -64,9 +80,7 @@ case $words[1] in build|check|configure|extract|fetch|install|patch|pkg|show|show-avail|show-build-deps|show-hostmakedepends|show-makedepends|show-options|update-check) _arguments ':package:_xbps_src_all_packages' && ret=0;; diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 060a70563ae..b01f656d75b 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.59.2 -revision=2 +revision=3 bootstrap=yes build_style=configure short_desc="XBPS package system utilities"