osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-lens-aeson revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens-aeson?expand=0&rev=1
This commit is contained in:
commit
8e458c6dd5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
5
ghc-lens-aeson.changes
Normal file
5
ghc-lens-aeson.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 29 18:14:48 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
- Add lens-aeson at version 1.1 revision 2.
|
||||||
|
|
85
ghc-lens-aeson.spec
Normal file
85
ghc-lens-aeson.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc-lens-aeson
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global pkg_name lens-aeson
|
||||||
|
%bcond_with tests
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 1.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Law-abiding lenses for aeson
|
||||||
|
License: MIT
|
||||||
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||||
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-attoparsec-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-cabal-doctest-devel
|
||||||
|
BuildRequires: ghc-lens-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-scientific-devel
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
|
BuildRequires: ghc-vector-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-doctest-devel
|
||||||
|
BuildRequires: ghc-generic-deriving-devel
|
||||||
|
BuildRequires: ghc-semigroups-devel
|
||||||
|
BuildRequires: ghc-simple-reflect-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Law-abiding lenses for aeson.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
%build
|
||||||
|
%ghc_lib_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%ghc_lib_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%cabal_test
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc AUTHORS.markdown CHANGELOG.markdown README.markdown
|
||||||
|
|
||||||
|
%changelog
|
3
lens-aeson-1.1.tar.gz
Normal file
3
lens-aeson-1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7bc9c6f95735b523afac6316195d06b31f9b85c84918960096e4eecdb6cc90e
|
||||||
|
size 11022
|
89
lens-aeson.cabal
Normal file
89
lens-aeson.cabal
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
name: lens-aeson
|
||||||
|
category: Numeric
|
||||||
|
version: 1.1
|
||||||
|
x-revision: 2
|
||||||
|
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.11,
|
||||||
|
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.18,
|
||||||
|
generic-deriving,
|
||||||
|
lens-aeson,
|
||||||
|
semigroups >= 0.9,
|
||||||
|
simple-reflect >= 0.3.1
|
Loading…
Reference in New Issue
Block a user