osc copypac from project:devel:languages:haskell:lts:11 package:ghc-yaml revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-yaml?expand=0&rev=62
This commit is contained in:
parent
392a6065e9
commit
e9ac2ba8ed
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 15:15:33 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update yaml to version 0.8.29.
|
||||
A more detailed change log is not available.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 16:56:16 UTC 2018 - psimons@suse.com
|
||||
|
||||
|
@ -19,15 +19,13 @@
|
||||
%global pkg_name yaml
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.8.28
|
||||
Version: 0.8.29
|
||||
Release: 0
|
||||
Summary: Support for parsing and rendering YAML documents
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Haskell
|
||||
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/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-aeson-devel
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
@ -70,14 +68,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
@ -90,8 +86,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
%{_bindir}/json2yaml
|
||||
%{_bindir}/yaml2json
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc ChangeLog.md README.md
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f702b6a489ad94cda3c0cb15db34a30356d7b2cdc86a4d0f5340f2ece69f8f6b
|
||||
size 82531
|
3
yaml-0.8.29.tar.gz
Normal file
3
yaml-0.8.29.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a5e5fe9d55273c286f177681c2cecb4cff77633af877756317120cc00d20f74
|
||||
size 82660
|
168
yaml.cabal
168
yaml.cabal
@ -1,168 +0,0 @@
|
||||
name: yaml
|
||||
version: 0.8.28
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
|
||||
maintainer: Michael Snoyman <michael@snoyman.com>
|
||||
synopsis: Support for parsing and rendering YAML documents.
|
||||
description: README and API documentation are available at <https://www.stackage.org/package/yaml>
|
||||
category: Web
|
||||
stability: stable
|
||||
cabal-version: >= 1.8
|
||||
build-type: Simple
|
||||
homepage: http://github.com/snoyberg/yaml/
|
||||
extra-source-files: c/helper.h
|
||||
libyaml/yaml_private.h
|
||||
libyaml/yaml.h
|
||||
libyaml/LICENSE
|
||||
test/largest-string.yaml
|
||||
test/json.yaml
|
||||
test/resources/foo.yaml
|
||||
test/resources/bar.yaml
|
||||
test/resources/baz.yaml
|
||||
test/resources/accent/foo.yaml
|
||||
test/resources/loop/foo.yaml
|
||||
test/resources/loop/bar.yaml
|
||||
test/resources/empty.yaml
|
||||
test/resources/empty2.yaml
|
||||
README.md
|
||||
ChangeLog.md
|
||||
|
||||
flag no-exe
|
||||
description: don't install the yaml2json or json2yaml executables
|
||||
default: False
|
||||
|
||||
flag no-examples
|
||||
description: don't build the examples
|
||||
default: True
|
||||
|
||||
flag system-libyaml
|
||||
description: Use the system-wide libyaml instead of the bundled copy
|
||||
default: False
|
||||
|
||||
flag no-unicode
|
||||
description: Don't enable unicode output. Instead, unicode characters will be escaped.
|
||||
default: False
|
||||
|
||||
library
|
||||
other-extensions: LambdaCase
|
||||
build-depends: base >= 4 && < 5
|
||||
, transformers >= 0.1
|
||||
, bytestring >= 0.9.1.4
|
||||
, conduit >= 1.2.8 && < 1.4
|
||||
, resourcet >= 0.3 && < 1.3
|
||||
, aeson >= 0.7
|
||||
, containers
|
||||
, unordered-containers
|
||||
, vector
|
||||
, text
|
||||
, attoparsec >= 0.11.3.0
|
||||
, scientific
|
||||
, filepath
|
||||
, directory
|
||||
, semigroups
|
||||
, template-haskell
|
||||
exposed-modules: Text.Libyaml
|
||||
Data.Yaml
|
||||
Data.Yaml.Aeson
|
||||
Data.Yaml.Builder
|
||||
Data.Yaml.Config
|
||||
Data.Yaml.Include
|
||||
Data.Yaml.Parser
|
||||
Data.Yaml.Pretty
|
||||
Data.Yaml.TH
|
||||
other-modules:
|
||||
Data.Yaml.Internal
|
||||
ghc-options: -Wall
|
||||
c-sources: c/helper.c
|
||||
include-dirs: c
|
||||
if flag(no-unicode)
|
||||
cpp-options: -D__NO_UNICODE__
|
||||
if flag(system-libyaml)
|
||||
pkgconfig-depends: yaml-0.1
|
||||
else
|
||||
c-sources: libyaml/api.c,
|
||||
libyaml/dumper.c,
|
||||
libyaml/emitter.c,
|
||||
libyaml/loader.c,
|
||||
libyaml/parser.c,
|
||||
libyaml/reader.c,
|
||||
libyaml/scanner.c,
|
||||
libyaml/writer.c
|
||||
include-dirs: libyaml
|
||||
if os(windows)
|
||||
cpp-options: -DWINDOWS
|
||||
|
||||
executable yaml2json
|
||||
if flag(no-exe)
|
||||
Buildable: False
|
||||
else
|
||||
Buildable: True
|
||||
|
||||
hs-source-dirs: exe
|
||||
main-is: yaml2json.hs
|
||||
build-depends: base >= 4 && < 5
|
||||
, yaml
|
||||
, bytestring >= 0.9.1.4
|
||||
, aeson >= 0.7
|
||||
|
||||
executable json2yaml
|
||||
if flag(no-exe)
|
||||
Buildable: False
|
||||
else
|
||||
Buildable: True
|
||||
|
||||
hs-source-dirs: exe
|
||||
main-is: json2yaml.hs
|
||||
build-depends: base >= 4 && < 5
|
||||
, yaml
|
||||
, bytestring >= 0.9.1.4
|
||||
, aeson >= 0.7
|
||||
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: Spec.hs
|
||||
other-modules: Data.YamlSpec
|
||||
Data.Yaml.IncludeSpec
|
||||
Data.Yaml.THSpec
|
||||
cpp-options: -DTEST
|
||||
build-depends: hspec >= 1.3
|
||||
, HUnit
|
||||
, base >= 4 && < 5
|
||||
, transformers >= 0.1
|
||||
, bytestring >= 0.9.1.4
|
||||
, conduit
|
||||
, yaml
|
||||
, text
|
||||
, aeson >= 0.7
|
||||
, unordered-containers
|
||||
, directory
|
||||
, vector
|
||||
, resourcet
|
||||
, mockery
|
||||
, base-compat
|
||||
, temporary
|
||||
ghc-options: -Wall
|
||||
|
||||
executable examples
|
||||
if flag(no-examples)
|
||||
Buildable: False
|
||||
else
|
||||
Buildable: True
|
||||
build-depends: base
|
||||
, bytestring
|
||||
, raw-strings-qq
|
||||
, text
|
||||
, yaml
|
||||
hs-source-dirs: examples
|
||||
main-is: Main.hs
|
||||
other-modules: Config
|
||||
Simple
|
||||
ghc-options: -Wall
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/snoyberg/yaml
|
Loading…
Reference in New Issue
Block a user