forked from pool/ShellCheck
Accepting request 987010 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/987010 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ShellCheck?expand=0&rev=24
This commit is contained in:
commit
369435eeb8
133
ShellCheck.cabal
Normal file
133
ShellCheck.cabal
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
Name: ShellCheck
|
||||||
|
Version: 0.8.0
|
||||||
|
x-revision: 1
|
||||||
|
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: git://github.com/koalaman/shellcheck.git
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends: mtl <2.3
|
||||||
|
|
||||||
|
hs-source-dirs: src
|
||||||
|
if impl(ghc < 8.0)
|
||||||
|
build-depends:
|
||||||
|
semigroups
|
||||||
|
build-depends:
|
||||||
|
aeson,
|
||||||
|
array,
|
||||||
|
base >= 4.8.0.0 && < 5,
|
||||||
|
bytestring,
|
||||||
|
containers >= 0.5,
|
||||||
|
deepseq >= 1.4.0.0,
|
||||||
|
Diff >= 0.2.0,
|
||||||
|
directory >= 1.2.3.0,
|
||||||
|
mtl >= 2.2.1,
|
||||||
|
filepath,
|
||||||
|
parsec,
|
||||||
|
regex-tdfa,
|
||||||
|
QuickCheck >= 2.7.4,
|
||||||
|
-- When cabal supports it, move this to setup-depends:
|
||||||
|
process
|
||||||
|
exposed-modules:
|
||||||
|
ShellCheck.AST
|
||||||
|
ShellCheck.ASTLib
|
||||||
|
ShellCheck.Analytics
|
||||||
|
ShellCheck.Analyzer
|
||||||
|
ShellCheck.AnalyzerLib
|
||||||
|
ShellCheck.Checker
|
||||||
|
ShellCheck.Checks.Commands
|
||||||
|
ShellCheck.Checks.Custom
|
||||||
|
ShellCheck.Checks.ShellSupport
|
||||||
|
ShellCheck.Data
|
||||||
|
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.Regex
|
||||||
|
other-modules:
|
||||||
|
Paths_ShellCheck
|
||||||
|
default-language: Haskell98
|
||||||
|
|
||||||
|
executable shellcheck
|
||||||
|
if impl(ghc < 8.0)
|
||||||
|
build-depends:
|
||||||
|
semigroups
|
||||||
|
build-depends:
|
||||||
|
aeson,
|
||||||
|
array,
|
||||||
|
base >= 4 && < 5,
|
||||||
|
bytestring,
|
||||||
|
containers,
|
||||||
|
deepseq >= 1.4.0.0,
|
||||||
|
Diff >= 0.2.0,
|
||||||
|
directory >= 1.2.3.0,
|
||||||
|
mtl >= 2.2.1,
|
||||||
|
filepath,
|
||||||
|
parsec >= 3.0,
|
||||||
|
QuickCheck >= 2.7.4,
|
||||||
|
regex-tdfa,
|
||||||
|
ShellCheck
|
||||||
|
default-language: Haskell98
|
||||||
|
main-is: shellcheck.hs
|
||||||
|
|
||||||
|
test-suite test-shellcheck
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
build-depends:
|
||||||
|
aeson,
|
||||||
|
array,
|
||||||
|
base >= 4 && < 5,
|
||||||
|
bytestring,
|
||||||
|
containers,
|
||||||
|
deepseq >= 1.4.0.0,
|
||||||
|
Diff >= 0.2.0,
|
||||||
|
directory >= 1.2.3.0,
|
||||||
|
mtl >= 2.2.1,
|
||||||
|
filepath,
|
||||||
|
parsec,
|
||||||
|
QuickCheck >= 2.7.4,
|
||||||
|
regex-tdfa,
|
||||||
|
ShellCheck
|
||||||
|
default-language: Haskell98
|
||||||
|
main-is: test/shellcheck.hs
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 19 23:17:38 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update ShellCheck to version 0.8.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 7 14:54:02 UTC 2021 - psimons@suse.com
|
Sun Nov 7 14:54:02 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ShellCheck
|
# spec file for package ShellCheck
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@ -25,6 +25,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
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-Diff-devel
|
BuildRequires: ghc-Diff-devel
|
||||||
@ -74,6 +75,7 @@ This package provides the Haskell %{name} library development files.
|
|||||||
|
|
||||||
%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