update to 9.0.1
This commit is contained in:
parent
f8ea4eac0b
commit
69cddfc524
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/megaparsec-6.5.0.tar.gz
|
||||
/megaparsec-7.0.5.tar.gz
|
||||
/megaparsec-8.0.0.tar.gz
|
||||
/megaparsec-9.0.1.tar.gz
|
||||
|
@ -5,14 +5,15 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 8.0.0
|
||||
Release: 4%{?dist}
|
||||
Version: 9.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Monadic parser combinators
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
@ -73,6 +74,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -110,6 +112,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 9.0.1-1
|
||||
- update to 9.0.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
117
megaparsec-9.0.1.cabal
Normal file
117
megaparsec-9.0.1.cabal
Normal file
@ -0,0 +1,117 @@
|
||||
cabal-version: 1.18
|
||||
name: megaparsec
|
||||
version: 9.0.1
|
||||
x-revision: 1
|
||||
license: BSD2
|
||||
license-file: LICENSE.md
|
||||
maintainer: Mark Karpov <markkarpov92@gmail.com>
|
||||
author:
|
||||
Megaparsec contributors,
|
||||
Paolo Martini <paolo@nemail.it>,
|
||||
Daan Leijen <daan@microsoft.com>
|
||||
|
||||
tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.2
|
||||
homepage: https://github.com/mrkkrp/megaparsec
|
||||
bug-reports: https://github.com/mrkkrp/megaparsec/issues
|
||||
synopsis: Monadic parser combinators
|
||||
description:
|
||||
This is an industrial-strength monadic parser combinator library.
|
||||
Megaparsec is a feature-rich package that tries to find a nice balance
|
||||
between speed, flexibility, and quality of parse errors.
|
||||
|
||||
category: Parsing
|
||||
build-type: Simple
|
||||
extra-doc-files:
|
||||
CHANGELOG.md
|
||||
README.md
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/mrkkrp/megaparsec.git
|
||||
|
||||
flag dev
|
||||
description: Turn on development settings.
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Text.Megaparsec
|
||||
Text.Megaparsec.Byte
|
||||
Text.Megaparsec.Byte.Lexer
|
||||
Text.Megaparsec.Char
|
||||
Text.Megaparsec.Char.Lexer
|
||||
Text.Megaparsec.Debug
|
||||
Text.Megaparsec.Error
|
||||
Text.Megaparsec.Error.Builder
|
||||
Text.Megaparsec.Internal
|
||||
Text.Megaparsec.Pos
|
||||
Text.Megaparsec.Stream
|
||||
|
||||
other-modules:
|
||||
Text.Megaparsec.Class
|
||||
Text.Megaparsec.Common
|
||||
Text.Megaparsec.Lexer
|
||||
Text.Megaparsec.State
|
||||
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5.0,
|
||||
bytestring >=0.2 && <0.12,
|
||||
case-insensitive >=1.2 && <1.3,
|
||||
containers >=0.5 && <0.7,
|
||||
deepseq >=1.3 && <1.5,
|
||||
mtl >=2.2.2 && <3.0,
|
||||
parser-combinators >=1.0 && <2.0,
|
||||
scientific >=0.3.1 && <0.4,
|
||||
text >=0.2 && <1.3,
|
||||
transformers >=0.4 && <0.6
|
||||
|
||||
if flag(dev)
|
||||
ghc-options: -O0 -Wall -Werror
|
||||
|
||||
else
|
||||
ghc-options: -O2 -Wall
|
||||
|
||||
if flag(dev)
|
||||
ghc-options:
|
||||
-Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
|
||||
-Wnoncanonical-monad-instances -Wno-missing-home-modules
|
||||
|
||||
benchmark bench-speed
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
hs-source-dirs: bench/speed
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5.0,
|
||||
containers >=0.5 && <0.7,
|
||||
criterion >=0.6.2.1 && <1.6,
|
||||
deepseq >=1.3 && <1.5,
|
||||
megaparsec -any,
|
||||
text >=0.2 && <1.3
|
||||
|
||||
if flag(dev)
|
||||
ghc-options: -O2 -Wall -Werror
|
||||
|
||||
else
|
||||
ghc-options: -O2 -Wall
|
||||
|
||||
benchmark bench-memory
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
hs-source-dirs: bench/memory
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base >=4.12 && <5.0,
|
||||
containers >=0.5 && <0.7,
|
||||
deepseq >=1.3 && <1.5,
|
||||
megaparsec -any,
|
||||
text >=0.2 && <1.3,
|
||||
weigh >=0.0.4
|
||||
|
||||
if flag(dev)
|
||||
ghc-options: -O2 -Wall -Werror
|
||||
|
||||
else
|
||||
ghc-options: -O2 -Wall
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (megaparsec-8.0.0.tar.gz) = ab550a99548da2739a70cc4bdb3313085b3179c58d19a84d30744d89fe2d7556b9b552d4ad7b177b18f9f5821daa5417c2b9267eadd9eb537132666c151513c3
|
||||
SHA512 (megaparsec-9.0.1.tar.gz) = 24ae5f291611a06ff69199d642de32d6dc5efc40cf6c6ccddcc59ff9d210a7bbd061ca17f1b5e04c2dded72108f140785f4ccfa64898b41f4ac7e21784c7b074
|
||||
|
Loading…
Reference in New Issue
Block a user