forked from pool/ShellCheck
Accepting request 1157227 from devel:languages:haskell
Update Haskell ecosystem to GHC version 9.8.2. OBS-URL: https://build.opensuse.org/request/show/1157227 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ShellCheck?expand=0&rev=29
This commit is contained in:
commit
1fd697415f
3
ShellCheck-0.10.0.tar.gz
Normal file
3
ShellCheck-0.10.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4d08db432d75a34486a55f6fff9d3e3340ce56125c7804b7f8fd14421b936d21
|
||||||
|
size 234856
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:abbee3b729d525a959b06423a71fe3a17ed07b6220bc84394deffe8cd813331c
|
|
||||||
size 231011
|
|
147
ShellCheck.cabal
147
ShellCheck.cabal
@ -1,147 +0,0 @@
|
|||||||
Name: ShellCheck
|
|
||||||
Version: 0.9.0
|
|
||||||
x-revision: 2
|
|
||||||
Synopsis: Shell script analysis tool
|
|
||||||
License: GPL-3
|
|
||||||
License-file: LICENSE
|
|
||||||
Category: Static Analysis
|
|
||||||
Author: Vidar Holen
|
|
||||||
Maintainer: vidar@vidarholen.net
|
|
||||||
Homepage: https://www.shellcheck.net/
|
|
||||||
Build-Type: Simple
|
|
||||||
Cabal-Version: 1.18
|
|
||||||
Bug-reports: https://github.com/koalaman/shellcheck/issues
|
|
||||||
Description:
|
|
||||||
The goals of ShellCheck are:
|
|
||||||
.
|
|
||||||
* To point out and clarify typical beginner's syntax issues,
|
|
||||||
that causes a shell to give cryptic error messages.
|
|
||||||
.
|
|
||||||
* To point out and clarify typical intermediate level semantic problems,
|
|
||||||
that causes a shell to behave strangely and counter-intuitively.
|
|
||||||
.
|
|
||||||
* To point out subtle caveats, corner cases and pitfalls, that may cause an
|
|
||||||
advanced user's otherwise working script to fail under future circumstances.
|
|
||||||
|
|
||||||
Extra-Doc-Files:
|
|
||||||
README.md
|
|
||||||
CHANGELOG.md
|
|
||||||
Extra-Source-Files:
|
|
||||||
-- documentation
|
|
||||||
shellcheck.1.md
|
|
||||||
-- A script to build the man page using pandoc
|
|
||||||
manpage
|
|
||||||
-- convenience script for stripping tests
|
|
||||||
striptests
|
|
||||||
-- tests
|
|
||||||
test/shellcheck.hs
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/koalaman/shellcheck.git
|
|
||||||
|
|
||||||
library
|
|
||||||
hs-source-dirs: src
|
|
||||||
if impl(ghc < 8.0)
|
|
||||||
build-depends:
|
|
||||||
semigroups
|
|
||||||
build-depends:
|
|
||||||
-- The lower bounds are based on GHC 7.10.3
|
|
||||||
-- The upper bounds are based on GHC 9.8.1
|
|
||||||
aeson >= 1.4.0 && < 2.3,
|
|
||||||
array >= 0.5.1 && < 0.6,
|
|
||||||
base >= 4.8.0.0 && < 5,
|
|
||||||
bytestring >= 0.10.6 && < 0.13,
|
|
||||||
containers >= 0.5.6 && < 0.8,
|
|
||||||
deepseq >= 1.4.1 && < 1.6,
|
|
||||||
Diff >= 0.4.0 && < 0.5,
|
|
||||||
fgl (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9),
|
|
||||||
filepath >= 1.4.0 && < 1.5,
|
|
||||||
mtl >= 2.2.2 && < 2.4,
|
|
||||||
parsec >= 3.1.14 && < 3.2,
|
|
||||||
QuickCheck >= 2.14.2 && < 2.15,
|
|
||||||
regex-tdfa >= 1.2.0 && < 1.4,
|
|
||||||
transformers >= 0.4.2 && < 0.7,
|
|
||||||
|
|
||||||
-- getXdgDirectory from 1.2.3.0
|
|
||||||
directory >= 1.2.3 && < 1.4,
|
|
||||||
|
|
||||||
-- When cabal supports it, move this to setup-depends:
|
|
||||||
process
|
|
||||||
exposed-modules:
|
|
||||||
ShellCheck.AST
|
|
||||||
ShellCheck.ASTLib
|
|
||||||
ShellCheck.Analytics
|
|
||||||
ShellCheck.Analyzer
|
|
||||||
ShellCheck.AnalyzerLib
|
|
||||||
ShellCheck.CFG
|
|
||||||
ShellCheck.CFGAnalysis
|
|
||||||
ShellCheck.Checker
|
|
||||||
ShellCheck.Checks.Commands
|
|
||||||
ShellCheck.Checks.ControlFlow
|
|
||||||
ShellCheck.Checks.Custom
|
|
||||||
ShellCheck.Checks.ShellSupport
|
|
||||||
ShellCheck.Data
|
|
||||||
ShellCheck.Debug
|
|
||||||
ShellCheck.Fixer
|
|
||||||
ShellCheck.Formatter.Format
|
|
||||||
ShellCheck.Formatter.CheckStyle
|
|
||||||
ShellCheck.Formatter.Diff
|
|
||||||
ShellCheck.Formatter.GCC
|
|
||||||
ShellCheck.Formatter.JSON
|
|
||||||
ShellCheck.Formatter.JSON1
|
|
||||||
ShellCheck.Formatter.TTY
|
|
||||||
ShellCheck.Formatter.Quiet
|
|
||||||
ShellCheck.Interface
|
|
||||||
ShellCheck.Parser
|
|
||||||
ShellCheck.Prelude
|
|
||||||
ShellCheck.Regex
|
|
||||||
other-modules:
|
|
||||||
Paths_ShellCheck
|
|
||||||
default-language: Haskell98
|
|
||||||
|
|
||||||
executable shellcheck
|
|
||||||
if impl(ghc < 8.0)
|
|
||||||
build-depends:
|
|
||||||
semigroups
|
|
||||||
build-depends:
|
|
||||||
aeson,
|
|
||||||
array,
|
|
||||||
base,
|
|
||||||
bytestring,
|
|
||||||
containers,
|
|
||||||
deepseq,
|
|
||||||
Diff,
|
|
||||||
directory,
|
|
||||||
fgl,
|
|
||||||
mtl,
|
|
||||||
filepath,
|
|
||||||
parsec,
|
|
||||||
QuickCheck,
|
|
||||||
regex-tdfa,
|
|
||||||
transformers,
|
|
||||||
ShellCheck
|
|
||||||
default-language: Haskell98
|
|
||||||
main-is: shellcheck.hs
|
|
||||||
|
|
||||||
test-suite test-shellcheck
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
build-depends:
|
|
||||||
aeson,
|
|
||||||
array,
|
|
||||||
base,
|
|
||||||
bytestring,
|
|
||||||
containers,
|
|
||||||
deepseq,
|
|
||||||
Diff,
|
|
||||||
directory,
|
|
||||||
fgl,
|
|
||||||
filepath,
|
|
||||||
mtl,
|
|
||||||
parsec,
|
|
||||||
QuickCheck,
|
|
||||||
regex-tdfa,
|
|
||||||
transformers,
|
|
||||||
ShellCheck
|
|
||||||
default-language: Haskell98
|
|
||||||
main-is: test/shellcheck.hs
|
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 02:49:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update ShellCheck to version 0.10.0.
|
||||||
|
## v0.10.0 - 2024-03-07
|
||||||
|
### Added
|
||||||
|
- Precompiled binaries for macOS ARM64 (darwin.aarch64)
|
||||||
|
- Added support for busybox sh
|
||||||
|
- Added flag --rcfile to specify an rc file by name.
|
||||||
|
- Added `extended-analysis=true` directive to enable/disable dataflow analysis
|
||||||
|
(with a corresponding --extended-analysis flag).
|
||||||
|
- SC2324: Warn when x+=1 appends instead of increments
|
||||||
|
- SC2325: Warn about multiple `!`s in dash/sh.
|
||||||
|
- SC2326: Warn about `foo | ! bar` in bash/dash/sh.
|
||||||
|
- SC3012: Warn about lexicographic-compare bashism in test like in [ ]
|
||||||
|
- SC3013: Warn bashism `test _ -op/-nt/-ef _` like in [ ]
|
||||||
|
- SC3014: Warn bashism `test _ == _` like in [ ]
|
||||||
|
- SC3015: Warn bashism `test _ =~ _` like in [ ]
|
||||||
|
- SC3016: Warn bashism `test -v _` like in [ ]
|
||||||
|
- SC3017: Warn bashism `test -a _` like in [ ]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- source statements with here docs now work correctly
|
||||||
|
- "(Array.!): undefined array element" error should no longer occur
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 6 17:05:35 UTC 2023 - Peter Simons <psimons@suse.com>
|
Wed Dec 6 17:05:35 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ShellCheck
|
# spec file for package ShellCheck
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,13 +20,12 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.9.0
|
Version: 0.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Shell script analysis tool
|
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/2.cabal#/%{name}.cabal
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-Diff-devel
|
BuildRequires: ghc-Diff-devel
|
||||||
@ -111,7 +110,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
cp -p %{SOURCE1} %{name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user