From 1db2a0c8d89d730a197f16d0f2b4e453eafa807b5e2dce38e00e5085e3242886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 9 Nov 2021 08:31:48 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-HsYAML-aeson revision:23, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HsYAML-aeson?expand=0&rev=26 --- HsYAML-aeson-0.2.0.0.tar.gz | 3 --- HsYAML-aeson-0.2.0.1.tar.gz | 3 +++ HsYAML-aeson.cabal | 48 ------------------------------------- ghc-HsYAML-aeson.changes | 9 +++++++ ghc-HsYAML-aeson.spec | 4 +--- 5 files changed, 13 insertions(+), 54 deletions(-) delete mode 100644 HsYAML-aeson-0.2.0.0.tar.gz create mode 100644 HsYAML-aeson-0.2.0.1.tar.gz delete mode 100644 HsYAML-aeson.cabal diff --git a/HsYAML-aeson-0.2.0.0.tar.gz b/HsYAML-aeson-0.2.0.0.tar.gz deleted file mode 100644 index 0818b2e..0000000 --- a/HsYAML-aeson-0.2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfb9634b43fcaddb5a520838119ba4b02b18423a35471fef5a805d6004e75d8b -size 11095 diff --git a/HsYAML-aeson-0.2.0.1.tar.gz b/HsYAML-aeson-0.2.0.1.tar.gz new file mode 100644 index 0000000..5ba0f2b --- /dev/null +++ b/HsYAML-aeson-0.2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9782d414af1e60711b5454f23b36de9eee112849ad597f7f4284f7840c3308d +size 11954 diff --git a/HsYAML-aeson.cabal b/HsYAML-aeson.cabal deleted file mode 100644 index 68476ef..0000000 --- a/HsYAML-aeson.cabal +++ /dev/null @@ -1,48 +0,0 @@ -cabal-version: 2.2 -name: HsYAML-aeson -version: 0.2.0.0 -x-revision: 3 -license: GPL-2.0-or-later -license-file: LICENSE.GPLv2 -author: Herbert Valerio Riedel -maintainer: hvr@gnu.org -copyright: 2018-2019 Herbert Valerio Riedel -category: Text, Codec, Web, JSON, YAML -synopsis: JSON to YAML Adapter -description: - The [YAML 1.2](https://yaml.org/spec/1.2/spec.html) format provides - a much richer data-model and feature-set - than the [JavaScript Object Notation (JSON)](https://tools.ietf.org/html/rfc7159) format. - However, sometimes it's desirable to ignore the extra capabilities - and treat YAML as if it was merely a more convenient markup format - for humans to write JSON data. To this end this module provides a - compatibility layer atop [HsYAML](https://hackage.haskell.org/package/HsYAML) - which allows decoding YAML documents in the more limited JSON data-model while also providing - convenience by reusing [aeson](https://hackage.haskell.org/package/aeson)'s - 'FromJSON' instances for decoding the YAML data into native Haskell data types. - -extra-source-files: - CHANGELOG.md - -source-repository head - type: git - location: https://github.com/hvr/HsYAML-aeson.git - -library - exposed-modules: Data.YAML.Aeson - build-depends: - , HsYAML ^>= 0.2.0 - , aeson >= 1.4.0.0 && < 1.6 - , base >= 4.5 && < 4.16 - , bytestring ^>= 0.9.2.1 || ^>= 0.10.0.2 || ^>= 0.11.0.0 - , containers >=0.4.2 && <0.7 - , mtl ^>= 2.2.1 - , scientific ^>= 0.3.6.2 - , text ^>= 1.2.3 - , unordered-containers ^>= 0.2 - , vector ^>= 0.12.0.2 - - hs-source-dirs: src - default-language: Haskell2010 - other-extensions: RecordWildCards Trustworthy - ghc-options: -Wall diff --git a/ghc-HsYAML-aeson.changes b/ghc-HsYAML-aeson.changes index 24c6f60..7b3cb0f 100644 --- a/ghc-HsYAML-aeson.changes +++ b/ghc-HsYAML-aeson.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Nov 8 16:32:50 UTC 2021 - psimons@suse.com + +- Update HsYAML-aeson to version 0.2.0.1. + ## 0.2.0.1 + + * Allow `aeson-2.0` and `bytestring-0.11`. + * Build tested with GHC 7.4 -- 9.0. + ------------------------------------------------------------------- Mon Mar 22 08:41:48 UTC 2021 - psimons@suse.com diff --git a/ghc-HsYAML-aeson.spec b/ghc-HsYAML-aeson.spec index 0defd23..a1b4287 100644 --- a/ghc-HsYAML-aeson.spec +++ b/ghc-HsYAML-aeson.spec @@ -18,13 +18,12 @@ %global pkg_name HsYAML-aeson Name: ghc-%{pkg_name} -Version: 0.2.0.0 +Version: 0.2.0.1 Release: 0 Summary: JSON to YAML Adapter License: GPL-2.0-or-later 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/3.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HsYAML-devel BuildRequires: ghc-aeson-devel @@ -62,7 +61,6 @@ 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