diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2020-03-27 13:57:32 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2020-04-02 12:25:32 +0200 |
commit | f70768e3503c880bbeeef5d9240943ad7dd613f6 (patch) | |
tree | 53e15b50db762d2e1abf724e8126e422d7185611 | |
parent | 59457652998a85a6ba5d0c7c798aab9a78a73ec8 (diff) | |
download | autobuild-f70768e3503c880bbeeef5d9240943ad7dd613f6.tar autobuild-f70768e3503c880bbeeef5d9240943ad7dd613f6.tar.gz autobuild-f70768e3503c880bbeeef5d9240943ad7dd613f6.tar.bz2 autobuild-f70768e3503c880bbeeef5d9240943ad7dd613f6.tar.xz autobuild-f70768e3503c880bbeeef5d9240943ad7dd613f6.zip |
Add some more perl modules to ignore plus some build attributes.
Basically every package pulls in these perl modules so their presence is
not an indication that the package uses perl.
-rwxr-xr-x | autobuild.rb | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/autobuild.rb b/autobuild.rb index 4f3b10b..9471278 100755 --- a/autobuild.rb +++ b/autobuild.rb @@ -97,7 +97,7 @@ def find_attributes(build_dir) # too many false positives: # perl-libintl-perl # perl-WWW-Curl (required by openssl) - if name !~ /^((perl)|(perl-base)|(perl-Config-IniFiles)|(perl-Exporter-Tiny)|(perl-File-Slurp)|(perl-File-Sync)|(perl-Filesys-Df)|(perl-JSON)|(perl-libintl-perl)|(perl-List-MoreUtils)|(perl-Locale-gettext)|(perl-MDK-Common)|(perl-MDV-Distribconf)|(perl-MDV-Packdrakeng)|(perl-Module-ScanDeps)|(perl-Time-ZoneInfo)|(perl-URPM)|(perl-WWW-Curl)|(perl-XML-LibXML)|(perl-XML-NamespaceSupport)|(perl-XML-SAX)|(perl-XML-SAX-Base)|(perl-YAML)|(perl-YAML-Tiny))$/ then + if name !~ /^((perl)|(perl-base)|(perl-Config-IniFiles)|(perl-Exporter-Tiny)|(perl-File-Slurp)|(perl-File-Sync)|(perl-Filesys-Df)|(perl-IO-stringy)|(perl-JSON)|(perl-libintl-perl)|(perl-List-MoreUtils)|(perl-List-MoreUtils-XS)|(perl-Locale-gettext)|(perl-MDK-Common)|(perl-MDV-Distribconf)|(perl-MDV-Packdrakeng)|(perl-Module-ScanDeps)|(perl-srpm-macros)|(perl-Time-ZoneInfo)|(perl-URPM)|(perl-WWW-Curl)|(perl-XML-LibXML)|(perl-XML-NamespaceSupport)|(perl-XML-SAX)|(perl-XML-SAX-Base)|(perl-YAML)|(perl-YAML-Tiny))$/ then attr[:lang_perl] = true end end @@ -110,21 +110,27 @@ def find_attributes(build_dir) if name =~ /^((ruby)-devel)|(lib(64)?ruby[0-9])/ then attr[:lang_ruby] = true end - if name =~ /^(tcl)$/ then + if name =~ /^tcl$/ then attr[:lang_tcl] = true end + if name =~ /^vala$/ then + attr[:lang_vala] = true + end # Check for a few build systems, too - if name =~ /^(ant)$/ then + if name =~ /^ant$/ then attr[:build_ant] = true end - if name =~ /^(cmake)$/ then + if name =~ /^bazel$/ then + attr[:build_bazel] = true + end + if name =~ /^cmake$/ then attr[:build_cmake] = true end - if name =~ /^(maven)$/ then + if name =~ /^maven$/ then attr[:build_maven] = true end - if name =~ /^(scons)$/ then + if name =~ /^scons$/ then attr[:build_scons] = true end } |