osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-Cabal-syntax revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-Cabal-syntax?expand=0&rev=3
This commit is contained in:
parent
f31428f485
commit
80a456d1a9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ca25e5fc601397565fa857f1aa477740fac7f43d659e77c4d9b1485dca239251
|
|
||||||
size 1751
|
|
3
Cabal-syntax-3.8.1.0.tar.gz
Normal file
3
Cabal-syntax-3.8.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:07e8ddb19fe01781485f1522b6afc22aba680b0ab28ebe6bbfb84a2dd698ce0f
|
||||||
|
size 233354
|
225
Cabal-syntax.cabal
Normal file
225
Cabal-syntax.cabal
Normal file
@ -0,0 +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 <cabal-devel@haskell.org>
|
||||||
|
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
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 15 09:05:07 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update Cabal-syntax to version 3.8.1.0 revision 1.
|
||||||
|
Upstream added a new change log file in this release. With no
|
||||||
|
previous version to compare against, the automatic updater cannot
|
||||||
|
reliable determine the relevante entries for this release.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 4 12:31:25 UTC 2022 - psimons@suse.com
|
Fri Feb 4 12:31:25 UTC 2022 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -18,35 +18,35 @@
|
|||||||
|
|
||||||
%global pkg_name Cabal-syntax
|
%global pkg_name Cabal-syntax
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 3.6.0.0
|
Version: 3.8.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for working with .cabal files
|
Summary: A library for working with .cabal files
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-array-devel
|
||||||
|
BuildRequires: ghc-binary-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-deepseq-devel
|
||||||
|
BuildRequires: ghc-directory-devel
|
||||||
|
BuildRequires: ghc-filepath-devel
|
||||||
|
BuildRequires: ghc-mtl-devel
|
||||||
|
BuildRequires: ghc-parsec-devel
|
||||||
|
BuildRequires: ghc-pretty-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
|
BuildRequires: ghc-unix-devel
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides tools for reading and manipulating the .cabal file
|
This library provides tools for reading and manipulating the .cabal file
|
||||||
format.
|
format.
|
||||||
|
|
||||||
Version 3.6 (unlike the following versions) is a dummy package that prevents
|
|
||||||
module name clases between Cabal and Cabal-syntax if used together with a Cabal
|
|
||||||
flag as described below.
|
|
||||||
|
|
||||||
In Cabal-3.7 this package was split off. To avoid module name clashes, you can
|
|
||||||
add this to your .cabal file:
|
|
||||||
|
|
||||||
> flag Cabal-syntax > description: Use the new Cabal-syntax package > default:
|
|
||||||
False > manual: False > > library > -- ... > if flag(Cabal-syntax) >
|
|
||||||
build-depends: Cabal-syntax >= 3.7 > else > build-depends: Cabal < 3.7,
|
|
||||||
Cabal-syntax < 3.7
|
|
||||||
|
|
||||||
This will default to the older build, but will allow consumers to opt-in to the
|
|
||||||
newer libraries by requiring Cabal or Cabal-syntax >= 3.7.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -59,9 +59,10 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build_without_haddock
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
@ -76,5 +77,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc ChangeLog.md README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user