From fab08f6a76687848accc13a5d9c7f850196312c8178f1c5799eee06fa8551e7b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:17:35 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-pandoc-types revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc-types?expand=0&rev=51 --- ghc-pandoc-types.changes | 151 ----------------------------------- ghc-pandoc-types.spec | 4 +- pandoc-types-1.17.3.1.tar.gz | 3 - pandoc-types-1.17.4.2.tar.gz | 3 + pandoc-types.cabal | 91 +++++++++++++++++++++ 5 files changed, 97 insertions(+), 155 deletions(-) delete mode 100644 ghc-pandoc-types.changes delete mode 100644 pandoc-types-1.17.3.1.tar.gz create mode 100644 pandoc-types-1.17.4.2.tar.gz create mode 100644 pandoc-types.cabal diff --git a/ghc-pandoc-types.changes b/ghc-pandoc-types.changes deleted file mode 100644 index 4618619..0000000 --- a/ghc-pandoc-types.changes +++ /dev/null @@ -1,151 +0,0 @@ -------------------------------------------------------------------- -Thu Apr 12 08:32:23 UTC 2018 - psimons@suse.com - -- Update pandoc-types to version 1.17.3.1. - A more detailed change log is not available. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Mon Jun 19 20:51:53 UTC 2017 - psimons@suse.com - -- Update to version 1.17.0.5 revision 4. - -------------------------------------------------------------------- -Mon Apr 24 12:33:34 UTC 2017 - psimons@suse.com - -- Update to version 1.17.0.5 revision 3 with cabal2obs. - -------------------------------------------------------------------- -Wed Mar 22 09:10:32 UTC 2017 - psimons@suse.com - -- Update to version 1.17.0.5 revision 2 with cabal2obs. - -------------------------------------------------------------------- -Thu Mar 2 10:44:37 UTC 2017 - psimons@suse.com - -- Update to version 1.17.0.5 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Feb 12 14:17:22 UTC 2017 - psimons@suse.com - -- Update to version 1.17.0.5 with cabal2obs. - -------------------------------------------------------------------- -Sun Aug 21 17:25:39 UTC 2016 - psimons@suse.com - -- Update to version 1.16.1.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:27:24 UTC 2016 - psimons@suse.com - -- Update to version 1.16.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Thu Feb 11 08:45:43 UTC 2016 - mimi.vx@gmail.com - -- update to 1.16.1 -* Export pandocTypesVersion from Text.Pandoc.Definition. - -------------------------------------------------------------------- -Sat Jan 23 09:29:37 UTC 2016 - mimi.vx@gmail.com - -- update to 1.16.0.1 -* Added Attr field to Image and Link. -* Added SoftBreak constructor to Inline - -------------------------------------------------------------------- -Sun Sep 27 10:11:48 UTC 2015 - mimi.vx@gmail.com - -- update to 1.12.4.7 - -------------------------------------------------------------------- -Sun Jul 19 17:00:25 UTC 2015 - mimi.vx@gmail.com - -- update to 1.12.4.5 - -------------------------------------------------------------------- -Mon Jun 8 06:39:22 UTC 2015 - mimi.vx@gmail.com - -- update to 1.12.4.4 - -------------------------------------------------------------------- -Sun May 31 20:49:16 UTC 2015 - mimi.vx@gmail.com - -- change license file to COPYING - -------------------------------------------------------------------- -Sun May 31 19:58:12 UTC 2015 - mimi.vx@gmail.com - -- update to 1.12.4.3 - -------------------------------------------------------------------- -Thu Apr 23 19:10:59 UTC 2015 - mimi.vx@gmail.com - -- update to 1.12.4.2 - -------------------------------------------------------------------- -Thu Mar 27 13:59:32 UTC 2014 - sbahling@suse.com - -- Correct package license - -------------------------------------------------------------------- -Thu Mar 13 21:51:35 UTC 2014 - sbahling@suse.com - -- update to 1.12.3.2 - -------------------------------------------------------------------- -Tue Dec 31 16:30:30 UTC 2013 - peter.trommler@ohm-hochschule.de - -- update to 1.12.3 -- needed for pandoc 1.12.2.1 - -------------------------------------------------------------------- -Sun Dec 29 16:37:52 UTC 2013 - peter.trommler@ohm-hochschule.de - -- merged d:l:haskell changes - -------------------------------------------------------------------- -Mon Oct 21 17:14:45 UTC 2013 - peter.trommler@ohm-hochschule.de - -- merged defattr change from d:l:h - -------------------------------------------------------------------- -Sun Sep 29 19:48:14 UTC 2013 - sbahling@suse.com - -- update to 1.12.1 - -------------------------------------------------------------------- -Tue May 14 13:22:09 UTC 2013 - peter.trommler@ohm-hochschule.de - -- new cabal-rpm spec file template -* macros not spanning multiple spec file sections - -------------------------------------------------------------------- -Fri Jan 25 13:23:53 UTC 2013 - peter.trommler@ohm-hochschule.de - -- update to 1.10 from upstream -- part of pandoc 1.10 release - -------------------------------------------------------------------- -Tue Jun 5 16:42:19 UTC 2012 - peter.trommler@ohm-hochschule.de - -- cabal2spec 0.25.5 template for spec file - -------------------------------------------------------------------- -Tue Mar 13 16:20:59 UTC 2012 - peter.trommler@ohm-hochschule.de - -- rpmlint: filter debuginfo warning - -------------------------------------------------------------------- -Mon Mar 12 14:55:45 UTC 2012 - peter.trommler@ohm-hochschule.de - -- upgrade to 1.9.1 from upstream - -------------------------------------------------------------------- -Fri Jan 18 15:35:11 UTC 2012 - herbert@graeber-clan.de - -- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/ghc-pandoc-types.spec b/ghc-pandoc-types.spec index 042ded4..2148700 100644 --- a/ghc-pandoc-types.spec +++ b/ghc-pandoc-types.spec @@ -19,13 +19,14 @@ %global pkg_name pandoc-types %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.17.3.1 +Version: 1.17.4.2 Release: 0 Summary: Types for representing a structured document License: GPL-2.0-only 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: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-aeson-devel @@ -75,6 +76,7 @@ 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 diff --git a/pandoc-types-1.17.3.1.tar.gz b/pandoc-types-1.17.3.1.tar.gz deleted file mode 100644 index 73e08d7..0000000 --- a/pandoc-types-1.17.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b1674f7d000da4f86e775f6178e1939fe506e2e4b45c8842dc0182ad92a1736 -size 23895 diff --git a/pandoc-types-1.17.4.2.tar.gz b/pandoc-types-1.17.4.2.tar.gz new file mode 100644 index 0000000..29be17e --- /dev/null +++ b/pandoc-types-1.17.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57e15e0a8c74f1acc96259d24eb77a6febbc182a1fd8092af8c431e7a3263eca +size 24035 diff --git a/pandoc-types.cabal b/pandoc-types.cabal new file mode 100644 index 0000000..29de62b --- /dev/null +++ b/pandoc-types.cabal @@ -0,0 +1,91 @@ +Name: pandoc-types +Version: 1.17.4.2 +x-revision: 1 +Synopsis: Types for representing a structured document +Description: @Text.Pandoc.Definition@ defines the 'Pandoc' data + structure, which is used by pandoc to represent + structured documents. This module used to live + in the pandoc package, but starting with pandoc 1.7, it + has been split off, so that other packages can use it + without drawing in all of pandoc's dependencies, and + pandoc itself can depend on packages (like citeproc-hs) + that use them. + . + @Text.Pandoc.Builder@ provides functions for building + up @Pandoc@ structures programmatically. + . + @Text.Pandoc.Generic@ provides generic functions for + manipulating Pandoc documents. + . + @Text.Pandoc.Walk@ provides faster, nongeneric functions + for manipulating Pandoc documents. + . + @Text.Pandoc.JSON@ provides functions for serializing + and deserializing a @Pandoc@ structure to and from JSON. + +Homepage: http://johnmacfarlane.net/pandoc +License: BSD3 +License-file: LICENSE +Author: John MacFarlane +Maintainer: jgm@berkeley.edu +Bug-Reports: https://github.com/jgm/pandoc-types/issues +Copyright: (c) 2006-2017 John MacFarlane +Category: Text +Build-type: Simple +Cabal-version: >=1.8 +Tested-With: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1 +Extra-Source-Files: changelog +Source-repository head + type: git + location: git://github.com/jgm/pandoc-types.git + +Library + Exposed-modules: Text.Pandoc.Definition + Text.Pandoc.Generic + Text.Pandoc.Walk + Text.Pandoc.Builder + Text.Pandoc.JSON + Text.Pandoc.Arbitrary + Other-modules: Paths_pandoc_types + Build-depends: base >= 4.8 && < 5, + containers >= 0.3, + syb >= 0.1 && < 0.8, + ghc-prim >= 0.2, + bytestring >= 0.9 && < 0.11, + aeson >= 0.6.2 && < 1.4, + transformers >= 0.2 && < 0.6, + QuickCheck >= 2 + if !impl(ghc >= 8.0) + Build-depends: semigroups == 0.18.* + if impl(ghc < 7.10) + Build-depends: deepseq-generics >= 0.1 && < 0.2 + else + Build-depends: deepseq >= 1.4.1 && < 1.5 + ghc-options: -Wall + +test-suite test-pandoc-types + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: test-pandoc-types.hs + build-depends: base, + pandoc-types, + syb, + aeson >= 0.6.2 && < 1.4, + containers >= 0.3, + bytestring >= 0.9 && < 0.11, + test-framework >= 0.3 && < 0.9, + test-framework-hunit >= 0.2 && < 0.4, + test-framework-quickcheck2 >= 0.2.9 && < 0.4, + QuickCheck >= 2.4 && < 2.12, + HUnit >= 1.2 && < 1.7, + string-qq == 0.0.2 + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -O2 + +benchmark benchmark-pandoc-types + type: exitcode-stdio-1.0 + main-is: bench.hs + hs-source-dirs: benchmark + build-depends: pandoc-types, + base >= 4.2 && < 5, + criterion >= 1.0 && < 1.5 + ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -O2