Compare commits
No commits in common. "rawhide" and "f34" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/cassava-0.5.1.0.tar.gz
|
/cassava-0.5.1.0.tar.gz
|
||||||
/cassava-0.5.2.0.tar.gz
|
/cassava-0.5.2.0.tar.gz
|
||||||
/cassava-0.5.3.0.tar.gz
|
|
||||||
|
188
cassava-0.5.2.0.cabal
Normal file
188
cassava-0.5.2.0.cabal
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
cabal-version: 1.12
|
||||||
|
Name: cassava
|
||||||
|
Version: 0.5.2.0
|
||||||
|
x-revision: 1
|
||||||
|
Synopsis: A CSV parsing and encoding library
|
||||||
|
Description: {
|
||||||
|
|
||||||
|
@cassava@ is a library for parsing and encoding [RFC 4180](https://tools.ietf.org/html/rfc4180)
|
||||||
|
compliant [comma-separated values (CSV)](https://en.wikipedia.org/wiki/Comma-separated_values) data,
|
||||||
|
which is a textual line-oriented format commonly used for exchanging tabular data.
|
||||||
|
.
|
||||||
|
@cassava@'s API includes support for
|
||||||
|
.
|
||||||
|
- Index-based record-conversion
|
||||||
|
- Name-based record-conversion
|
||||||
|
- Typeclass directed conversion of fields and records
|
||||||
|
- Built-in field-conversion instances for standard types
|
||||||
|
- Customizable record-conversion instance derivation via GHC generics
|
||||||
|
- Low-level [bytestring](https://hackage.haskell.org/package/bytestring) builders (see "Data.Csv.Builder")
|
||||||
|
- Incremental decoding and encoding API (see "Data.Csv.Incremental")
|
||||||
|
- Streaming API for constant-space decoding (see "Data.Csv.Streaming")
|
||||||
|
.
|
||||||
|
Moreover, this library is designed to be easy to use; for instance, here's a
|
||||||
|
very simple example of encoding CSV data:
|
||||||
|
.
|
||||||
|
>>> Data.Csv.encode [("John",27),("Jane",28)]
|
||||||
|
"John,27\r\nJane,28\r\n"
|
||||||
|
.
|
||||||
|
Please refer to the documentation in "Data.Csv" and the included [README](#readme) for more usage examples.
|
||||||
|
|
||||||
|
}
|
||||||
|
Homepage: https://github.com/hvr/cassava
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Bug-reports: https://github.com/hvr/cassava/issues
|
||||||
|
Copyright: (c) 2012 Johan Tibell
|
||||||
|
(c) 2012 Bryan O'Sullivan
|
||||||
|
(c) 2011 MailRank, Inc.
|
||||||
|
Author: Johan Tibell
|
||||||
|
Maintainer: hvr@gnu.org
|
||||||
|
Category: Text, Web, CSV
|
||||||
|
Build-type: Simple
|
||||||
|
Extra-source-files: examples/*.hs,
|
||||||
|
CHANGES.md,
|
||||||
|
README.md
|
||||||
|
Tested-with: GHC==8.10.1, GHC==8.8.3, 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
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/hvr/cassava.git
|
||||||
|
|
||||||
|
flag bytestring--LT-0_10_4
|
||||||
|
description: [bytestring](https://hackage.haskell.org/haskell/package/bytestring) < 0.10.4
|
||||||
|
|
||||||
|
Library
|
||||||
|
default-language: Haskell2010
|
||||||
|
other-extensions:
|
||||||
|
BangPatterns
|
||||||
|
CPP
|
||||||
|
DataKinds
|
||||||
|
DefaultSignatures
|
||||||
|
DeriveFunctor
|
||||||
|
FlexibleContexts
|
||||||
|
FlexibleInstances
|
||||||
|
KindSignatures
|
||||||
|
MultiParamTypeClasses
|
||||||
|
OverloadedStrings
|
||||||
|
PolyKinds
|
||||||
|
Rank2Types
|
||||||
|
ScopedTypeVariables
|
||||||
|
TypeOperators
|
||||||
|
UndecidableInstances
|
||||||
|
|
||||||
|
if impl(ghc >= 8.0)
|
||||||
|
other-extensions:
|
||||||
|
DataKinds
|
||||||
|
PolyKinds
|
||||||
|
|
||||||
|
hs-source-dirs: src
|
||||||
|
|
||||||
|
Exposed-modules:
|
||||||
|
Data.Csv
|
||||||
|
Data.Csv.Builder
|
||||||
|
Data.Csv.Incremental
|
||||||
|
Data.Csv.Parser
|
||||||
|
Data.Csv.Streaming
|
||||||
|
|
||||||
|
Other-modules:
|
||||||
|
Data.Csv.Conversion
|
||||||
|
Data.Csv.Conversion.Internal
|
||||||
|
Data.Csv.Encoding
|
||||||
|
Data.Csv.Types
|
||||||
|
Data.Csv.Util
|
||||||
|
|
||||||
|
Build-depends:
|
||||||
|
array >= 0.4 && < 0.6,
|
||||||
|
attoparsec >= 0.11.3.0 && < 0.14,
|
||||||
|
base >= 4.5 && < 4.15,
|
||||||
|
bytestring >= 0.9.2 && < 0.11,
|
||||||
|
containers >= 0.4.2 && < 0.7,
|
||||||
|
deepseq >= 1.1 && < 1.5,
|
||||||
|
hashable < 1.4,
|
||||||
|
scientific >= 0.3.4.7 && < 0.4,
|
||||||
|
text < 1.3,
|
||||||
|
transformers >= 0.2 && < 0.6,
|
||||||
|
unordered-containers < 0.3,
|
||||||
|
vector >= 0.8 && < 0.13,
|
||||||
|
Only >= 0.1 && < 0.1.1
|
||||||
|
|
||||||
|
if flag(bytestring--LT-0_10_4)
|
||||||
|
build-depends: bytestring < 0.10.4
|
||||||
|
, bytestring-builder >= 0.10.8 && < 0.11
|
||||||
|
else
|
||||||
|
build-depends: bytestring >= 0.10.4
|
||||||
|
, text-short == 0.1.*
|
||||||
|
|
||||||
|
-- GHC.Generics lived in `ghc-prim` for GHC 7.2 & GHC 7.4 only
|
||||||
|
if impl(ghc < 7.6)
|
||||||
|
build-depends: ghc-prim == 0.2.*
|
||||||
|
|
||||||
|
-- For Numeric.Natural
|
||||||
|
if impl(ghc < 7.10)
|
||||||
|
build-depends: nats >= 1 && < 1.2
|
||||||
|
|
||||||
|
-- https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#Recommendationsforforward-compatibility
|
||||||
|
if impl(ghc >= 8.0)
|
||||||
|
ghc-options: -Wcompat -Wnoncanonical-monad-instances
|
||||||
|
if impl(ghc >= 8.8)
|
||||||
|
ghc-options: -Wno-star-is-type
|
||||||
|
else
|
||||||
|
ghc-options: -Wnoncanonical-monadfail-instances
|
||||||
|
else
|
||||||
|
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
|
||||||
|
build-depends: fail == 4.9.*, semigroups >= 0.18.2 && <0.20
|
||||||
|
|
||||||
|
if impl(ghc >= 8.2)
|
||||||
|
ghc-options: -Wcpp-undef
|
||||||
|
|
||||||
|
ghc-options: -Wall -O2
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Test-suite unit-tests
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
Type: exitcode-stdio-1.0
|
||||||
|
Main-is: UnitTests.hs
|
||||||
|
-- dependencies with version constraints inherited via lib:cassava
|
||||||
|
Build-depends: attoparsec
|
||||||
|
, base
|
||||||
|
, bytestring
|
||||||
|
, cassava
|
||||||
|
, hashable
|
||||||
|
, scientific
|
||||||
|
, text
|
||||||
|
, unordered-containers
|
||||||
|
, vector
|
||||||
|
-- extra dependencies not already used by lib:cassava
|
||||||
|
build-depends: HUnit < 1.7
|
||||||
|
, QuickCheck == 2.13.*
|
||||||
|
, quickcheck-instances >= 0.3.12 && < 0.4
|
||||||
|
, test-framework == 0.8.*
|
||||||
|
, test-framework-hunit == 0.3.*
|
||||||
|
, test-framework-quickcheck2 == 0.3.*
|
||||||
|
|
||||||
|
hs-source-dirs: tests
|
||||||
|
|
||||||
|
-- GHC.Generics lived in `ghc-prim` for GHC 7.2 & GHC 7.4 only
|
||||||
|
if impl(ghc < 7.6)
|
||||||
|
build-depends: ghc-prim == 0.2.*
|
||||||
|
|
||||||
|
-- For Numeric.Natural
|
||||||
|
if impl(ghc < 7.10)
|
||||||
|
build-depends: nats
|
||||||
|
|
||||||
|
-- https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#Recommendationsforforward-compatibility
|
||||||
|
if impl(ghc >= 8.0)
|
||||||
|
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
||||||
|
else
|
||||||
|
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
|
||||||
|
build-depends: fail, semigroups
|
||||||
|
|
||||||
|
if impl(ghc >= 8.2)
|
||||||
|
ghc-options: -Wcpp-undef
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
60
changelog
60
changelog
@ -1,60 +0,0 @@
|
|||||||
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.5.3.0-1
|
|
||||||
- https://hackage.haskell.org/package/cassava-0.5.3.0/changelog
|
|
||||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.5.2.0-8
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.5.2.0-6
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.5.2.0-2
|
|
||||||
- refresh to cabal-rpm-2.0.6
|
|
||||||
|
|
||||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.5.2.0-1
|
|
||||||
- update to 0.5.2.0
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.5.1.0-9
|
|
||||||
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.5.1.0-7
|
|
||||||
- refresh to cabal-rpm-0.13
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.5.1.0-5
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.5.1.0-2
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.5.1.0-1
|
|
||||||
- spec file generated by cabal-rpm-0.11.2
|
|
@ -1,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-2.1.0
|
# generated by cabal-rpm-2.0.6
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name cassava
|
%global pkg_name cassava
|
||||||
@ -7,34 +7,20 @@
|
|||||||
# testsuite missing deps: quickcheck-instances test-framework test-framework-hunit test-framework-quickcheck2
|
# testsuite missing deps: quickcheck-instances test-framework test-framework-hunit test-framework-quickcheck2
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.3.0
|
Version: 0.5.2.0
|
||||||
Release: %autorelease
|
Release: 4%{?dist}
|
||||||
Summary: A CSV parsing and encoding library
|
Summary: A CSV parsing and encoding library
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
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
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-Only-devel
|
|
||||||
BuildRequires: ghc-array-devel
|
|
||||||
BuildRequires: ghc-attoparsec-devel
|
|
||||||
BuildRequires: ghc-base-devel
|
|
||||||
BuildRequires: ghc-bytestring-devel
|
|
||||||
BuildRequires: ghc-containers-devel
|
|
||||||
BuildRequires: ghc-deepseq-devel
|
|
||||||
BuildRequires: ghc-hashable-devel
|
|
||||||
BuildRequires: ghc-scientific-devel
|
|
||||||
BuildRequires: ghc-text-devel
|
|
||||||
BuildRequires: ghc-text-short-devel
|
|
||||||
BuildRequires: ghc-transformers-devel
|
|
||||||
BuildRequires: ghc-unordered-containers-devel
|
|
||||||
BuildRequires: ghc-vector-devel
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
BuildRequires: ghc-Only-prof
|
BuildRequires: ghc-Only-prof
|
||||||
BuildRequires: ghc-array-prof
|
BuildRequires: ghc-array-prof
|
||||||
BuildRequires: ghc-attoparsec-prof
|
BuildRequires: ghc-attoparsec-prof
|
||||||
@ -49,7 +35,6 @@ BuildRequires: ghc-text-short-prof
|
|||||||
BuildRequires: ghc-transformers-prof
|
BuildRequires: ghc-transformers-prof
|
||||||
BuildRequires: ghc-unordered-containers-prof
|
BuildRequires: ghc-unordered-containers-prof
|
||||||
BuildRequires: ghc-vector-prof
|
BuildRequires: ghc-vector-prof
|
||||||
%endif
|
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -89,7 +74,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Haskell %{pkg_name} library documentation
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: ghc-filesystem
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package provides the Haskell %{pkg_name} library documentation.
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
@ -110,6 +94,8 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
chmod a-x CHANGES.md README.md
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
cabal-tweak-drop-dep bytestring-builder
|
cabal-tweak-drop-dep bytestring-builder
|
||||||
|
|
||||||
@ -148,4 +134,44 @@ cabal-tweak-drop-dep bytestring-builder
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.5.2.0-2
|
||||||
|
- refresh to cabal-rpm-2.0.6
|
||||||
|
|
||||||
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.5.2.0-1
|
||||||
|
- update to 0.5.2.0
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.5.1.0-9
|
||||||
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.5.1.0-7
|
||||||
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.5.1.0-5
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.5.1.0-2
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.5.1.0-1
|
||||||
|
- spec file generated by cabal-rpm-0.11.2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (cassava-0.5.3.0.tar.gz) = 6afae52a2facc013d746a83afa975a2493174e2c5bda0c0ad8cab76c13c46dd86e8d3142e0676c881a35c3c8bf5618a5c1e4b70c3ab153443b949cb84b70bcb4
|
SHA512 (cassava-0.5.2.0.tar.gz) = f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383
|
||||||
|
Loading…
Reference in New Issue
Block a user