From 6ff5acf60c590aa81b79a813f60d56656b070a129b569518fee2891dc640ca1c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 29 Jun 2022 12:18:15 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-language-c revision:17, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-language-c?expand=0&rev=14 --- ghc-language-c.changes | 16 +++++ ghc-language-c.spec | 4 +- language-c-0.9.0.1.tar.gz | 3 - language-c-0.9.1.tar.gz | 3 + language-c.cabal | 131 -------------------------------------- 5 files changed, 20 insertions(+), 137 deletions(-) delete mode 100644 language-c-0.9.0.1.tar.gz create mode 100644 language-c-0.9.1.tar.gz delete mode 100644 language-c.cabal diff --git a/ghc-language-c.changes b/ghc-language-c.changes index 1c97751..ccef573 100644 --- a/ghc-language-c.changes +++ b/ghc-language-c.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 6 09:31:53 UTC 2022 - Peter Simons + +- Update language-c to version 0.9.1. + ## 0.9.1 + + - Support parsing an empty list of clobbers after a colon in `asm` statements + +------------------------------------------------------------------- +Wed Mar 16 08:39:25 UTC 2022 - Peter Simons + +- Update language-c to version 0.9.0.2. + ## 0.9.0.2 + + - Correct lower bound on GHC + ------------------------------------------------------------------- Sat Feb 5 00:26:26 UTC 2022 - Peter Simons diff --git a/ghc-language-c.spec b/ghc-language-c.spec index 5f859c5..ae5d16e 100644 --- a/ghc-language-c.spec +++ b/ghc-language-c.spec @@ -19,13 +19,12 @@ %global pkg_name language-c %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.9.0.1 +Version: 0.9.1 Release: 0 Summary: Analysis and generation of C code License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: alex BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel @@ -58,7 +57,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal find . -type f -exec chmod -x {} + %build diff --git a/language-c-0.9.0.1.tar.gz b/language-c-0.9.0.1.tar.gz deleted file mode 100644 index 7b39471..0000000 --- a/language-c-0.9.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d44cbb963fdea53ee9850af767a01137666044702938b57fda0c17644719d207 -size 198427 diff --git a/language-c-0.9.1.tar.gz b/language-c-0.9.1.tar.gz new file mode 100644 index 0000000..337c97a --- /dev/null +++ b/language-c-0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94359566eb5da62f539fa62500f8a861db4e3eafb956d66c6821d6ffad96ad3c +size 125058 diff --git a/language-c.cabal b/language-c.cabal deleted file mode 100644 index d003b7c..0000000 --- a/language-c.cabal +++ /dev/null @@ -1,131 +0,0 @@ -Name: language-c -Version: 0.9.0.1 -x-revision: 1 -Cabal-Version: >= 1.10 -Build-Type: Simple -License: BSD3 -License-File: LICENSE -Copyright: LICENSE -Author: AUTHORS -Maintainer: language.c@monoid.al -Stability: experimental -Homepage: http://visq.github.io/language-c/ -Bug-reports: https://github.com/visq/language-c/issues/ - -Synopsis: Analysis and generation of C code -Description: Language C is a haskell library for the analysis and generation of C code. - It features a complete, well tested parser and pretty printer for all of C99 and a large - set of C11 and clang/GNU extensions. -Category: Language -Tested-With: GHC == 8.0.*, GHC == 8.2.*, GHC == 8.4.*, GHC == 8.6.*, GHC == 8.8.*, GHC == 8.10.* - -Extra-Source-Files: AUTHORS AUTHORS.c2hs ChangeLog README - src/Language/C/Parser/Lexer.x - src/Language/C/Parser/Parser.y - -Source-Repository head - type: git - location: https://github.com/visq/language-c.git - -Flag useByteStrings - Description: Use ByteString as InputStream datatype - Default: True -Flag allWarnings - Description: Turn on all warnings for building (development) - Default: False -Flag iecFpExtension - Description: Support IEC 60559 floating point extension (defines _Float128) - Default: True -Library - default-extensions: CPP, DeriveDataTypeable, DeriveGeneric, PatternGuards, BangPatterns, ExistentialQuantification, GeneralizedNewtypeDeriving, ScopedTypeVariables - Build-Depends: base >= 4.8 && < 5, - array, - containers >= 0.3, - deepseq >= 1.4.0.0 && < 1.5, - directory, - filepath, - mtl, - pretty < 1.2.0, - process - if flag(allWarnings) - if impl(ghc >= 8.0) - ghc-options: -Wall -Wno-redundant-constraints - else - ghc-options: -Wall - - Build-Depends: - base >=4 && <5 - - if flag(useByteStrings) - Build-Depends: bytestring >= 0.9.0 - else - cpp-options: -DNO_BYTESTRING - - if flag(iecFpExtension) - cpp-options: -DIEC_60559_TYPES_EXT - - -- GHC.Generics lived in `ghc-prim` for GHC 7.2 & GHC 7.4 - if impl(ghc == 7.4.*) - build-depends: ghc-prim == 0.2.* - - Build-Tools: happy, alex - - Hs-Source-Dirs: src - Exposed-Modules: - -- top-level - Language.C - -- data - Language.C.Data - Language.C.Data.Position - Language.C.Data.Ident - Language.C.Data.Error - Language.C.Data.Name - Language.C.Data.Node - Language.C.Data.InputStream - -- syntax - Language.C.Syntax - Language.C.Syntax.AST - Language.C.Syntax.Constants - Language.C.Syntax.Ops - Language.C.Syntax.Utils - -- parser - Language.C.Parser - -- pretty printer - Language.C.Pretty - -- system - Language.C.System.Preprocess - Language.C.System.GCC - -- analysis [experimental] - Language.C.Analysis - Language.C.Analysis.ConstEval - Language.C.Analysis.Builtins - Language.C.Analysis.SemError - Language.C.Analysis.SemRep - Language.C.Analysis.DefTable - Language.C.Analysis.TravMonad - Language.C.Analysis.AstAnalysis - Language.C.Analysis.DeclAnalysis - Language.C.Analysis.Debug - Language.C.Analysis.TypeCheck - Language.C.Analysis.TypeConversions - Language.C.Analysis.TypeUtils - Language.C.Analysis.NameSpaceMap - Language.C.Analysis.MachineDescs - -- semrep -> code [alpha] - Language.C.Analysis.Export - Other-Modules: - Language.C.Data.RList - -- parser implementation - Language.C.Parser.Builtin - Language.C.Parser.Lexer - Language.C.Parser.ParserMonad - Language.C.Parser.Tokens - Language.C.Parser.Parser - default-language: Haskell2010 - --- test description -Test-Suite language-c-harness - type: exitcode-stdio-1.0 - main-is: test/harness/run-harness.hs - build-depends: base, directory, process, filepath - default-language: Haskell2010