Accepting request 1133048 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ShellCheck?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2023-12-14 21:03:42 +00:00 committed by Git OBS Bridge
commit 0f2db79e04
3 changed files with 154 additions and 151 deletions

View File

@ -1,147 +1,147 @@
Name: ShellCheck Name: ShellCheck
Version: 0.9.0 Version: 0.9.0
x-revision: 1 x-revision: 2
Synopsis: Shell script analysis tool Synopsis: Shell script analysis tool
License: GPL-3 License: GPL-3
License-file: LICENSE License-file: LICENSE
Category: Static Analysis Category: Static Analysis
Author: Vidar Holen Author: Vidar Holen
Maintainer: vidar@vidarholen.net Maintainer: vidar@vidarholen.net
Homepage: https://www.shellcheck.net/ Homepage: https://www.shellcheck.net/
Build-Type: Simple Build-Type: Simple
Cabal-Version: 1.18 Cabal-Version: 1.18
Bug-reports: https://github.com/koalaman/shellcheck/issues Bug-reports: https://github.com/koalaman/shellcheck/issues
Description: Description:
The goals of ShellCheck are: The goals of ShellCheck are:
. .
* To point out and clarify typical beginner's syntax issues, * To point out and clarify typical beginner's syntax issues,
that causes a shell to give cryptic error messages. that causes a shell to give cryptic error messages.
. .
* To point out and clarify typical intermediate level semantic problems, * To point out and clarify typical intermediate level semantic problems,
that causes a shell to behave strangely and counter-intuitively. that causes a shell to behave strangely and counter-intuitively.
. .
* To point out subtle caveats, corner cases and pitfalls, that may cause an * To point out subtle caveats, corner cases and pitfalls, that may cause an
advanced user's otherwise working script to fail under future circumstances. advanced user's otherwise working script to fail under future circumstances.
Extra-Doc-Files: Extra-Doc-Files:
README.md README.md
CHANGELOG.md CHANGELOG.md
Extra-Source-Files: Extra-Source-Files:
-- documentation -- documentation
shellcheck.1.md shellcheck.1.md
-- A script to build the man page using pandoc -- A script to build the man page using pandoc
manpage manpage
-- convenience script for stripping tests -- convenience script for stripping tests
striptests striptests
-- tests -- tests
test/shellcheck.hs test/shellcheck.hs
source-repository head source-repository head
type: git type: git
location: git://github.com/koalaman/shellcheck.git location: https://github.com/koalaman/shellcheck.git
library library
hs-source-dirs: src hs-source-dirs: src
if impl(ghc < 8.0) if impl(ghc < 8.0)
build-depends: build-depends:
semigroups semigroups
build-depends: build-depends:
-- The lower bounds are based on GHC 7.10.3 -- The lower bounds are based on GHC 7.10.3
-- The upper bounds are based on GHC 9.4.3 -- The upper bounds are based on GHC 9.8.1
aeson >= 1.4.0 && < 2.2, aeson >= 1.4.0 && < 2.3,
array >= 0.5.1 && < 0.6, array >= 0.5.1 && < 0.6,
base >= 4.8.0.0 && < 5, base >= 4.8.0.0 && < 5,
bytestring >= 0.10.6 && < 0.12, bytestring >= 0.10.6 && < 0.13,
containers >= 0.5.6 && < 0.7, containers >= 0.5.6 && < 0.8,
deepseq >= 1.4.1 && < 1.5, deepseq >= 1.4.1 && < 1.6,
Diff >= 0.4.0 && < 0.5, Diff >= 0.4.0 && < 0.5,
fgl >= 5.7.0 && < 5.8.1.0, fgl (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9),
filepath >= 1.4.0 && < 1.5, filepath >= 1.4.0 && < 1.5,
mtl >= 2.2.2 && < 2.3, mtl >= 2.2.2 && < 2.4,
parsec >= 3.1.14 && < 3.2, parsec >= 3.1.14 && < 3.2,
QuickCheck >= 2.14.2 && < 2.15, QuickCheck >= 2.14.2 && < 2.15,
regex-tdfa >= 1.2.0 && < 1.4, regex-tdfa >= 1.2.0 && < 1.4,
transformers >= 0.4.2 && < 0.6, transformers >= 0.4.2 && < 0.7,
-- getXdgDirectory from 1.2.3.0 -- getXdgDirectory from 1.2.3.0
directory >= 1.2.3 && < 1.4, directory >= 1.2.3 && < 1.4,
-- When cabal supports it, move this to setup-depends: -- When cabal supports it, move this to setup-depends:
process process
exposed-modules: exposed-modules:
ShellCheck.AST ShellCheck.AST
ShellCheck.ASTLib ShellCheck.ASTLib
ShellCheck.Analytics ShellCheck.Analytics
ShellCheck.Analyzer ShellCheck.Analyzer
ShellCheck.AnalyzerLib ShellCheck.AnalyzerLib
ShellCheck.CFG ShellCheck.CFG
ShellCheck.CFGAnalysis ShellCheck.CFGAnalysis
ShellCheck.Checker ShellCheck.Checker
ShellCheck.Checks.Commands ShellCheck.Checks.Commands
ShellCheck.Checks.ControlFlow ShellCheck.Checks.ControlFlow
ShellCheck.Checks.Custom ShellCheck.Checks.Custom
ShellCheck.Checks.ShellSupport ShellCheck.Checks.ShellSupport
ShellCheck.Data ShellCheck.Data
ShellCheck.Debug ShellCheck.Debug
ShellCheck.Fixer ShellCheck.Fixer
ShellCheck.Formatter.Format ShellCheck.Formatter.Format
ShellCheck.Formatter.CheckStyle ShellCheck.Formatter.CheckStyle
ShellCheck.Formatter.Diff ShellCheck.Formatter.Diff
ShellCheck.Formatter.GCC ShellCheck.Formatter.GCC
ShellCheck.Formatter.JSON ShellCheck.Formatter.JSON
ShellCheck.Formatter.JSON1 ShellCheck.Formatter.JSON1
ShellCheck.Formatter.TTY ShellCheck.Formatter.TTY
ShellCheck.Formatter.Quiet ShellCheck.Formatter.Quiet
ShellCheck.Interface ShellCheck.Interface
ShellCheck.Parser ShellCheck.Parser
ShellCheck.Prelude ShellCheck.Prelude
ShellCheck.Regex ShellCheck.Regex
other-modules: other-modules:
Paths_ShellCheck Paths_ShellCheck
default-language: Haskell98 default-language: Haskell98
executable shellcheck executable shellcheck
if impl(ghc < 8.0) if impl(ghc < 8.0)
build-depends: build-depends:
semigroups semigroups
build-depends: build-depends:
aeson, aeson,
array, array,
base, base,
bytestring, bytestring,
containers, containers,
deepseq, deepseq,
Diff, Diff,
directory, directory,
fgl, fgl,
mtl, mtl,
filepath, filepath,
parsec, parsec,
QuickCheck, QuickCheck,
regex-tdfa, regex-tdfa,
transformers, transformers,
ShellCheck ShellCheck
default-language: Haskell98 default-language: Haskell98
main-is: shellcheck.hs main-is: shellcheck.hs
test-suite test-shellcheck test-suite test-shellcheck
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
build-depends: build-depends:
aeson, aeson,
array, array,
base, base,
bytestring, bytestring,
containers, containers,
deepseq, deepseq,
Diff, Diff,
directory, directory,
fgl, fgl,
filepath, filepath,
mtl, mtl,
parsec, parsec,
QuickCheck, QuickCheck,
regex-tdfa, regex-tdfa,
transformers, transformers,
ShellCheck ShellCheck
default-language: Haskell98 default-language: Haskell98
main-is: test/shellcheck.hs main-is: test/shellcheck.hs

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 6 17:05:35 UTC 2023 - Peter Simons <psimons@suse.com>
- Update ShellCheck to version 0.9.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 16 13:11:57 UTC 2023 - Peter Simons <psimons@suse.com> Thu Nov 16 13:11:57 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -26,7 +26,7 @@ Summary: Shell script analysis tool
License: GPL-3.0-or-later License: GPL-3.0-or-later
URL: https://hackage.haskell.org/package/%{name} URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/2.cabal#/%{name}.cabal
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Diff-devel BuildRequires: ghc-Diff-devel
@ -112,9 +112,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
%autosetup %autosetup
cp -p %{SOURCE1} %{name}.cabal cp -p %{SOURCE1} %{name}.cabal
cabal-tweak-dep-ver fgl '< 5.8.1.0' '< 6'
cabal-tweak-dep-ver mtl '< 2.3' '< 3'
cabal-tweak-dep-ver transformers '< 0.6' '< 1'
%build %build
%ghc_lib_build %ghc_lib_build