forked from pool/ghc-lens-aeson
Accepting request 877641 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/877641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-lens-aeson?expand=0&rev=3
This commit is contained in:
commit
25eaab646c
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 19 23:03:03 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update lens-aeson to version 1.1.1.
|
||||||
|
1.1.1 [2021.02.17]
|
||||||
|
------------------
|
||||||
|
* Allow building with `lens-5.*`.
|
||||||
|
* The build-type has been changed from `Custom` to `Simple`.
|
||||||
|
To achieve this, the `doctests` test suite has been removed in favor of using
|
||||||
|
[`cabal-docspec`](https://github.com/phadej/cabal-extras/tree/master/cabal-docspec)
|
||||||
|
to run the doctests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 8 19:13:41 UTC 2021 - psimons@suse.com
|
Mon Feb 8 19:13:41 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -17,20 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name lens-aeson
|
%global pkg_name lens-aeson
|
||||||
%bcond_with tests
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.1
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Law-abiding lenses for aeson
|
Summary: Law-abiding lenses for aeson
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
BuildRequires: ghc-attoparsec-devel
|
BuildRequires: ghc-attoparsec-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-cabal-doctest-devel
|
|
||||||
BuildRequires: ghc-lens-devel
|
BuildRequires: ghc-lens-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-scientific-devel
|
BuildRequires: ghc-scientific-devel
|
||||||
@ -38,12 +35,6 @@ BuildRequires: ghc-text-devel
|
|||||||
BuildRequires: ghc-unordered-containers-devel
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
BuildRequires: ghc-vector-devel
|
BuildRequires: ghc-vector-devel
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ghc-doctest-devel
|
|
||||||
BuildRequires: ghc-generic-deriving-devel
|
|
||||||
BuildRequires: ghc-semigroups-devel
|
|
||||||
BuildRequires: ghc-simple-reflect-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Law-abiding lenses for aeson.
|
Law-abiding lenses for aeson.
|
||||||
@ -60,7 +51,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -68,9 +58,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
%check
|
|
||||||
%cabal_test
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
3
lens-aeson-1.1.1.tar.gz
Normal file
3
lens-aeson-1.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6fd7e1a83e97c91289cc26401159edb5f3443dce04575afc86c3af222e6267bc
|
||||||
|
size 7050
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f7bc9c6f95735b523afac6316195d06b31f9b85c84918960096e4eecdb6cc90e
|
|
||||||
size 11022
|
|
@ -1,89 +0,0 @@
|
|||||||
name: lens-aeson
|
|
||||||
category: Numeric
|
|
||||||
version: 1.1
|
|
||||||
x-revision: 4
|
|
||||||
license: MIT
|
|
||||||
cabal-version: >= 1.8
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Edward A. Kmett
|
|
||||||
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
|
||||||
stability: provisional
|
|
||||||
homepage: http://github.com/lens/lens-aeson/
|
|
||||||
bug-reports: http://github.com/lens/lens-aeson/issues
|
|
||||||
copyright:
|
|
||||||
Copyright (C) 2012 Paul Wilson
|
|
||||||
Copyright (C) 2013 Edward A. Kmett
|
|
||||||
build-type: Custom
|
|
||||||
tested-with: GHC == 7.4.2
|
|
||||||
, GHC == 7.6.3
|
|
||||||
, GHC == 7.8.4
|
|
||||||
, GHC == 7.10.3
|
|
||||||
, GHC == 8.0.2
|
|
||||||
, GHC == 8.2.2
|
|
||||||
, GHC == 8.4.4
|
|
||||||
, GHC == 8.6.5
|
|
||||||
, GHC == 8.8.1
|
|
||||||
synopsis: Law-abiding lenses for aeson
|
|
||||||
description: Law-abiding lenses for aeson.
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
.travis.yml
|
|
||||||
.ghci
|
|
||||||
.gitignore
|
|
||||||
.vim.custom
|
|
||||||
travis/cabal-apt-install
|
|
||||||
travis/config
|
|
||||||
AUTHORS.markdown
|
|
||||||
README.markdown
|
|
||||||
CHANGELOG.markdown
|
|
||||||
Warning.hs
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/lens/lens-aeson
|
|
||||||
|
|
||||||
custom-setup
|
|
||||||
setup-depends:
|
|
||||||
base >= 4 && < 5,
|
|
||||||
Cabal,
|
|
||||||
cabal-doctest >= 1 && < 1.1
|
|
||||||
|
|
||||||
-- You can disable the doctests test suite with -f-test-doctests
|
|
||||||
flag test-doctests
|
|
||||||
default: True
|
|
||||||
manual: True
|
|
||||||
|
|
||||||
library
|
|
||||||
build-depends:
|
|
||||||
base >= 4.5 && < 5,
|
|
||||||
lens >= 4.4 && < 5,
|
|
||||||
text >= 0.11.1.10 && < 1.3,
|
|
||||||
vector >= 0.9 && < 0.13,
|
|
||||||
unordered-containers >= 0.2.3 && < 0.3,
|
|
||||||
attoparsec >= 0.10 && < 0.14,
|
|
||||||
bytestring >= 0.9 && < 0.12,
|
|
||||||
aeson >= 0.7.0.5 && < 1.6,
|
|
||||||
scientific >= 0.3.2 && < 0.4
|
|
||||||
|
|
||||||
exposed-modules:
|
|
||||||
Data.Aeson.Lens
|
|
||||||
|
|
||||||
ghc-options: -Wall -fwarn-tabs -O2
|
|
||||||
hs-source-dirs: src
|
|
||||||
|
|
||||||
test-suite doctests
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: doctests.hs
|
|
||||||
ghc-options: -Wall -threaded
|
|
||||||
hs-source-dirs: tests
|
|
||||||
|
|
||||||
if !flag(test-doctests)
|
|
||||||
buildable: False
|
|
||||||
else
|
|
||||||
build-depends:
|
|
||||||
base,
|
|
||||||
doctest >= 0.11.1 && < 0.19,
|
|
||||||
generic-deriving,
|
|
||||||
lens-aeson,
|
|
||||||
semigroups >= 0.9,
|
|
||||||
simple-reflect >= 0.3.1
|
|
Loading…
Reference in New Issue
Block a user