From 896dc01bc503ba89aaa1c63de015ce8398bc98d0368c5ca13506aa6df5ed0ff3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 22 Jul 2016 21:35:56 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:lts:6 package:ghc-aeson revision:5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=18 --- ghc-aeson.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ghc-aeson.spec b/ghc-aeson.spec index acda607..0c2b0e2 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -28,7 +28,6 @@ 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 BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel @@ -58,7 +57,6 @@ BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel %endif -# End cabal-rpm deps %description A JSON parsing and encoding library optimized for ease of use and high @@ -106,9 +104,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %check -%if %{with tests} -%{cabal} test -%endif +%cabal_test %post devel From 5879768b840bdc2c53493207972f2c930655d62bdaf4e245b1b6f33886535f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 24 Aug 2016 13:06:59 +0000 Subject: [PATCH 2/3] Accepting request 421595 from devel:languages:haskell:lts:6 version update OBS-URL: https://build.opensuse.org/request/show/421595 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=19 --- aeson-0.11.2.0.tar.gz | 3 --- aeson-0.11.2.1.tar.gz | 3 +++ ghc-aeson.changes | 5 +++++ ghc-aeson.spec | 10 ++-------- 4 files changed, 10 insertions(+), 11 deletions(-) delete mode 100644 aeson-0.11.2.0.tar.gz create mode 100644 aeson-0.11.2.1.tar.gz diff --git a/aeson-0.11.2.0.tar.gz b/aeson-0.11.2.0.tar.gz deleted file mode 100644 index 9e19a80..0000000 --- a/aeson-0.11.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:447a454b51b8d6ca9e3b59bc5918115a880a9320afeb9030000fe6c87fd2285e -size 202914 diff --git a/aeson-0.11.2.1.tar.gz b/aeson-0.11.2.1.tar.gz new file mode 100644 index 0000000..3d2c851 --- /dev/null +++ b/aeson-0.11.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc3bc708b5ea5598ae4e37fd8a96d117576031be4b4e2943953e9e19af01b74c +size 203456 diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 5146280..d506084 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 17 18:30:25 UTC 2016 - psimons@suse.com + +- Update to version 0.11.2.1 revision 0 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:33:06 UTC 2016 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 0c2b0e2..092cd43 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -19,14 +19,13 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.11.2.0 +Version: 0.11.2.1 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel @@ -92,21 +91,16 @@ 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 - %check %cabal_test - %post devel %ghc_pkg_recache From 404ebfe155c712131ba4548d4514f5d1d5f4a36500fe7bdac2f360862b52a546 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 24 Aug 2016 13:12:22 +0000 Subject: [PATCH 3/3] Accepting request 421714 from devel:languages:haskell:lts:6 version update OBS-URL: https://build.opensuse.org/request/show/421714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=20 --- 1.cabal | 190 -------------------------------------------------------- 1 file changed, 190 deletions(-) delete mode 100644 1.cabal diff --git a/1.cabal b/1.cabal deleted file mode 100644 index ed04c9f..0000000 --- a/1.cabal +++ /dev/null @@ -1,190 +0,0 @@ -name: aeson -version: 0.11.2.0 -x-revision: 1 -license: BSD3 -license-file: LICENSE -category: Text, Web, JSON -copyright: (c) 2011-2016 Bryan O'Sullivan - (c) 2011 MailRank, Inc. -author: Bryan O'Sullivan -maintainer: Bryan O'Sullivan -stability: experimental -tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2 -synopsis: Fast JSON parsing and encoding -cabal-version: >= 1.10 -homepage: https://github.com/bos/aeson -bug-reports: https://github.com/bos/aeson/issues -build-type: Simple -description: - A JSON parsing and encoding library optimized for ease of use - and high performance. - . - To get started, see the documentation for the @Data.Aeson@ module - below. - . - Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7), - running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's - JSON search API: - . - * 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec) - . - * 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec) - . - Encoding performance on the same machine and data: - . - * 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec) - . - * 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec) - . - (A note on naming: in Greek mythology, Aeson was the father of Jason.) - -extra-source-files: - README.markdown - benchmarks/*.cabal - benchmarks/*.hs - benchmarks/*.py - benchmarks/Compare/*.hs - benchmarks/Makefile - benchmarks/Typed/*.hs - benchmarks/json-data/*.json - include/overlapping-compat.h - changelog.md - examples/*.cabal - examples/*.hs - examples/Twitter/*.hs - include/*.h - -flag developer - description: operate in developer mode - default: False - manual: True - -flag old-locale - description: If false then depend on time >= 1.5. - . - If true then depend on time < 1.5 together with old-locale. - default: False - -library - default-language: Haskell2010 - - exposed-modules: - Data.Aeson - Data.Aeson.Encode - Data.Aeson.Internal - Data.Aeson.Internal.Time - Data.Aeson.Parser - Data.Aeson.Types - Data.Aeson.TH - - other-modules: - Data.Aeson.Encode.Builder - Data.Aeson.Encode.Functions - Data.Aeson.Functions - Data.Aeson.Parser.Internal - Data.Aeson.Parser.Time - Data.Aeson.Types.Class - Data.Aeson.Types.Generic - Data.Aeson.Types.Instances - Data.Aeson.Types.Internal - - build-depends: - attoparsec >= 0.13.0.1, - base >= 4.5 && < 5, - bytestring >= 0.10.4.0, - containers, - deepseq, - dlist >= 0.2, - fail == 4.9.*, - ghc-prim >= 0.2, - hashable >= 1.1.2.0, - mtl, - scientific >= 0.3.1 && < 0.4, - syb, - tagged >=0.8.3 && <0.9, - template-haskell >= 2.7, - text >= 1.1.1.0, - transformers, - unordered-containers >= 0.2.5.0, - vector >= 0.8 - - if !impl(ghc >= 8.0) - -- `Data.Semigroup` is available in base only since GHC 8.0 / base 4.9 - build-depends: semigroups >= 0.16.1 && < 0.19 - - if !impl(ghc >= 7.10) - -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8 - build-depends: nats >=1 && <1.2 - - if flag(old-locale) - build-depends: time < 1.5, old-locale - else - build-depends: time >= 1.5 - - if flag(developer) - ghc-prof-options: -auto-all - - ghc-options: -O2 -Wall - - include-dirs: include - -test-suite tests - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Tests.hs - other-modules: - DataFamilies.Properties - DataFamilies.Instances - DataFamilies.Encoders - DataFamilies.Types - Encoders - Functions - Instances - Options - Properties - Types - UnitTests - - ghc-options: -Wall -threaded -rtsopts - - build-depends: - HUnit, - QuickCheck >= 2.7 && <2.8.3, - aeson, - attoparsec, - base, - base-orphans >=0.5.3 && <0.6, - bytestring, - containers, - ghc-prim >= 0.2, - hashable >= 1.1.2.0, - tagged, - template-haskell, - test-framework, - test-framework-hunit, - test-framework-quickcheck2, - text, - time, - unordered-containers, - vector, - quickcheck-instances >=0.3.12 - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.16.1 && < 0.19 - - if flag(old-locale) - build-depends: time < 1.5, old-locale - else - build-depends: time >= 1.5 - - if !impl(ghc >= 7.10) - build-depends: nats >=1 && <1.2 - -source-repository head - type: git - location: git://github.com/bos/aeson.git - -source-repository head - type: mercurial - location: https://bitbucket.org/bos/aeson