diff --git a/.gitignore b/.gitignore index 2852c77..44ee044 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /unordered-containers-0.2.7.2.tar.gz /unordered-containers-0.2.8.0.tar.gz /unordered-containers-0.2.9.0.tar.gz +/unordered-containers-0.2.10.0.tar.gz diff --git a/ghc-unordered-containers.spec b/ghc-unordered-containers.spec index eb36b74..46676c9 100644 --- a/ghc-unordered-containers.spec +++ b/ghc-unordered-containers.spec @@ -7,14 +7,15 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.9.0 -Release: 4%{?dist} +Version: 0.2.10.0 +Release: 1%{?dist} Summary: Efficient hashing-based container types License: BSD 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: @@ -84,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -124,6 +126,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 0.2.10.0-1 +- update to 0.2.10.0 + * Thu Jul 25 2019 Fedora Release Engineering - 0.2.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 80a6e0a..7a80eca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unordered-containers-0.2.9.0.tar.gz) = d9fb6d173f7d07494cffeffa74d3827e4011957be7f309e9f9c16d484b46d04824a21269185d340b09d65d386d19fd5f6b78a51036a5292e5d33e29819fd225a +SHA512 (unordered-containers-0.2.10.0.tar.gz) = 450e5e839e0092b2476a0abfc3eb2f45fba634a9e782cddf25b3db3730d16dd2e65673f46678ab4ad23be71525ae5f72888b89b03402cb70e20fc33feb765766 diff --git a/unordered-containers-0.2.10.0.cabal b/unordered-containers-0.2.10.0.cabal new file mode 100644 index 0000000..256ed73 --- /dev/null +++ b/unordered-containers-0.2.10.0.cabal @@ -0,0 +1,219 @@ +name: unordered-containers +version: 0.2.10.0 +x-revision: 1 +synopsis: Efficient hashing-based container types +description: + Efficient hashing-based container types. The containers have been + optimized for performance critical use, both in terms of large data + quantities and high speed. + . + The declared cost of each operation is either worst-case or + amortized, but remains valid even if structures are shared. +license: BSD3 +license-file: LICENSE +author: Johan Tibell +maintainer: johan.tibell@gmail.com +Homepage: https://github.com/tibbe/unordered-containers +bug-reports: https://github.com/tibbe/unordered-containers/issues +copyright: 2010-2014 Johan Tibell + 2010 Edward Z. Yang +category: Data +build-type: Simple +cabal-version: >=1.10 +extra-source-files: CHANGES.md +tested-with: GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4 + +flag debug + description: Enable debug support + default: False + +library + exposed-modules: + Data.HashMap.Lazy + Data.HashMap.Strict + Data.HashSet + other-modules: + Data.HashMap.Array + Data.HashMap.Base + Data.HashMap.Strict.Base + Data.HashMap.List + Data.HashMap.Unsafe + Data.HashMap.UnsafeShift + Data.HashSet.Base + + build-depends: + base >= 4.7 && < 5, + deepseq >= 1.1, + hashable >= 1.0.1.1 && < 1.4 + + default-language: Haskell2010 + + other-extensions: + RoleAnnotations, + UnboxedTuples, + ScopedTypeVariables, + MagicHash, + BangPatterns + + ghc-options: -Wall -O2 -fwarn-tabs -ferror-spans + + if impl (ghc < 8.2) + -- This is absolutely necessary (but not sufficient) for correctness due to + -- the referential-transparency-breaking mutability in unsafeInsertWith. See + -- #147 and GHC #13615 for details. The bug was fixed in GHC 8.2. + ghc-options: -feager-blackholing + if flag(debug) + cpp-options: -DASSERTS + +test-suite hashmap-lazy-properties + hs-source-dirs: tests + main-is: HashMapProperties.hs + type: exitcode-stdio-1.0 + + build-depends: + base, + containers >= 0.5.8, + hashable >= 1.0.1.1, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-quickcheck2 >= 0.2.9, + unordered-containers + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS + +test-suite hashmap-strict-properties + hs-source-dirs: tests + main-is: HashMapProperties.hs + type: exitcode-stdio-1.0 + + build-depends: + base, + containers >= 0.5.8, + hashable >= 1.0.1.1, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-quickcheck2 >= 0.2.9, + unordered-containers + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS -DSTRICT + +test-suite hashset-properties + hs-source-dirs: tests + main-is: HashSetProperties.hs + type: exitcode-stdio-1.0 + + build-depends: + base, + containers >= 0.4, + hashable >= 1.0.1.1, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-quickcheck2 >= 0.2.9, + unordered-containers + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS + +test-suite list-tests + hs-source-dirs: tests . + main-is: List.hs + other-modules: + Data.HashMap.List + type: exitcode-stdio-1.0 + + build-depends: + base, + containers >= 0.4, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-quickcheck2 >= 0.2.9 + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS + +test-suite regressions + hs-source-dirs: tests + main-is: Regressions.hs + type: exitcode-stdio-1.0 + + build-depends: + base, + hashable >= 1.0.1.1, + HUnit, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-hunit, + test-framework-quickcheck2, + unordered-containers + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS + +test-suite strictness-properties + hs-source-dirs: tests + main-is: Strictness.hs + type: exitcode-stdio-1.0 + + build-depends: + base, + ChasingBottoms, + containers >= 0.4.2, + hashable >= 1.0.1.1, + QuickCheck >= 2.4.0.1, + test-framework >= 0.3.3, + test-framework-quickcheck2 >= 0.2.9, + unordered-containers + + default-language: Haskell2010 + ghc-options: -Wall + cpp-options: -DASSERTS + +benchmark benchmarks + -- We cannot depend on the unordered-containers library directly as + -- that creates a dependency cycle. + hs-source-dirs: . benchmarks + + main-is: Benchmarks.hs + type: exitcode-stdio-1.0 + + other-modules: + Data.HashMap.Array + Data.HashMap.Base + Data.HashMap.Lazy + Data.HashMap.Strict + Data.HashMap.Strict.Base + Data.HashMap.Unsafe + Data.HashMap.UnsafeShift + Data.HashSet + Data.HashSet.Base + Util.ByteString + Util.Int + Util.String + + build-depends: + base >= 4.8.0, + bytestring, + containers, + criterion >= 1.0 && < 1.3, + deepseq >= 1.1, + deepseq-generics, + hashable >= 1.0.1.1, + hashmap, + mtl, + random + + default-language: Haskell2010 + ghc-options: -Wall -O2 -rtsopts -fwarn-tabs -ferror-spans + if flag(debug) + cpp-options: -DASSERTS + +source-repository head + type: git + location: https://github.com/tibbe/unordered-containers.git