Accepting request 433606 from devel:languages:haskell:lts:7

version update

OBS-URL: https://build.opensuse.org/request/show/433606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-annotated-wl-pprint?expand=0&rev=4
This commit is contained in:
Peter Simons 2016-10-06 14:17:44 +00:00 committed by Git OBS Bridge
parent 93c796a025
commit de1c2ee912
3 changed files with 34 additions and 4 deletions

26
annotated-wl-pprint.cabal Normal file
View File

@ -0,0 +1,26 @@
Name: annotated-wl-pprint
Version: 0.7.0
x-revision: 1
Cabal-Version: >= 1.6
Synopsis: The Wadler/Leijen Pretty Printer, with annotation support
Category: Text
Description:
This is a modified version of wl-pprint, which was based on Wadler's
paper "A Prettier Printer". See the haddocks for full info. This
version allows the library user to annotate the text with semantic
information, which can later be rendered in a variety of ways.
License: BSD3
License-file: LICENSE
Author: Daan Leijen, David Raymond Christiansen
Maintainer: david@davidchristiansen.dk
Homepage: https://github.com/david-christiansen/annotated-wl-pprint
Build-Type: Simple
Library
Build-Depends: base >= 4.4 && < 5
Exposed-Modules: Text.PrettyPrint.Annotated.Leijen
Extensions: DeriveFunctor
Ghc-options: -fwarn-incomplete-patterns
Source-Repository head
type: git
location: https://github.com/david-christiansen/annotated-wl-pprint

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 6 13:51:53 UTC 2016 - psimons@suse.com
- Update to version 0.7.0 revision 1 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 16:57:38 UTC 2016 - psimons@suse.com

View File

@ -22,9 +22,10 @@ Version: 0.7.0
Release: 0
Summary: The Wadler/Leijen Pretty Printer, with annotation support
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#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -49,16 +50,14 @@ files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache