update to 0.2.7

This commit is contained in:
Jens Petersen 2022-06-07 10:50:22 +08:00
parent d74b80f1a2
commit 445395b365
4 changed files with 12 additions and 91 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/bytestring-trie-0.2.4.tar.gz /bytestring-trie-0.2.4.tar.gz
/bytestring-trie-0.2.4.1.tar.gz /bytestring-trie-0.2.4.1.tar.gz
/bytestring-trie-0.2.5.0.tar.gz /bytestring-trie-0.2.5.0.tar.gz
/bytestring-trie-0.2.7.tar.gz

View File

@ -1,82 +0,0 @@
------------------------------------------------------------
-- wren gayle romano <wren@cpan.org> ~ 2019.02.25
------------------------------------------------------------
-- By and large Cabal >=1.2 is fine; but
-- * >=1.6 gives tested-with: and source-repository:
-- * >=1.8 allows executables to build-depends: on the library
-- * >=1.9.2 allows Test-Suite
Cabal-Version: >= 1.9.2
Build-Type: Simple
Name: bytestring-trie
Version: 0.2.5.0
x-revision: 2
Stability: provisional
Homepage: http://wrengr.org
Author: wren gayle romano
Maintainer: wren@cpan.org
Copyright: Copyright (c) 2008--2019 wren gayle romano
License: BSD3
License-File: LICENSE
Category: Data, Data Structures
Synopsis: An efficient finite map from (byte)strings to values.
Description: An efficient finite map from (byte)strings to values.
.
The implementation is based on big-endian patricia
trees, like "Data.IntMap". We first trie on the
elements of "Data.ByteString" and then trie on the
big-endian bit representation of those elements.
Patricia trees have efficient algorithms for union
and other merging operations, but they're also quick
for lookups and insertions.
.
If you are only interested in being able to associate
strings to values, then you may prefer the @hashmap@
package which is faster for those only needing a
map-like structure. This package is intended for
those who need the extra capabilities that a trie-like
structure can offer (e.g., structure sharing to
reduce memory costs for highly redundant keys,
taking the submap of all keys with a given prefix,
contextual mapping, extracting the minimum and
maximum keys, etc.)
Extra-source-files:
AUTHORS, CHANGELOG, README.md
-- Cf., <https://travis-ci.org/wrengr/bytestring-lexing>
Tested-With:
GHC ==7.4.1, GHC ==7.4.2,
GHC ==7.6.1, GHC ==7.6.2, GHC ==7.6.3,
GHC ==7.8.1, GHC ==7.8.2, GHC ==7.8.3, GHC ==7.8.4,
GHC ==7.10.1, GHC ==7.10.2, GHC ==7.10.3,
GHC ==8.0.1, GHC ==8.0.2,
GHC ==8.2.1, GHC ==8.2.2,
GHC ==8.4.1, GHC ==8.4.2, GHC ==8.4.3,
GHC ==8.6.1, GHC ==8.6.2
Source-Repository head
Type: git
Location: https://github.com/wrengr/bytestring-trie.git
------------------------------------------------------------
Library
Hs-Source-Dirs: src
Exposed-Modules: Data.Trie
, Data.Trie.Internal
, Data.Trie.Convenience
Other-Modules: Data.Trie.BitTwiddle
, Data.Trie.ByteStringInternal
, Data.Trie.Errors
-- The lower bounds are more restrictive than necessary.
-- But then, we don't maintain any CI tests for older
-- versions, so these are the lowest bounds we've verified.
Build-Depends: base >= 4.5 && < 4.16
, bytestring >= 0.9.2 && < 0.11
, binary >= 0.5.1 && < 0.8.8
------------------------------------------------------------
------------------------------------------------------- fin.

View File

@ -1,28 +1,29 @@
# generated by cabal-rpm-2.0.9 # generated by cabal-rpm-2.0.12
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name bytestring-trie %global pkg_name bytestring-trie
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
# testsuite missing deps: tasty-smallcheck
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.2.5.0 Version: 0.2.7
Release: 10%{?dist} Release: 1%{?dist}
Summary: An efficient finite map from (byte)strings to values Summary: An efficient finite map from bytestrings to values
License: BSD 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: dos2unix
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-binary-prof BuildRequires: ghc-binary-prof
BuildRequires: ghc-bytestring-prof BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-deepseq-prof
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -82,9 +83,7 @@ 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}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup # End cabal-rpm setup
cabal-tweak-dep-ver binary '< 0.8.8' '< 0.9'
%build %build
@ -121,6 +120,9 @@ cabal-tweak-dep-ver binary '< 0.8.8' '< 0.9'
%changelog %changelog
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.2.7-1
- https://hackage.haskell.org/package/bytestring-trie-0.2.7/changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5.0-10 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (bytestring-trie-0.2.5.0.tar.gz) = 78ba04a281fe56fa68d161afa733d9d8567efd9c965757ee26a61d79456b6e5163c79e5f5d370b1a536c1a28339ee984b14f96df235fda016e1284fe14fc7976 SHA512 (bytestring-trie-0.2.7.tar.gz) = f00946ab53b5606df4c227a5a46133249555f7c051303391f6e92e518ddb58ee36cbafc91e514f0a39d06ed326adb17cfdc27989e56ce285bf85176de315e113