diff --git a/ghc-shakespeare.changes b/ghc-shakespeare.changes index 012a41a..005f698 100644 --- a/ghc-shakespeare.changes +++ b/ghc-shakespeare.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Dec 23 07:55:11 UTC 2021 - Peter Simons + +- Update shakespeare to version 2.0.25.1. + ### 2.0.25.1 + + * Support for GHC 9.2 and aeson 2 [#260](https://github.com/yesodweb/shakespeare/pull/260) + ------------------------------------------------------------------- Tue Oct 12 11:34:19 UTC 2021 - psimons@suse.com diff --git a/ghc-shakespeare.spec b/ghc-shakespeare.spec index 30060d0..2cbca6d 100644 --- a/ghc-shakespeare.spec +++ b/ghc-shakespeare.spec @@ -19,13 +19,12 @@ %global pkg_name shakespeare %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.0.25 +Version: 2.0.25.1 Release: 0 Summary: A toolkit for making compile-time interpolated templates 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/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-blaze-html-devel @@ -80,7 +79,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 diff --git a/shakespeare-2.0.25.1.tar.gz b/shakespeare-2.0.25.1.tar.gz new file mode 100644 index 0000000..1e99207 --- /dev/null +++ b/shakespeare-2.0.25.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4c9da6d455d88cd0c168c4abd281eef51ccfd7a433d19db9b7947baf9dd6da0 +size 65969 diff --git a/shakespeare-2.0.25.tar.gz b/shakespeare-2.0.25.tar.gz deleted file mode 100644 index f6f0a5b..0000000 --- a/shakespeare-2.0.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4427b923ee466525352ab5209eae2faabc929c1b14c0d8463ba815419e1f5bba -size 65816 diff --git a/shakespeare.cabal b/shakespeare.cabal deleted file mode 100644 index 9b05b5a..0000000 --- a/shakespeare.cabal +++ /dev/null @@ -1,151 +0,0 @@ -name: shakespeare -version: 2.0.25 -x-revision: 1 -license: MIT -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman -synopsis: A toolkit for making compile-time interpolated templates -description: - Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass. - . - Shakespeare templates can be used inline with a quasi-quoter or in an external file. - . - Note there is no dependency on haskell-src-extras. Instead Shakespeare believes logic should stay out of templates and has its own minimal Haskell parser. - . - Packages that use this: xml-hamlet - . - Please see the documentation at for more details. - -category: Web, Yesod -stability: Stable -cabal-version: >= 1.10 -build-type: Simple -homepage: http://www.yesodweb.com/book/shakespearean-templates -extra-source-files: - test/reload.txt - test/texts/*.text - test/juliuses/*.julius - test/juliuses/*.coffee - test-messages/*.msg - test/cassiuses/*.cassius - test/cassiuses/*.lucius - test/hamlets/*.hamlet - test/tmp.hs - ChangeLog.md - -library - build-depends: aeson <1.6 - - default-language: Haskell2010 - build-depends: base >= 4.9 && < 5 - , time >= 1 - , containers - , template-haskell >= 2.7 - , parsec >= 2 && < 4 - , text >= 0.7 - , process >= 1.0 - , ghc-prim - , bytestring - , directory >= 1.2 - , aeson - , blaze-markup - , blaze-html - , exceptions - , transformers - , vector - , unordered-containers - , scientific >= 0.3.0.0 - , th-lift - - exposed-modules: Text.Shakespeare.I18N - Text.Shakespeare.Text - Text.Roy - Text.Julius - Text.Coffee - Text.Hamlet - Text.Hamlet.RT - Text.Hamlet.Runtime - Text.Lucius - Text.Cassius - Text.Shakespeare.Base - Text.Shakespeare - Text.TypeScript - Text.Internal.Css - Text.Internal.CssCommon - other-modules: Text.Hamlet.Parse - Text.MkSizeType - Text.IndentToBrace - - ghc-options: -Wall - - if flag(test_export) - cpp-options: -DTEST_EXPORT - - if os(windows) - CPP-Options: "-DWINDOWS" - - if flag(test_coffee) - cpp-options: -DTEST_COFFEE - - if flag(test_roy) - cpp-options: -DTEST_ROY - - if flag(test_export) - cpp-options: -DTEST_EXPORT - -Flag test_export - default: False - -flag test_coffee - description: render tests through coffeescript render function - -- cabal configure --enable-tests -ftest_coffee && cabal build && dist/build/test/test - default: False - -flag test_roy - description: render tests through roy render function - -- cabal configure --enable-tests -ftest_roy && cabal build && dist/build/test/test - default: False - -test-suite test - default-language: Haskell2010 - hs-source-dirs: test - main-is: Spec.hs - other-modules: Text.Shakespeare.BaseSpec - Text.Shakespeare.I18NSpec - Text.Shakespeare.TextSpec - Text.Shakespeare.BuilderQQ - Text.CssSpec - Text.HamletSpec - Text.JuliusSpec - Quoter - HamletTestTypes - - cpp-options: -DTEST_EXPORT - - type: exitcode-stdio-1.0 - - ghc-options: -Wall - build-depends: base >= 4.9 && < 5 - , shakespeare - , time >= 1 - , containers - , parsec >= 2 && < 4 - , hspec == 2.* - , text >= 0.7 - , process - , template-haskell >= 2.7 - , ghc-prim - , HUnit - , bytestring - , directory - , aeson - , transformers - , blaze-markup - , blaze-html - , exceptions - - -source-repository head - type: git - location: https://github.com/yesodweb/shakespeare.git