From e1ec59be951a1b5ac7012be5425e184cc5022544 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jan 2023 22:26:36 +0800 Subject: [PATCH] update to 1.3.4.3 --- .gitignore | 1 + conduit-1.3.4.3.cabal | 153 ++++++++++++++++++++++++++++++++++++++++++ ghc-conduit.spec | 29 +++++++- sources | 2 +- 4 files changed, 181 insertions(+), 4 deletions(-) create mode 100644 conduit-1.3.4.3.cabal diff --git a/.gitignore b/.gitignore index 4c8991a..e1c7677 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /conduit-1.3.4.tar.gz /conduit-1.3.4.1.tar.gz /conduit-1.3.4.2.tar.gz +/conduit-1.3.4.3.tar.gz diff --git a/conduit-1.3.4.3.cabal b/conduit-1.3.4.3.cabal new file mode 100644 index 0000000..d06a39c --- /dev/null +++ b/conduit-1.3.4.3.cabal @@ -0,0 +1,153 @@ +Name: conduit +Version: 1.3.4.3 +x-revision: 1 +Synopsis: Streaming data processing library. +description: + `conduit` is a solution to the streaming data problem, allowing for production, + transformation, and consumption of streams of data in constant memory. It is an + alternative to lazy I\/O which guarantees deterministic resource handling. + . + For more information about conduit in general, and how this package in + particular fits into the ecosystem, see [the conduit + homepage](https://github.com/snoyberg/conduit#readme). + . + Hackage documentation generation is not reliable. For up to date documentation, please see: . +License: MIT +License-file: LICENSE +Author: Michael Snoyman +Maintainer: michael@snoyman.com +Category: Data, Conduit +Build-type: Simple +Cabal-version: >=1.10 +Homepage: http://github.com/snoyberg/conduit +extra-source-files: test/main.hs + , test/doctests.hs + , test/subdir/dummyfile.txt + , README.md + , ChangeLog.md + , fusion-macros.h + +Library + default-language: Haskell2010 + hs-source-dirs: src + Exposed-modules: Data.Conduit + Data.Conduit.Combinators + Data.Conduit.List + Data.Conduit.Internal + Data.Conduit.Lift + Data.Conduit.Internal.Fusion + Data.Conduit.Internal.List.Stream + Data.Conduit.Combinators.Stream + Conduit + other-modules: Data.Conduit.Internal.Pipe + Data.Conduit.Internal.Conduit + Data.Conduit.Combinators.Unqualified + Data.Streaming.FileRead + Data.Streaming.Filesystem + Build-depends: base >= 4.12 && < 5 + , resourcet >= 1.2 && < 1.4 + , transformers >= 0.4 + , mtl + , primitive + , unliftio-core + , exceptions + , mono-traversable >= 1.0.7 + , vector + , bytestring + , text + , filepath + , directory + + if os(windows) + build-depends: Win32 + other-modules: System.Win32File + cpp-options: -DWINDOWS + else + build-depends: unix + + ghc-options: -Wall + include-dirs: . + +test-suite conduit-test + default-language: Haskell2010 + hs-source-dirs: test + main-is: main.hs + other-modules: Data.Conduit.Extra.ZipConduitSpec + , Data.Conduit.StreamSpec + , Spec + , StreamSpec + type: exitcode-stdio-1.0 + cpp-options: -DTEST + build-depends: conduit + , base + , hspec >= 1.3 + , QuickCheck >= 2.7 + , transformers + , mtl + , resourcet + , containers + , exceptions >= 0.6 + , safe + , split >= 0.2.0.0 + , mono-traversable + , text + , vector + , directory + , bytestring + , silently + , filepath + , unliftio >= 0.2.4.0 + ghc-options: -Wall + + if os(windows) + cpp-options: -DWINDOWS + +--test-suite doctests +-- hs-source-dirs: test +-- main-is: doctests.hs +-- type: exitcode-stdio-1.0 +-- ghc-options: -threaded +-- build-depends: base, directory, doctest >= 0.8 + +-- benchmark utf8-memory-usage +-- type: exitcode-stdio-1.0 +-- hs-source-dirs: benchmarks +-- build-depends: base +-- , text-stream-decode +-- , bytestring +-- , text +-- , conduit +-- main-is: utf8-memory-usage.hs +-- ghc-options: -Wall -O2 -with-rtsopts=-s + +benchmark optimize-201408 + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: benchmarks + build-depends: base + , conduit + , vector + , deepseq + , containers + , transformers + , hspec + , mwc-random + , gauge + , kan-extensions + main-is: optimize-201408.hs + ghc-options: -Wall -O2 -rtsopts + +benchmark unfused + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: benchmarks + build-depends: base + , conduit + , gauge + , transformers + main-is: unfused.hs + ghc-options: -Wall -O2 -rtsopts + +source-repository head + type: git + location: git://github.com/snoyberg/conduit.git diff --git a/ghc-conduit.spec b/ghc-conduit.spec index fc92367..5428976 100644 --- a/ghc-conduit.spec +++ b/ghc-conduit.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name conduit @@ -7,19 +7,36 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.3.4.2 -Release: 2%{?dist} +Version: 1.3.4.3 +Release: 1%{?dist} Summary: Streaming data processing library License: MIT 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: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-mono-traversable-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-primitive-devel +BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unix-devel +BuildRequires: ghc-unliftio-core-devel +BuildRequires: ghc-vector-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-directory-prof @@ -34,6 +51,7 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-unix-prof BuildRequires: ghc-unliftio-core-prof BuildRequires: ghc-vector-prof +%endif %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel @@ -94,6 +112,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -137,6 +156,10 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Jan 22 2023 Jens Petersen - 1.3.4.3-1 +- https://hackage.haskell.org/package/conduit-1.3.4.3/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 1.3.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 08992ac..f9c545c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (conduit-1.3.4.2.tar.gz) = 8caf67020e33ddaadc5f05ad3f1aa38d436388f0cb3dac66cb9a645c1693bcd134f1cb8d311eca7b64f9c5ace9ca97681511e5dc28bb70b7b52c43c62d5f3e03 +SHA512 (conduit-1.3.4.3.tar.gz) = 14d4557c1018514da4ae7ae41ec8a381ae57aabd86d84e2c961dce0b784ca4fb8aec5a2757c6fe6d815ce552f25bcc462c208226ca33094e0210b06651846e59