Accepting request 1005557 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1005557 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gobject-introspection?expand=0&rev=102
This commit is contained in:
commit
a45c390aaf
@ -113,7 +113,7 @@ function javascript_requires {
|
|||||||
print_req_prov
|
print_req_prov
|
||||||
done
|
done
|
||||||
# Remember files which contain a pkg.require() call
|
# Remember files which contain a pkg.require() call
|
||||||
if pcregrep -M "pkg.require\\(([^;])*" $1 > /dev/null; then
|
if pcre2grep -M "pkg.require\\(([^;])*" $1 > /dev/null; then
|
||||||
# the file contains a pkg.require(..) list... let's remember th is file for the in-depth scanner
|
# the file contains a pkg.require(..) list... let's remember th is file for the in-depth scanner
|
||||||
if [ -n "$jspkg" ]; then
|
if [ -n "$jspkg" ]; then
|
||||||
jspkg=$1:${jspkg}
|
jspkg=$1:${jspkg}
|
||||||
@ -122,7 +122,7 @@ function javascript_requires {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# remember files which contain exlucde filters used against pkg.require()
|
# remember files which contain exlucde filters used against pkg.require()
|
||||||
if pcregrep -M "const RECOGNIZED_MODULE_NAMES =([^;])*" $1 > /dev/null; then
|
if pcre2grep -M "const RECOGNIZED_MODULE_NAMES =([^;])*" $1 > /dev/null; then
|
||||||
# the file contains RECOGNIZED_MODULE_NAMES list. We remember the file name for the follow up filtering
|
# the file contains RECOGNIZED_MODULE_NAMES list. We remember the file name for the follow up filtering
|
||||||
if [ -n "$jspkgfilt" ]; then
|
if [ -n "$jspkgfilt" ]; then
|
||||||
jspkgfilt=$1:${jspkgfilt}
|
jspkgfilt=$1:${jspkgfilt}
|
||||||
@ -136,7 +136,7 @@ function javascript_requires {
|
|||||||
function javascript_pkg_filter {
|
function javascript_pkg_filter {
|
||||||
# For now this is a dummy function based on gnome-weather information
|
# For now this is a dummy function based on gnome-weather information
|
||||||
#for file in $jspkgfilt; do
|
#for file in $jspkgfilt; do
|
||||||
# FILTER=($(pcregrep -M "const RECOGNIZED_MODULE_NAMES =([^;])*" $file | grep -o "'.*'" | sed "s:'::g"))
|
# FILTER=($(pcre2grep -M "const RECOGNIZED_MODULE_NAMES =([^;])*" $file | grep -o "'.*'" | sed "s:'::g"))
|
||||||
#done
|
#done
|
||||||
FILTER=('Lang' 'Mainloop' 'Signals' 'System' 'Params')
|
FILTER=('Lang' 'Mainloop' 'Signals' 'System' 'Params')
|
||||||
}
|
}
|
||||||
@ -149,7 +149,7 @@ oldIFS=$IFS
|
|||||||
IFS=:
|
IFS=:
|
||||||
for file in "$jspkg"; do
|
for file in "$jspkg"; do
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
PKGS=$(pcregrep -M "pkg.require\\(([^;])*" $file | grep -o "'.*': '.*'")
|
PKGS=$(pcre2grep -M "pkg.require\\(([^;])*" $file | grep -o "'.*': '.*'")
|
||||||
for pkg in $PKGS; do
|
for pkg in $PKGS; do
|
||||||
split_name_version2 $pkg
|
split_name_version2 $pkg
|
||||||
found=0
|
found=0
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 17:02:33 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- Switch to pcre2grep (pcre is dead upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 18 07:04:31 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
Sun Sep 18 07:04:31 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ BuildRequires: pkgconfig(libffi) >= 3.0.0
|
|||||||
Requires: file
|
Requires: file
|
||||||
Requires: libgirepository-1_0-1 = %{version}
|
Requires: libgirepository-1_0-1 = %{version}
|
||||||
# gi-find-deps uses the enhanced grep variant in order to do multi-line matching (for pkg.requires(..))
|
# gi-find-deps uses the enhanced grep variant in order to do multi-line matching (for pkg.requires(..))
|
||||||
Requires: pcre-tools
|
Requires: pcre2-tools
|
||||||
Requires: python3-xml
|
Requires: python3-xml
|
||||||
Requires: python(abi) = %{python3_version}
|
Requires: python(abi) = %{python3_version}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user