forked from pool/ghc-hashable
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hashable revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hashable?expand=0&rev=65
This commit is contained in:
parent
c55e617bb1
commit
7ab770f687
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 31 09:34:36 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update hashable to version 1.3.0.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 10:44:58 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Replace %setup -q with the more modern %autosetup macro.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 11:14:09 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Re-generate file with latest version of spec-cleaner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 7 08:08:20 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update Cabal file to get more accurate dependency information.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 29 10:27:18 UTC 2019 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update hashable to version 1.3.0.0.
|
||||||
|
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/hashable-1.3.0.0/src/CHANGES.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 8 16:13:49 UTC 2019 - Peter Simons <psimons@suse.com>
|
Fri Nov 8 16:13:49 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-hashable
|
# spec file for package ghc-hashable
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%global pkg_name hashable
|
%global pkg_name hashable
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.2.7.0
|
Version: 1.3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A class for types that can be converted to a hash value
|
Summary: A class for types that can be converted to a hash value
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -58,7 +58,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
This package provides the Haskell %{pkg_name} library development files.
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ecb5efc0586023f5a0dc861100621c1dbb4cbb2f0516829a16ebac39f0432abf
|
|
||||||
size 30182
|
|
3
hashable-1.3.0.0.tar.gz
Normal file
3
hashable-1.3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:822e5413fbccca6ae884d3aba4066422c8b5d58d23d18b9ecb5c03273bb19ab4
|
||||||
|
size 29835
|
@ -1,6 +1,6 @@
|
|||||||
Cabal-version: 1.12
|
Cabal-version: 1.12
|
||||||
Name: hashable
|
Name: hashable
|
||||||
Version: 1.2.7.0
|
Version: 1.3.0.0
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
Synopsis: A class for types that can be converted to a hash value
|
Synopsis: A class for types that can be converted to a hash value
|
||||||
Description: This package defines a class, 'Hashable', for types that
|
Description: This package defines a class, 'Hashable', for types that
|
||||||
@ -9,6 +9,7 @@ Description: This package defines a class, 'Hashable', for types that
|
|||||||
structures. The package provides instances for
|
structures. The package provides instances for
|
||||||
basic types and a way to combine hash values.
|
basic types and a way to combine hash values.
|
||||||
Homepage: http://github.com/tibbe/hashable
|
Homepage: http://github.com/tibbe/hashable
|
||||||
|
-- SPDX-License-Identifier : BSD-3-Clause
|
||||||
License: BSD3
|
License: BSD3
|
||||||
License-file: LICENSE
|
License-file: LICENSE
|
||||||
Author: Milan Straka <fox@ucw.cz>
|
Author: Milan Straka <fox@ucw.cz>
|
||||||
@ -18,16 +19,13 @@ bug-reports: https://github.com/tibbe/hashable/issues
|
|||||||
Stability: Provisional
|
Stability: Provisional
|
||||||
Category: Data
|
Category: Data
|
||||||
Build-type: Simple
|
Build-type: Simple
|
||||||
-- tests/Properties.hs shouldn't have to go here, but the source files
|
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
|
||||||
-- for the test-suite stanzas don't get picked up by `cabal sdist`.
|
|
||||||
tested-with: GHC==8.4.1, 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
|
|
||||||
|
|
||||||
Extra-source-files:
|
Extra-source-files:
|
||||||
CHANGES.md, README.md, tests/Properties.hs,
|
CHANGES.md, README.md
|
||||||
benchmarks/Benchmarks.hs, benchmarks/cbits/*.c, benchmarks/cbits/*.h
|
|
||||||
|
|
||||||
Flag integer-gmp
|
Flag integer-gmp
|
||||||
Description: Are we using integer-gmp to provide fast Integer instances?
|
Description: Are we using @integer-gmp@ to provide fast Integer instances?
|
||||||
Default: True
|
Default: True
|
||||||
|
|
||||||
Flag sse2
|
Flag sse2
|
||||||
@ -48,40 +46,47 @@ Flag examples
|
|||||||
Library
|
Library
|
||||||
Exposed-modules: Data.Hashable
|
Exposed-modules: Data.Hashable
|
||||||
Data.Hashable.Lifted
|
Data.Hashable.Lifted
|
||||||
|
Data.Hashable.Generic
|
||||||
Other-modules: Data.Hashable.Class
|
Other-modules: Data.Hashable.Class
|
||||||
Build-depends: base >= 4.4 && < 4.13,
|
Data.Hashable.Generic.Instances
|
||||||
bytestring >= 0.9 && < 0.11,
|
|
||||||
deepseq >= 1.3 && < 1.5
|
|
||||||
if impl(ghc)
|
|
||||||
Build-depends: ghc-prim,
|
|
||||||
text >= 0.11.0.5
|
|
||||||
if impl(ghc) && flag(integer-gmp)
|
|
||||||
Build-depends: integer-gmp >= 0.2
|
|
||||||
|
|
||||||
if impl(ghc >= 7.2.1)
|
C-sources: cbits/fnv.c
|
||||||
CPP-Options: -DGENERICS
|
|
||||||
Other-modules: Data.Hashable.Generic
|
|
||||||
|
|
||||||
C-sources:
|
Build-depends: base >= 4.5 && < 4.15
|
||||||
cbits/fnv.c
|
, bytestring >= 0.9 && < 0.11
|
||||||
|
, deepseq >= 1.3 && < 1.5
|
||||||
|
, text >= 0.12 && < 1.3
|
||||||
|
, ghc-prim
|
||||||
|
|
||||||
Ghc-options: -Wall
|
if flag(integer-gmp)
|
||||||
if impl(ghc >= 6.8)
|
Build-depends: integer-gmp >= 0.4 && < 1.1
|
||||||
Ghc-options: -fwarn-tabs
|
|
||||||
else
|
else
|
||||||
c-sources: cbits/getRandomBytes.c
|
-- this is needed for the automatic flag to be well-balanced
|
||||||
other-modules: Data.Hashable.RandomSource
|
Build-depends: integer-simple
|
||||||
if os(windows)
|
|
||||||
extra-libraries: advapi32
|
|
||||||
|
|
||||||
Default-Language: Haskell2010
|
Default-Language: Haskell2010
|
||||||
|
Other-Extensions: BangPatterns
|
||||||
|
CPP
|
||||||
|
DeriveDataTypeable
|
||||||
|
FlexibleContexts
|
||||||
|
FlexibleInstances
|
||||||
|
GADTs
|
||||||
|
KindSignatures
|
||||||
|
MagicHash
|
||||||
|
MultiParamTypeClasses
|
||||||
|
ScopedTypeVariables
|
||||||
|
Trustworthy
|
||||||
|
TypeOperators
|
||||||
|
UnliftedFFITypes
|
||||||
|
|
||||||
|
Ghc-options: -Wall -fwarn-tabs
|
||||||
|
|
||||||
Test-suite tests
|
Test-suite tests
|
||||||
Type: exitcode-stdio-1.0
|
Type: exitcode-stdio-1.0
|
||||||
Hs-source-dirs: tests
|
Hs-source-dirs: tests
|
||||||
Main-is: Main.hs
|
Main-is: Main.hs
|
||||||
Other-modules: Properties Regress
|
Other-modules: Properties Regress
|
||||||
Build-depends: base >= 4.0 && < 5.0,
|
Build-depends: base,
|
||||||
bytestring,
|
bytestring,
|
||||||
ghc-prim,
|
ghc-prim,
|
||||||
hashable,
|
hashable,
|
||||||
@ -96,11 +101,9 @@ Test-suite tests
|
|||||||
Build-depends: unix
|
Build-depends: unix
|
||||||
CPP-options: -DHAVE_MMAP
|
CPP-options: -DHAVE_MMAP
|
||||||
Other-modules: Regress.Mmap
|
Other-modules: Regress.Mmap
|
||||||
|
Other-Extensions: CApiFFI
|
||||||
|
|
||||||
Ghc-options: -Wall -fno-warn-orphans
|
Ghc-options: -Wall -fno-warn-orphans
|
||||||
if impl(ghc >= 7.2.1)
|
|
||||||
CPP-Options: -DGENERICS
|
|
||||||
|
|
||||||
Default-Language: Haskell2010
|
Default-Language: Haskell2010
|
||||||
|
|
||||||
benchmark benchmarks
|
benchmark benchmarks
|
||||||
|
Loading…
Reference in New Issue
Block a user