Accepting request 1075769 from devel:languages:haskell
update for ghc-9.4.4 OBS-URL: https://build.opensuse.org/request/show/1075769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-attoparsec?expand=0&rev=29
This commit is contained in:
commit
a8d19bafa6
@ -1,22 +1,39 @@
|
|||||||
|
cabal-version: 2.0
|
||||||
|
-- 2.0 needed for internal libraries
|
||||||
name: attoparsec
|
name: attoparsec
|
||||||
version: 0.14.4
|
version: 0.14.4
|
||||||
x-revision: 2
|
x-revision: 3
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
category: Text, Parsing
|
category: Text, Parsing
|
||||||
author: Bryan O'Sullivan <bos@serpentine.com>
|
author: Bryan O'Sullivan <bos@serpentine.com>
|
||||||
maintainer: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org>
|
maintainer: Ben Gamari <ben@smart-cactus.org>
|
||||||
stability: experimental
|
stability: experimental
|
||||||
tested-with: GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC ==9.0.2, GHC ==9.2.1
|
|
||||||
synopsis: Fast combinator parsing for bytestrings and text
|
synopsis: Fast combinator parsing for bytestrings and text
|
||||||
cabal-version: 2.0
|
homepage: https://github.com/haskell/attoparsec
|
||||||
homepage: https://github.com/bgamari/attoparsec
|
bug-reports: https://github.com/haskell/attoparsec/issues
|
||||||
bug-reports: https://github.com/bgamari/attoparsec/issues
|
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
description:
|
description:
|
||||||
A fast parser combinator library, aimed particularly at dealing
|
A fast parser combinator library, aimed particularly at dealing
|
||||||
efficiently with network protocols and complicated text/binary
|
efficiently with network protocols and complicated text/binary
|
||||||
file formats.
|
file formats.
|
||||||
|
|
||||||
|
tested-with:
|
||||||
|
GHC == 9.6.0
|
||||||
|
GHC == 9.4.4
|
||||||
|
GHC == 9.2.6
|
||||||
|
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
|
||||||
|
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
README.markdown
|
README.markdown
|
||||||
benchmarks/*.txt
|
benchmarks/*.txt
|
||||||
@ -61,7 +78,7 @@ library
|
|||||||
scientific >= 0.3.1 && < 0.4,
|
scientific >= 0.3.1 && < 0.4,
|
||||||
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
|
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
|
||||||
text >= 1.1.1.3,
|
text >= 1.1.1.3,
|
||||||
ghc-prim <0.10,
|
ghc-prim < 0.11,
|
||||||
attoparsec-internal
|
attoparsec-internal
|
||||||
if impl(ghc < 7.4)
|
if impl(ghc < 7.4)
|
||||||
build-depends:
|
build-depends:
|
||||||
@ -195,4 +212,4 @@ benchmark attoparsec-benchmarks
|
|||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/bgamari/attoparsec
|
location: https://github.com/haskell/attoparsec.git
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 30 17:05:51 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 18 17:09:29 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update attoparsec to version 0.14.4 revision 3.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 10 22:09:34 UTC 2022 - Peter Simons <psimons@suse.com>
|
Wed Aug 10 22:09:34 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-attoparsec
|
# spec file for package ghc-attoparsec
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name attoparsec
|
%global pkg_name attoparsec
|
||||||
%global has_internal_sub_libraries 1
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.14.4
|
Version: 0.14.4
|
||||||
@ -26,23 +26,37 @@ Summary: Fast combinator parsing for bytestrings and text
|
|||||||
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/2.cabal#/%{pkg_name}.cabal
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
|
BuildRequires: ghc-array-prof
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-containers-prof
|
||||||
BuildRequires: ghc-deepseq-devel
|
BuildRequires: ghc-deepseq-devel
|
||||||
|
BuildRequires: ghc-deepseq-prof
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-scientific-devel
|
BuildRequires: ghc-scientific-devel
|
||||||
|
BuildRequires: ghc-scientific-prof
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-text-prof
|
||||||
BuildRequires: ghc-transformers-devel
|
BuildRequires: ghc-transformers-devel
|
||||||
|
BuildRequires: ghc-transformers-prof
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
|
BuildRequires: ghc-QuickCheck-prof
|
||||||
BuildRequires: ghc-quickcheck-unicode-devel
|
BuildRequires: ghc-quickcheck-unicode-devel
|
||||||
|
BuildRequires: ghc-quickcheck-unicode-prof
|
||||||
BuildRequires: ghc-tasty-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
|
BuildRequires: ghc-tasty-prof
|
||||||
BuildRequires: ghc-tasty-quickcheck-devel
|
BuildRequires: ghc-tasty-quickcheck-devel
|
||||||
|
BuildRequires: ghc-tasty-quickcheck-prof
|
||||||
BuildRequires: ghc-vector-devel
|
BuildRequires: ghc-vector-devel
|
||||||
|
BuildRequires: ghc-vector-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -59,12 +73,28 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
%package -n ghc-%{pkg_name}-doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n ghc-%{pkg_name}-doc
|
||||||
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
|
|
||||||
|
%package -n ghc-%{pkg_name}-prof
|
||||||
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
|
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||||
|
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description -n ghc-%{pkg_name}-prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build_without_haddock
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
@ -84,4 +114,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc README.markdown changelog.md examples
|
%doc README.markdown changelog.md examples
|
||||||
|
|
||||||
|
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user