forked from pool/ghc-streaming-commons
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
9a1b4299c3 | ||
|
c55b0f691d |
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 19 12:26:36 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update streaming-commons to version 0.2.3.0.
|
||||
## 0.2.3.0
|
||||
|
||||
* Allow Unix sockets on Windows (https://github.com/fpco/streaming-commons/pull/80)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 11 17:49:06 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-streaming-commons
|
||||
#
|
||||
# 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
|
||||
@ -20,13 +20,12 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.2.6
|
||||
Version: 0.2.3.0
|
||||
Release: 0
|
||||
Summary: Common lower-level functions needed by various streaming data libraries
|
||||
License: MIT
|
||||
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/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-array-prof
|
||||
@ -98,7 +97,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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0180958a882eb0f6262b812fe886c2b1b8285474b5b958f814ae4f05409fbf79
|
||||
size 37959
|
3
streaming-commons-0.2.3.0.tar.gz
Normal file
3
streaming-commons-0.2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26384af91f5ab9470b0bbdd0ce2172db43fc79730b7c5a3405d89c3663eb1e57
|
||||
size 37874
|
@ -1,155 +0,0 @@
|
||||
name: streaming-commons
|
||||
version: 0.2.2.6
|
||||
x-revision: 1
|
||||
synopsis: Common lower-level functions needed by various streaming data libraries
|
||||
description: Provides low-dependency functionality commonly needed by various streaming data libraries, such as conduit and pipes.
|
||||
homepage: https://github.com/fpco/streaming-commons
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman, Emanuel Borsboom
|
||||
maintainer: michael@snoyman.com
|
||||
-- copyright:
|
||||
category: Data
|
||||
build-type: Simple
|
||||
cabal-version: >=1.10
|
||||
extra-source-files:
|
||||
test/filesystem/*.txt
|
||||
test/filesystem/bin/*.txt
|
||||
include/*.h
|
||||
cbits/*.c
|
||||
test/LICENSE.gz
|
||||
ChangeLog.md
|
||||
README.md
|
||||
|
||||
flag use-bytestring-builder
|
||||
description: Use bytestring-builder package
|
||||
default: False
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
exposed-modules: Data.Streaming.ByteString.Builder
|
||||
Data.Streaming.ByteString.Builder.Buffer
|
||||
Data.Streaming.FileRead
|
||||
Data.Streaming.Filesystem
|
||||
Data.Streaming.Network
|
||||
Data.Streaming.Network.Internal
|
||||
Data.Streaming.Process
|
||||
Data.Streaming.Process.Internal
|
||||
Data.Streaming.Text
|
||||
Data.Streaming.Zlib
|
||||
Data.Streaming.Zlib.Lowlevel
|
||||
|
||||
build-depends: base >= 4.12 && < 5
|
||||
, array
|
||||
, async
|
||||
, bytestring
|
||||
, directory
|
||||
, network >= 2.4.0.0
|
||||
, random
|
||||
, process
|
||||
, stm
|
||||
, text >= 1.2 && < 1.3 || >= 2.0 && < 2.2
|
||||
, transformers
|
||||
, zlib
|
||||
|
||||
c-sources: cbits/zlib-helper.c
|
||||
cbits/text-helper.c
|
||||
include-dirs: include
|
||||
|
||||
if os(windows)
|
||||
build-depends: Win32
|
||||
, filepath
|
||||
cpp-options: -DWINDOWS
|
||||
other-modules: System.Win32File
|
||||
else
|
||||
build-depends: unix
|
||||
|
||||
if flag(use-bytestring-builder)
|
||||
build-depends: bytestring < 0.10.2.0
|
||||
, bytestring-builder
|
||||
else
|
||||
build-depends: bytestring >= 0.10.2.0
|
||||
|
||||
test-suite test
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test
|
||||
main-is: Spec.hs
|
||||
type: exitcode-stdio-1.0
|
||||
ghc-options: -Wall -threaded
|
||||
other-modules: Data.Streaming.ByteString.BuilderSpec
|
||||
Data.Streaming.FileReadSpec
|
||||
Data.Streaming.FilesystemSpec
|
||||
Data.Streaming.NetworkSpec
|
||||
Data.Streaming.ProcessSpec
|
||||
Data.Streaming.TextSpec
|
||||
Data.Streaming.ZlibSpec
|
||||
build-depends: base
|
||||
, streaming-commons
|
||||
, hspec >= 1.8
|
||||
|
||||
, QuickCheck
|
||||
, array
|
||||
, async
|
||||
, bytestring
|
||||
, deepseq
|
||||
, network >= 2.4.0.0
|
||||
, text
|
||||
, zlib
|
||||
build-tool-depends:
|
||||
hspec-discover:hspec-discover
|
||||
|
||||
if flag(use-bytestring-builder)
|
||||
build-depends: bytestring < 0.10.2.0
|
||||
, bytestring-builder
|
||||
else
|
||||
build-depends: bytestring >= 0.10.2.0
|
||||
|
||||
if os(windows)
|
||||
cpp-options: -DWINDOWS
|
||||
else
|
||||
build-depends: unix
|
||||
|
||||
benchmark count-chars
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: bench
|
||||
build-depends: base
|
||||
, gauge
|
||||
, bytestring
|
||||
, text
|
||||
, streaming-commons
|
||||
main-is: count-chars.hs
|
||||
ghc-options: -Wall -O2
|
||||
|
||||
benchmark decode-memory-usage
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: bench
|
||||
build-depends: base
|
||||
, bytestring
|
||||
, text
|
||||
, streaming-commons
|
||||
main-is: decode-memory-usage.hs
|
||||
ghc-options: -Wall -O2 -with-rtsopts=-s
|
||||
|
||||
benchmark builder-to-bytestring-io
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: bench
|
||||
main-is: builder-to-bytestring-io.hs
|
||||
ghc-options: -Wall -O2
|
||||
build-depends: base
|
||||
, bytestring >= 0.10.2
|
||||
, gauge
|
||||
, deepseq
|
||||
, streaming-commons
|
||||
|
||||
if flag(use-bytestring-builder)
|
||||
build-depends: bytestring < 0.10.2.0
|
||||
, bytestring-builder
|
||||
else
|
||||
build-depends: bytestring >= 0.10.2.0
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/fpco/streaming-commons.git
|
Loading…
Reference in New Issue
Block a user