update to 1.13

This commit is contained in:
Jens Petersen 2020-06-10 11:41:48 +08:00
parent 89f6c4a0c4
commit 43c4a113f7
4 changed files with 93 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/polyparse-1.11.tar.gz
/polyparse-1.12.tar.gz
/polyparse-1.12.1.tar.gz
/polyparse-1.13.tar.gz

View File

@ -5,14 +5,15 @@
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.12.1
Release: 2%{?dist}
Version: 1.13
Release: 1%{?dist}
Summary: A variety of alternative parser combinator libraries
License: LGPLv2+ with exceptions
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:
@ -24,7 +25,7 @@ BuildRequires: ghc-text-prof
# End cabal-rpm deps
%description
This version, 1.12.1 is a Non-Maintainer Upload (NMU). Report issues to the
This version, 1.13 is a Non-Maintainer Upload (NMU). Report issues to the
Hackage Trustees issue tracker.
A variety of alternative parser combinator libraries, including the original
@ -71,6 +72,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
@ -83,7 +85,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%install
# Begin cabal-rpm install
%ghc_lib_install
chmod a-x Changelog.md
# End cabal-rpm install
rm %{buildroot}%{_ghclicensedir}/%{name}/LICENCE-commercial
@ -122,6 +123,9 @@ rm %{buildroot}%{_ghclicensedir}/%{name}/LICENCE-commercial
%changelog
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 1.13-1
- update to 1.13
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

83
polyparse-1.13.cabal Normal file
View File

@ -0,0 +1,83 @@
name: polyparse
version: 1.13
x-revision: 1
license: LGPL
license-files: COPYRIGHT, LICENCE-LGPL, LICENCE-commercial
copyright: (c) 2006-2016 Malcolm Wallace
author: Malcolm Wallace <Malcolm.Wallace@me.com>
maintainer: author
homepage: http://code.haskell.org/~malcolm/polyparse/
bug-reports: https://github.com/haskell-infra/hackage-trustees/issues
category: Text, Parsing
synopsis: A variety of alternative parser combinator libraries.
description:
This version, 1.13 is a Non-Maintainer Upload (NMU).
Report issues to the Hackage Trustees issue tracker.
.
A variety of alternative parser combinator libraries, including
the original HuttonMeijer set. The Poly sets have features like
good error reporting, arbitrary token type, running state, lazy
parsing, and so on. Finally, Text.Parse is a proposed
replacement for the standard Read class, for better
deserialisation of Haskell values from Strings.
build-type: Simple
cabal-version: >=1.8
extra-source-files: Changelog.md
tested-with:
GHC ==8.10.1
|| ==8.8.3
|| ==8.6.5
|| ==8.4.4
|| ==8.2.2
|| ==8.0.2
|| ==7.10.3
|| ==7.8.4
|| ==7.6.3
|| ==7.4.2
|| ==7.2.2
|| ==7.0.4
source-repository head
type: darcs
location: http://code.haskell.org/polyparse
source-repository this
type: git
location: https://github.com/hackage-trustees/malcolm-wallace-universe.git
tag: 1.12.1
library
hs-source-dirs: src
build-depends: base >= 4.3.1.0 && < 4.15
if !impl(ghc >= 8.0)
build-depends: fail == 4.9.*
exposed-modules:
Text.ParserCombinators.HuttonMeijer,
Text.ParserCombinators.HuttonMeijerWallace,
Text.ParserCombinators.Poly,
Text.ParserCombinators.Poly.Base,
Text.ParserCombinators.Poly.Result,
Text.ParserCombinators.Poly.Parser,
Text.ParserCombinators.Poly.Plain,
Text.ParserCombinators.Poly.Lazy,
Text.ParserCombinators.Poly.StateParser,
Text.ParserCombinators.Poly.State,
Text.ParserCombinators.Poly.StateLazy,
Text.ParserCombinators.Poly.Lex,
Text.Parse
if impl(ghc)
build-depends: bytestring >= 0.9.1.0 && < 0.11
build-depends: text >= 1.2.3.0 && <1.3
exposed-modules:
Text.ParserCombinators.Poly.ByteString
Text.ParserCombinators.Poly.ByteStringChar
Text.Parse.ByteString
Text.ParserCombinators.Poly.Text
Text.ParserCombinators.Poly.StateText
-- Text.Parse.Text
cpp-options: -DVERSION="1.12"
nhc98-options: -K6M
extensions: CPP

View File

@ -1 +1 @@
SHA512 (polyparse-1.12.1.tar.gz) = 2c165495c83874ece2b40326ad459ebe6fad3579c4246d8ae04e30cb5b7e1923b9dae796433cb814da772b099bc8422ce59df8e0857fda88d679ec308db16b85
SHA512 (polyparse-1.13.tar.gz) = 3b66a73f97d6b5b6628193f87cae1ae1a68d63df0058532b2ac9a62af82dabe28e15fe1464075a2f436e70a7d20b57e72fdd7831f8b11035ff8117becb08d18e