Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ef36c15916 | ||
|
6cb1317271 | ||
|
1a5391229c | ||
|
d675257b72 | ||
|
ca4ed83b92 | ||
|
cfe3a53146 | ||
|
3ff69e8adf | ||
|
c29dfcf6c7 | ||
|
f3c40e449c | ||
|
6c1a76d442 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/fclabels-2.0.3.3.tar.gz
|
||||
/fclabels-2.0.4.tar.gz
|
||||
/fclabels-2.0.5.tar.gz
|
||||
/fclabels-2.0.5.1.tar.gz
|
||||
|
59
changelog
Normal file
59
changelog
Normal file
@ -0,0 +1,59 @@
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 2.0.5.1-5
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 2.0.5.1-3
|
||||
- rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.0.5.1-1
|
||||
- update to 2.0.5.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 2.0.5-1
|
||||
- update to 2.0.5
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.0.4-1
|
||||
- update to 2.0.4
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 2.0.3.3-9
|
||||
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.0.3.3-7
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.0.3.3-5
|
||||
- revise .cabal
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Apr 10 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.3.3-3
|
||||
- Enable tests
|
||||
|
||||
* Fri Apr 6 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.3.3-2
|
||||
- Shorten description substantially
|
||||
|
||||
* Fri Apr 6 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.0.3.3-1
|
||||
- spec file generated by cabal-rpm-0.12.1
|
125
fclabels-2.0.5.1.cabal
Normal file
125
fclabels-2.0.5.1.cabal
Normal file
@ -0,0 +1,125 @@
|
||||
Name: fclabels
|
||||
Version: 2.0.5.1
|
||||
x-revision: 1
|
||||
Author: Sebastiaan Visser, Erik Hesselink, Chris Eidhof, Sjoerd Visscher
|
||||
with lots of help and feedback from others.
|
||||
Synopsis: First class accessor labels implemented as lenses.
|
||||
Description: This package provides first class labels that can act as
|
||||
bidirectional record fields. The labels can be derived
|
||||
automatically using Template Haskell which means you don't have
|
||||
to write any boilerplate yourself. The labels are implemented as
|
||||
/lenses/ and are fully composable. Lenses can be used to /get/,
|
||||
/set/ and /modify/ parts of a data type in a consistent way.
|
||||
.
|
||||
See "Data.Label" for an introductory explanation or see the
|
||||
introductory blog post at
|
||||
<http://fvisser.nl/post/2013/okt/1/fclabels-2.0.html>
|
||||
.
|
||||
* /Total and partial lenses/
|
||||
.
|
||||
Internally lenses do not used Haskell functions directly, but
|
||||
are implemented as categories. Categories allow the lenses to be
|
||||
run in custom computational contexts. This approach allows us to
|
||||
make partial lenses that point to fields of multi-constructor
|
||||
datatypes in an elegant way.
|
||||
.
|
||||
See "Data.Label.Partial" for the use of partial labels.
|
||||
.
|
||||
* /Monomorphic and polymorphic lenses/
|
||||
.
|
||||
We have both polymorphic and monomorphic lenses. Polymorphic
|
||||
lenses allow updates that change the type. The types of
|
||||
polymorphic lenses are slightly more verbose than their
|
||||
monomorphic counterparts, but their usage is similar. Because
|
||||
monomorphic lenses are built by restricting the types of
|
||||
polymorphic lenses they are essentially the same and can be
|
||||
freely composed with eachother.
|
||||
.
|
||||
See "Data.Label.Mono" and "Data.Label.Poly" for the difference
|
||||
between polymorphic and monomorphic lenses.
|
||||
.
|
||||
* /Using fclabels/
|
||||
.
|
||||
To simplify working with labels we supply both a set of labels
|
||||
for Haskell's base types, like lists, tuples, Maybe and Either,
|
||||
and we supply a set of combinators for working with labels for
|
||||
values in the Reader and State monad.
|
||||
.
|
||||
See "Data.Label.Base" and "Data.Label.Monadic" for more
|
||||
information.
|
||||
.
|
||||
* /Changelog from 2.0.4 to 2.0.5/
|
||||
.
|
||||
> - Support for GHC 8.10. Thanks to Potato Hatsue.
|
||||
|
||||
Maintainer: Sebastiaan Visser <code@fvisser.nl>
|
||||
Homepage: https://github.com/sebastiaanvisser/fclabels
|
||||
Bug-Reports: https://github.com/sebastiaanvisser/fclabels/issues
|
||||
License: BSD3
|
||||
License-File: LICENSE
|
||||
Category: Data, Lenses
|
||||
Cabal-Version: >= 1.10
|
||||
Build-Type: Simple
|
||||
Tested-With:
|
||||
GHC==7.4.2,
|
||||
GHC==7.6.3,
|
||||
GHC==7.8.4,
|
||||
GHC==7.10.3,
|
||||
GHC==8.0.2
|
||||
Extra-Source-Files:
|
||||
README.md
|
||||
CHANGELOG
|
||||
|
||||
Library
|
||||
HS-Source-Dirs: src
|
||||
|
||||
Exposed-Modules:
|
||||
Data.Label
|
||||
Data.Label.Base
|
||||
Data.Label.Derive
|
||||
Data.Label.Failing
|
||||
Data.Label.Monadic
|
||||
Data.Label.Mono
|
||||
Data.Label.Partial
|
||||
Data.Label.Point
|
||||
Data.Label.Poly
|
||||
Data.Label.Total
|
||||
|
||||
GHC-Options: -Wall
|
||||
Build-Depends:
|
||||
base >= 4.5 && < 4.17
|
||||
, base-orphans >= 0.8.2 && < 0.9
|
||||
, template-haskell >= 2.2 && < 2.19
|
||||
, mtl >= 1.0 && < 2.3
|
||||
, transformers >= 0.2 && < 0.6
|
||||
|
||||
Default-Language: Haskell2010
|
||||
|
||||
Source-Repository head
|
||||
Type: git
|
||||
Location: git://github.com/sebastiaanvisser/fclabels.git
|
||||
|
||||
Test-Suite suite
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: test
|
||||
Main-Is: TestSuite.hs
|
||||
Ghc-Options: -Wall -threaded
|
||||
Build-Depends:
|
||||
base < 5
|
||||
, fclabels
|
||||
, template-haskell
|
||||
, mtl
|
||||
, transformers
|
||||
, HUnit >= 1.2 && < 1.7
|
||||
Default-Language: Haskell2010
|
||||
|
||||
Benchmark benchmark
|
||||
Type: exitcode-stdio-1.0
|
||||
HS-Source-Dirs: bench
|
||||
Main-Is: Benchmark.hs
|
||||
Ghc-Options: -Wall -threaded
|
||||
Build-Depends:
|
||||
base < 5
|
||||
, fclabels
|
||||
, criterion < 1.6
|
||||
Default-Language: Haskell2010
|
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.6
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name fclabels
|
||||
@ -7,24 +7,33 @@
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 2.0.5
|
||||
Release: 2%{?dist}
|
||||
Version: 2.0.5.1
|
||||
Release: %autorelease
|
||||
Summary: First class accessor labels implemented as lenses
|
||||
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
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: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-orphans-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-base-orphans-prof
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
BuildRequires: ghc-transformers-prof
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
%endif
|
||||
@ -55,6 +64,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%package doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
BuildArch: noarch
|
||||
Requires: ghc-filesystem
|
||||
|
||||
%description doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
@ -75,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -91,7 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
@ -116,41 +129,4 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 2.0.5-1
|
||||
- update to 2.0.5
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.0.4-1
|
||||
- update to 2.0.4
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 2.0.3.3-9
|
||||
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.0.3.3-7
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.0.3.3-5
|
||||
- revise .cabal
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Apr 10 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.3.3-3
|
||||
- Enable tests
|
||||
|
||||
* Fri Apr 6 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.3.3-2
|
||||
- Shorten description substantially
|
||||
|
||||
* Fri Apr 6 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 2.0.3.3-1
|
||||
- spec file generated by cabal-rpm-0.12.1
|
||||
%autochangelog
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (fclabels-2.0.5.tar.gz) = f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4
|
||||
SHA512 (fclabels-2.0.5.1.tar.gz) = a5f65a821e946381769bc98df2e78625820e99acf151886b9360e2327b589ac5bb2b214dd9cb27ac8e1e7d4880947771e2f020df69f3275d0310cd5fa293aa7b
|
||||
|
Loading…
Reference in New Issue
Block a user