update to 0.3.8.4

This commit is contained in:
Jens Petersen 2023-01-23 01:51:16 +08:00
parent 55f1275d3f
commit b456d5a7e5
4 changed files with 13 additions and 112 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/vector-builder-0.3.8.1.tar.gz
/vector-builder-0.3.8.2.tar.gz
/vector-builder-0.3.8.3.tar.gz
/vector-builder-0.3.8.4.tar.gz

View File

@ -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 vector-builder
@ -7,22 +7,25 @@
# testsuite missing deps: quickcheck-instances rerebase
Name: ghc-%{pkg_name}
Version: 0.3.8.3
Release: 2%{?dist}
Version: 0.3.8.4
Release: 1%{?dist}
Summary: Vector builder
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: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-vector-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-vector-prof
%endif
# End cabal-rpm deps
%description
@ -69,7 +72,6 @@ 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
@ -106,6 +108,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.3.8.4-1
- https://hackage.haskell.org/package/vector-builder-0.3.8.4/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (vector-builder-0.3.8.3.tar.gz) = 04ec9ce93275bf4554d97e18bd5f22245f4e05bb4aac998234eef4ae2f2ae1ef0479b34a38c75c33bd928187c397d7bd559d390fa12859994e9ecd1b9ba7f9e2
SHA512 (vector-builder-0.3.8.4.tar.gz) = b74a6b132b91fce38b69ba61223e5eaaca6350c1e9b08127c024daa9f7232663e1ad6382b6b30eac594fdea91085ed25b0c9fc3baac01592a6ad3fe71ae22ee2

View File

@ -1,106 +0,0 @@
name:
vector-builder
version:
0.3.8.3
x-revision: 1
synopsis:
Vector builder
description:
An API for efficient and convenient construction of vectors.
It provides the composable `Builder` abstraction, which has instances of the `Monoid` and `Semigroup` classes.
.
[Usage]
.
First you use the `Builder` abstraction to specify the structure of the vector.
Then you execute the builder to actually produce the vector.
.
[Example]
.
The following code shows how you can efficiently concatenate different datastructures into a single immutable vector:
.
>
>import qualified Data.Vector as A
>import qualified VectorBuilder.Builder as B
>import qualified VectorBuilder.Vector as C
>
>
>myVector :: A.Vector a -> [a] -> a -> A.Vector a
>myVector vector list element =
> C.build builder
> where
> builder =
> B.vector vector <>
> B.foldable list <>
> B.singleton element
category:
Vector
homepage:
https://github.com/nikita-volkov/vector-builder
bug-reports:
https://github.com/nikita-volkov/vector-builder/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
(c) 2016, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
Simple
cabal-version:
>=1.10
source-repository head
type:
git
location:
git://github.com/nikita-volkov/vector-builder.git
library
build-depends: base >=4.11
hs-source-dirs:
library
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
exposed-modules:
VectorBuilder.Builder
VectorBuilder.MVector
VectorBuilder.Vector
VectorBuilder.MonadPlus
VectorBuilder.Alternative
other-modules:
VectorBuilder.Prelude
VectorBuilder.Core.Update
VectorBuilder.Core.Builder
build-depends:
vector >=0.12 && <0.13,
base >=4.10 && <5
test-suite tests
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
Main.hs
other-modules:
Main.Sample
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
attoparsec >=0.13 && <0.15,
QuickCheck >=2.8.1 && <3,
quickcheck-instances >=0.3.11 && <0.4,
rerebase <2,
tasty >=0.12 && <2,
tasty-hunit >=0.9 && <0.11,
tasty-quickcheck >=0.9 && <0.11,
vector-builder