Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 81eee666ef | |||
| 3eb160badf |
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 15:39:43 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update polyparse to version 1.13.1.
|
||||
Upstream has edited the change log file since the last release in
|
||||
a non-trivial way, i.e. they did more than just add a new entry
|
||||
at the top. You can review the file at:
|
||||
http://hackage.haskell.org/package/polyparse-1.13.1/src/Changelog.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 27 18:34:24 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-polyparse
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,13 +19,12 @@
|
||||
%global pkg_name polyparse
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.13
|
||||
Version: 1.13.1
|
||||
Release: 0
|
||||
Summary: A variety of alternative parser combinator libraries
|
||||
License: LGPL-2.1-only
|
||||
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/9.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
@@ -37,15 +36,14 @@ BuildRequires: ghc-text-prof
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%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.
|
||||
|
||||
Old homepage: <https://archives.haskell.org/projects.haskell.org/polyparse/>.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@@ -74,7 +72,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
@@ -94,7 +91,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
%license LICENCE-commercial
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc Changelog.md
|
||||
%doc Changelog.md README.md
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license COPYRIGHT
|
||||
|
||||
3
polyparse-1.13.1.tar.gz
Normal file
3
polyparse-1.13.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:395b89ed9901e9b19eaa652d2a17b9d1ed04c111b2cd92b8996868bea642bfd6
|
||||
size 33421
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c4c72980e1e5a4f07fea65ca08b2399581d2a6aa21eb1078f7ad286c279707b
|
||||
size 33144
|
||||
@@ -1,84 +0,0 @@
|
||||
name: polyparse
|
||||
version: 1.13
|
||||
x-revision: 9
|
||||
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 == 9.8.0
|
||||
GHC == 9.6.2
|
||||
GHC == 9.4.7
|
||||
GHC == 9.2.8
|
||||
GHC == 9.0.2
|
||||
GHC == 8.10.7
|
||||
GHC == 8.8.4
|
||||
GHC == 8.6.5
|
||||
GHC == 8.4.4
|
||||
GHC == 8.2.2
|
||||
GHC == 8.0.2
|
||||
GHC == 7.10.3
|
||||
GHC == 7.8.4
|
||||
GHC == 7.6.3
|
||||
GHC == 7.4.2
|
||||
GHC == 7.2.2
|
||||
GHC == 7.0.4
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/hackage-trustees/malcolm-wallace-universe.git
|
||||
subdir: polyparse-1.12
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
build-depends: base >= 4.3.1.0 && < 5
|
||||
|
||||
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.13
|
||||
build-depends: text >= 1.2.3.0 && < 1.3 || >= 2.0 && < 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
|
||||
Reference in New Issue
Block a user