From 6313269dd73b9b900cd00189f07a13c01f75a4aa3bfb332019eece796db9c4bc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 17 Jan 2023 18:08:20 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-Cabal-syntax revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-Cabal-syntax?expand=0&rev=5 --- Cabal-syntax.cabal | 450 +++++++++++++++++++-------------------- ghc-Cabal-syntax.changes | 6 + ghc-Cabal-syntax.spec | 2 +- 3 files changed, 232 insertions(+), 226 deletions(-) diff --git a/Cabal-syntax.cabal b/Cabal-syntax.cabal index 92a3f82..8c6514f 100644 --- a/Cabal-syntax.cabal +++ b/Cabal-syntax.cabal @@ -1,225 +1,225 @@ -cabal-version: 1.22 -name: Cabal-syntax -version: 3.8.1.0 -x-revision: 1 -copyright: 2003-2022, Cabal Development Team (see AUTHORS file) -license: BSD3 -license-file: LICENSE -author: Cabal Development Team -maintainer: cabal-devel@haskell.org -homepage: http://www.haskell.org/cabal/ -bug-reports: https://github.com/haskell/cabal/issues -synopsis: A library for working with .cabal files -description: - This library provides tools for reading and manipulating the .cabal file - format. -category: Distribution -build-type: Simple - -extra-source-files: - README.md ChangeLog.md - -source-repository head - type: git - location: https://github.com/haskell/cabal/ - subdir: Cabal-syntax - -library - default-language: Haskell2010 - hs-source-dirs: src - - build-depends: - array >= 0.4.0.1 && < 0.6, - base >= 4.9 && < 5, - binary >= 0.7 && < 0.9, - bytestring >= 0.10.0.0 && < 0.12, - containers >= 0.5.0.0 && < 0.7, - deepseq >= 1.3.0.1 && < 1.5, - directory >= 1.2 && < 1.4, - filepath >= 1.3.0.1 && < 1.5, - mtl >= 2.1 && < 2.3, - parsec >= 3.1.13.0 && < 3.2, - pretty >= 1.1.1 && < 1.2, - text (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.1), - time >= 1.4.0.1 && < 1.13, - -- transformers-0.4.0.0 doesn't have record syntax e.g. for Identity - -- See also https://github.com/ekmett/transformers-compat/issues/35 - transformers (>= 0.3 && < 0.4) || (>=0.4.1.0 && <0.6) - - if os(windows) - build-depends: Win32 >= 2.3.0.0 && < 2.14 - else - build-depends: unix >= 2.6.0.0 && < 2.8 - - ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates - ghc-options: -Wcompat -Wnoncanonical-monad-instances - - if impl(ghc <8.8) - ghc-options: -Wnoncanonical-monadfail-instances - - exposed-modules: - Distribution.Backpack - Distribution.CabalSpecVersion - Distribution.Compat.Binary - Distribution.Compat.CharParsing - Distribution.Compat.DList - Distribution.Compat.Exception - Distribution.Compat.Graph - Distribution.Compat.Lens - Distribution.Compat.MonadFail - Distribution.Compat.Newtype - Distribution.Compat.NonEmptySet - Distribution.Compat.Parsing - Distribution.Compat.Prelude - Distribution.Compat.Semigroup - Distribution.Compat.Typeable - Distribution.Compiler - Distribution.FieldGrammar - Distribution.FieldGrammar.Class - Distribution.FieldGrammar.FieldDescrs - Distribution.FieldGrammar.Newtypes - Distribution.FieldGrammar.Parsec - Distribution.FieldGrammar.Pretty - Distribution.Fields - Distribution.Fields.ConfVar - Distribution.Fields.Field - Distribution.Fields.Lexer - Distribution.Fields.LexerMonad - Distribution.Fields.ParseResult - Distribution.Fields.Parser - Distribution.Fields.Pretty - Distribution.InstalledPackageInfo - Distribution.License - Distribution.ModuleName - Distribution.Package - Distribution.PackageDescription - Distribution.PackageDescription.Configuration - Distribution.PackageDescription.FieldGrammar - Distribution.PackageDescription.Parsec - Distribution.PackageDescription.PrettyPrint - Distribution.PackageDescription.Quirks - Distribution.PackageDescription.Utils - Distribution.Parsec - Distribution.Parsec.Error - Distribution.Parsec.FieldLineStream - Distribution.Parsec.Position - Distribution.Parsec.Warning - Distribution.Pretty - Distribution.SPDX - Distribution.SPDX.License - Distribution.SPDX.LicenseExceptionId - Distribution.SPDX.LicenseExpression - Distribution.SPDX.LicenseId - Distribution.SPDX.LicenseListVersion - Distribution.SPDX.LicenseReference - Distribution.System - Distribution.Text - Distribution.Types.AbiDependency - Distribution.Types.AbiHash - Distribution.Types.Benchmark - Distribution.Types.Benchmark.Lens - Distribution.Types.BenchmarkInterface - Distribution.Types.BenchmarkType - Distribution.Types.BuildInfo - Distribution.Types.BuildInfo.Lens - Distribution.Types.BuildType - Distribution.Types.Component - Distribution.Types.ComponentId - Distribution.Types.ComponentName - Distribution.Types.ComponentRequestedSpec - Distribution.Types.CondTree - Distribution.Types.Condition - Distribution.Types.ConfVar - Distribution.Types.Dependency - Distribution.Types.DependencyMap - Distribution.Types.ExeDependency - Distribution.Types.Executable - Distribution.Types.Executable.Lens - Distribution.Types.ExecutableScope - Distribution.Types.ExposedModule - Distribution.Types.Flag - Distribution.Types.ForeignLib - Distribution.Types.ForeignLib.Lens - Distribution.Types.ForeignLibOption - Distribution.Types.ForeignLibType - Distribution.Types.GenericPackageDescription - Distribution.Types.GenericPackageDescription.Lens - Distribution.Types.HookedBuildInfo - Distribution.Types.IncludeRenaming - Distribution.Types.InstalledPackageInfo - Distribution.Types.InstalledPackageInfo.Lens - Distribution.Types.InstalledPackageInfo.FieldGrammar - Distribution.Types.LegacyExeDependency - Distribution.Types.Lens - Distribution.Types.Library - Distribution.Types.Library.Lens - Distribution.Types.LibraryName - Distribution.Types.LibraryVisibility - Distribution.Types.Mixin - Distribution.Types.Module - Distribution.Types.ModuleReexport - Distribution.Types.ModuleRenaming - Distribution.Types.MungedPackageId - Distribution.Types.MungedPackageName - Distribution.Types.PackageDescription - Distribution.Types.PackageDescription.Lens - Distribution.Types.PackageId - Distribution.Types.PackageId.Lens - Distribution.Types.PackageName - Distribution.Types.PackageVersionConstraint - Distribution.Types.PkgconfigDependency - Distribution.Types.PkgconfigName - Distribution.Types.PkgconfigVersion - Distribution.Types.PkgconfigVersionRange - Distribution.Types.SetupBuildInfo - Distribution.Types.SetupBuildInfo.Lens - Distribution.Types.SourceRepo - Distribution.Types.SourceRepo.Lens - Distribution.Types.TestSuite - Distribution.Types.TestSuite.Lens - Distribution.Types.TestSuiteInterface - Distribution.Types.TestType - Distribution.Types.UnitId - Distribution.Types.UnqualComponentName - Distribution.Types.Version - Distribution.Types.VersionInterval - Distribution.Types.VersionInterval.Legacy - Distribution.Types.VersionRange - Distribution.Types.VersionRange.Internal - Distribution.Utils.Base62 - Distribution.Utils.Generic - Distribution.Utils.MD5 - Distribution.Utils.Path - Distribution.Utils.ShortText - Distribution.Utils.String - Distribution.Utils.Structured - Distribution.Version - Language.Haskell.Extension - - other-extensions: - BangPatterns - CPP - DefaultSignatures - DeriveDataTypeable - DeriveFoldable - DeriveFunctor - DeriveGeneric - DeriveTraversable - ExistentialQuantification - FlexibleContexts - FlexibleInstances - GeneralizedNewtypeDeriving - ImplicitParams - KindSignatures - NondecreasingIndentation - OverloadedStrings - PatternSynonyms - RankNTypes - RecordWildCards - ScopedTypeVariables - StandaloneDeriving - Trustworthy - TypeFamilies - TypeOperators - TypeSynonymInstances - UndecidableInstances +cabal-version: 1.22 +name: Cabal-syntax +version: 3.8.1.0 +x-revision: 2 +copyright: 2003-2022, Cabal Development Team (see AUTHORS file) +license: BSD3 +license-file: LICENSE +author: Cabal Development Team +maintainer: cabal-devel@haskell.org +homepage: http://www.haskell.org/cabal/ +bug-reports: https://github.com/haskell/cabal/issues +synopsis: A library for working with .cabal files +description: + This library provides tools for reading and manipulating the .cabal file + format. +category: Distribution +build-type: Simple + +extra-source-files: + README.md ChangeLog.md + +source-repository head + type: git + location: https://github.com/haskell/cabal/ + subdir: Cabal-syntax + +library + default-language: Haskell2010 + hs-source-dirs: src + + build-depends: + array >= 0.4.0.1 && < 0.6, + base >= 4.9 && < 5, + binary >= 0.7 && < 0.9, + bytestring >= 0.10.0.0 && < 0.12, + containers >= 0.5.0.0 && < 0.7, + deepseq >= 1.3.0.1 && < 1.5, + directory >= 1.2 && < 1.4, + filepath >= 1.3.0.1 && < 1.5, + mtl >= 2.1 && < 2.4, + parsec >= 3.1.13.0 && < 3.2, + pretty >= 1.1.1 && < 1.2, + text (>= 1.2.3.0 && < 1.3) || (>= 2.0 && < 2.1), + time >= 1.4.0.1 && < 1.13, + -- transformers-0.4.0.0 doesn't have record syntax e.g. for Identity + -- See also https://github.com/ekmett/transformers-compat/issues/35 + transformers (>= 0.3 && < 0.4) || (>=0.4.1.0 && <0.7) + + if os(windows) + build-depends: Win32 >= 2.3.0.0 && < 2.14 + else + build-depends: unix >= 2.6.0.0 && < 2.8 + + ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates + ghc-options: -Wcompat -Wnoncanonical-monad-instances + + if impl(ghc < 8.8) + ghc-options: -Wnoncanonical-monadfail-instances + + exposed-modules: + Distribution.Backpack + Distribution.CabalSpecVersion + Distribution.Compat.Binary + Distribution.Compat.CharParsing + Distribution.Compat.DList + Distribution.Compat.Exception + Distribution.Compat.Graph + Distribution.Compat.Lens + Distribution.Compat.MonadFail + Distribution.Compat.Newtype + Distribution.Compat.NonEmptySet + Distribution.Compat.Parsing + Distribution.Compat.Prelude + Distribution.Compat.Semigroup + Distribution.Compat.Typeable + Distribution.Compiler + Distribution.FieldGrammar + Distribution.FieldGrammar.Class + Distribution.FieldGrammar.FieldDescrs + Distribution.FieldGrammar.Newtypes + Distribution.FieldGrammar.Parsec + Distribution.FieldGrammar.Pretty + Distribution.Fields + Distribution.Fields.ConfVar + Distribution.Fields.Field + Distribution.Fields.Lexer + Distribution.Fields.LexerMonad + Distribution.Fields.ParseResult + Distribution.Fields.Parser + Distribution.Fields.Pretty + Distribution.InstalledPackageInfo + Distribution.License + Distribution.ModuleName + Distribution.Package + Distribution.PackageDescription + Distribution.PackageDescription.Configuration + Distribution.PackageDescription.FieldGrammar + Distribution.PackageDescription.Parsec + Distribution.PackageDescription.PrettyPrint + Distribution.PackageDescription.Quirks + Distribution.PackageDescription.Utils + Distribution.Parsec + Distribution.Parsec.Error + Distribution.Parsec.FieldLineStream + Distribution.Parsec.Position + Distribution.Parsec.Warning + Distribution.Pretty + Distribution.SPDX + Distribution.SPDX.License + Distribution.SPDX.LicenseExceptionId + Distribution.SPDX.LicenseExpression + Distribution.SPDX.LicenseId + Distribution.SPDX.LicenseListVersion + Distribution.SPDX.LicenseReference + Distribution.System + Distribution.Text + Distribution.Types.AbiDependency + Distribution.Types.AbiHash + Distribution.Types.Benchmark + Distribution.Types.Benchmark.Lens + Distribution.Types.BenchmarkInterface + Distribution.Types.BenchmarkType + Distribution.Types.BuildInfo + Distribution.Types.BuildInfo.Lens + Distribution.Types.BuildType + Distribution.Types.Component + Distribution.Types.ComponentId + Distribution.Types.ComponentName + Distribution.Types.ComponentRequestedSpec + Distribution.Types.CondTree + Distribution.Types.Condition + Distribution.Types.ConfVar + Distribution.Types.Dependency + Distribution.Types.DependencyMap + Distribution.Types.ExeDependency + Distribution.Types.Executable + Distribution.Types.Executable.Lens + Distribution.Types.ExecutableScope + Distribution.Types.ExposedModule + Distribution.Types.Flag + Distribution.Types.ForeignLib + Distribution.Types.ForeignLib.Lens + Distribution.Types.ForeignLibOption + Distribution.Types.ForeignLibType + Distribution.Types.GenericPackageDescription + Distribution.Types.GenericPackageDescription.Lens + Distribution.Types.HookedBuildInfo + Distribution.Types.IncludeRenaming + Distribution.Types.InstalledPackageInfo + Distribution.Types.InstalledPackageInfo.Lens + Distribution.Types.InstalledPackageInfo.FieldGrammar + Distribution.Types.LegacyExeDependency + Distribution.Types.Lens + Distribution.Types.Library + Distribution.Types.Library.Lens + Distribution.Types.LibraryName + Distribution.Types.LibraryVisibility + Distribution.Types.Mixin + Distribution.Types.Module + Distribution.Types.ModuleReexport + Distribution.Types.ModuleRenaming + Distribution.Types.MungedPackageId + Distribution.Types.MungedPackageName + Distribution.Types.PackageDescription + Distribution.Types.PackageDescription.Lens + Distribution.Types.PackageId + Distribution.Types.PackageId.Lens + Distribution.Types.PackageName + Distribution.Types.PackageVersionConstraint + Distribution.Types.PkgconfigDependency + Distribution.Types.PkgconfigName + Distribution.Types.PkgconfigVersion + Distribution.Types.PkgconfigVersionRange + Distribution.Types.SetupBuildInfo + Distribution.Types.SetupBuildInfo.Lens + Distribution.Types.SourceRepo + Distribution.Types.SourceRepo.Lens + Distribution.Types.TestSuite + Distribution.Types.TestSuite.Lens + Distribution.Types.TestSuiteInterface + Distribution.Types.TestType + Distribution.Types.UnitId + Distribution.Types.UnqualComponentName + Distribution.Types.Version + Distribution.Types.VersionInterval + Distribution.Types.VersionInterval.Legacy + Distribution.Types.VersionRange + Distribution.Types.VersionRange.Internal + Distribution.Utils.Base62 + Distribution.Utils.Generic + Distribution.Utils.MD5 + Distribution.Utils.Path + Distribution.Utils.ShortText + Distribution.Utils.String + Distribution.Utils.Structured + Distribution.Version + Language.Haskell.Extension + + other-extensions: + BangPatterns + CPP + DefaultSignatures + DeriveDataTypeable + DeriveFoldable + DeriveFunctor + DeriveGeneric + DeriveTraversable + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GeneralizedNewtypeDeriving + ImplicitParams + KindSignatures + NondecreasingIndentation + OverloadedStrings + PatternSynonyms + RankNTypes + RecordWildCards + ScopedTypeVariables + StandaloneDeriving + Trustworthy + TypeFamilies + TypeOperators + TypeSynonymInstances + UndecidableInstances diff --git a/ghc-Cabal-syntax.changes b/ghc-Cabal-syntax.changes index be9a2da..ff66fe4 100644 --- a/ghc-Cabal-syntax.changes +++ b/ghc-Cabal-syntax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 30 05:50:08 UTC 2022 - Peter Simons + +- Update Cabal-syntax to version 3.8.1.0 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Mon Aug 15 09:05:07 UTC 2022 - Peter Simons diff --git a/ghc-Cabal-syntax.spec b/ghc-Cabal-syntax.spec index 5224c10..59cb26c 100644 --- a/ghc-Cabal-syntax.spec +++ b/ghc-Cabal-syntax.spec @@ -24,7 +24,7 @@ Summary: A library for working with .cabal files 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel