osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ShellCheck revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=40
This commit is contained in:
parent
e490fd8fc3
commit
9b9da172ae
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:184955264d42c5dca0300fb9688b9a6c9a1c70c345dbcd8e30bb48a049a70d7c
|
|
||||||
size 126593
|
|
3
ShellCheck-0.5.0.tar.gz
Normal file
3
ShellCheck-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2b9430736f48de17a60c035546a6a969c14392521bec30119e1c869017d3307c
|
||||||
|
size 133265
|
102
ShellCheck.cabal
102
ShellCheck.cabal
@ -1,102 +0,0 @@
|
|||||||
Name: ShellCheck
|
|
||||||
Version: 0.4.7
|
|
||||||
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: Custom
|
|
||||||
Cabal-Version: >= 1.8
|
|
||||||
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-Source-Files:
|
|
||||||
-- documentation
|
|
||||||
README.md
|
|
||||||
shellcheck.1.md
|
|
||||||
-- built with a cabal sdist hook
|
|
||||||
shellcheck.1
|
|
||||||
-- tests
|
|
||||||
test/shellcheck.hs
|
|
||||||
|
|
||||||
custom-setup
|
|
||||||
setup-depends:
|
|
||||||
base >= 4 && <5,
|
|
||||||
process >= 1.0 && <1.7,
|
|
||||||
Cabal >= 1.10 && <2.3
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: git://github.com/koalaman/shellcheck.git
|
|
||||||
|
|
||||||
library
|
|
||||||
build-depends:
|
|
||||||
base >= 4 && < 5,
|
|
||||||
containers >= 0.5,
|
|
||||||
directory,
|
|
||||||
json,
|
|
||||||
mtl >= 2.2.1,
|
|
||||||
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.ShellSupport
|
|
||||||
ShellCheck.Data
|
|
||||||
ShellCheck.Formatter.Format
|
|
||||||
ShellCheck.Formatter.CheckStyle
|
|
||||||
ShellCheck.Formatter.GCC
|
|
||||||
ShellCheck.Formatter.JSON
|
|
||||||
ShellCheck.Formatter.TTY
|
|
||||||
ShellCheck.Interface
|
|
||||||
ShellCheck.Parser
|
|
||||||
ShellCheck.Regex
|
|
||||||
other-modules:
|
|
||||||
Paths_ShellCheck
|
|
||||||
|
|
||||||
executable shellcheck
|
|
||||||
build-depends:
|
|
||||||
base >= 4 && < 5,
|
|
||||||
containers,
|
|
||||||
directory,
|
|
||||||
json >= 0.3.6,
|
|
||||||
mtl >= 2.2.1,
|
|
||||||
parsec >= 3.0,
|
|
||||||
regex-tdfa,
|
|
||||||
QuickCheck >= 2.7.4
|
|
||||||
main-is: shellcheck.hs
|
|
||||||
|
|
||||||
test-suite test-shellcheck
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
build-depends:
|
|
||||||
base >= 4 && < 5,
|
|
||||||
containers,
|
|
||||||
directory,
|
|
||||||
json,
|
|
||||||
mtl >= 2.2.1,
|
|
||||||
parsec,
|
|
||||||
regex-tdfa,
|
|
||||||
QuickCheck >= 2.7.4
|
|
||||||
main-is: test/shellcheck.hs
|
|
||||||
|
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 14:36:30 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version v0.4.7-106-g235bf66 from Github to fix the
|
||||||
|
build with GHC 8.4.x.
|
||||||
|
|
||||||
|
* Added:
|
||||||
|
SC2232: Warn about invalid arguments to sudo
|
||||||
|
SC2231: Suggest quoting expansions in for loop globs
|
||||||
|
SC2229: Warn about 'read $var'
|
||||||
|
SC2227: Warn about redirections in the middle of 'find' commands
|
||||||
|
SC2224,SC2225,SC2226: Warn when using mv/cp/ln without a destination
|
||||||
|
SC2223: Quote warning specific to : ${var=value}
|
||||||
|
SC1131: Warn when using elseif or elsif
|
||||||
|
SC1128: Warn about blanks/comments before shebang
|
||||||
|
SC1127: Warn about C-style comments
|
||||||
|
|
||||||
|
* Fixed:
|
||||||
|
Annotations intended for a command's here documents now work
|
||||||
|
Escaped characters inside groups in =~ regexes now parse
|
||||||
|
Associative arrays are now respected in arithmetic contexts
|
||||||
|
SC1087 about $var[@] now correctly triggers on any index
|
||||||
|
Bad expansions in here documents are no longer ignored
|
||||||
|
FD move operations like {fd}>1- now parse correctly
|
||||||
|
|
||||||
|
* Changed:
|
||||||
|
SC1073: 'else if' is now parsed correctly and not like 'elif'
|
||||||
|
SC2163: 'export $name' can now be silenced with 'export ${name?}'
|
||||||
|
SC2183: Now warns when printf arg count is not a multiple of format count
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 12 10:15:44 UTC 2018 - guillaume@opensuse.org
|
Thu Apr 12 10:15:44 UTC 2018 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -19,19 +19,20 @@
|
|||||||
%global pkg_name ShellCheck
|
%global pkg_name ShellCheck
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.4.7
|
Version: 0.5.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
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
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: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-json-devel
|
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
@ -70,13 +71,13 @@ This package provides the Haskell %{name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
cp -p %{SOURCE1} %{name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user