osc copypac from project:devel:languages:haskell:lts:9 package:ghc-syb revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-syb?expand=0&rev=25
This commit is contained in:
parent
37a0eb36e6
commit
1f97b2d34e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 27 14:06:37 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.7.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 27 12:27:54 UTC 2017 - psimons@suse.com
|
Sat May 27 12:27:54 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
%global pkg_name syb
|
%global pkg_name syb
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.6
|
Version: 0.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Scrap Your Boilerplate
|
Summary: Scrap Your Boilerplate
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -56,7 +55,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a38d1f7e6a40e2c990fec85215c45063a508bf73df98a4483ec78c5025b66cdc
|
|
||||||
size 39659
|
|
3
syb-0.7.tar.gz
Normal file
3
syb-0.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b8757dce5ab4045c49a0ae90407d575b87ee5523a7dd5dfa5c9d54fcceff42b5
|
||||||
|
size 39566
|
66
syb.cabal
66
syb.cabal
@ -1,66 +0,0 @@
|
|||||||
name: syb
|
|
||||||
version: 0.6
|
|
||||||
x-revision: 1
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Ralf Lammel, Simon Peyton Jones, Jose Pedro Magalhaes
|
|
||||||
maintainer: generics@haskell.org
|
|
||||||
homepage: http://www.cs.uu.nl/wiki/GenericProgramming/SYB
|
|
||||||
bug-reports: http://code.google.com/p/scrapyourboilerplate/issues/list
|
|
||||||
synopsis: Scrap Your Boilerplate
|
|
||||||
description:
|
|
||||||
This package contains the generics system described in the
|
|
||||||
/Scrap Your Boilerplate/ papers (see
|
|
||||||
<http://www.cs.uu.nl/wiki/GenericProgramming/SYB>).
|
|
||||||
It defines the @Data@ class of types permitting folding and unfolding
|
|
||||||
of constructor applications, instances of this class for primitive
|
|
||||||
types, and a variety of traversals.
|
|
||||||
|
|
||||||
category: Generics
|
|
||||||
stability: provisional
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >= 1.8
|
|
||||||
tested-with: GHC >=7.0 && <=7.10.2, GHC==7.11.*
|
|
||||||
|
|
||||||
extra-source-files: tests/*.hs,
|
|
||||||
README
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/dreixel/syb
|
|
||||||
|
|
||||||
Library
|
|
||||||
hs-source-dirs: src
|
|
||||||
build-depends: base >= 4.0 && < 4.10
|
|
||||||
exposed-modules: Data.Generics,
|
|
||||||
Data.Generics.Basics,
|
|
||||||
Data.Generics.Instances,
|
|
||||||
Data.Generics.Aliases,
|
|
||||||
Data.Generics.Schemes,
|
|
||||||
Data.Generics.Text,
|
|
||||||
Data.Generics.Twins,
|
|
||||||
Data.Generics.Builders,
|
|
||||||
|
|
||||||
Generics.SYB,
|
|
||||||
Generics.SYB.Basics,
|
|
||||||
Generics.SYB.Instances,
|
|
||||||
Generics.SYB.Aliases,
|
|
||||||
Generics.SYB.Schemes,
|
|
||||||
Generics.SYB.Text,
|
|
||||||
Generics.SYB.Twins,
|
|
||||||
Generics.SYB.Builders
|
|
||||||
|
|
||||||
if impl(ghc < 6.12)
|
|
||||||
ghc-options: -package-name syb
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
test-suite unit-tests
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: tests
|
|
||||||
main-is: Main.hs
|
|
||||||
build-depends: base
|
|
||||||
, syb
|
|
||||||
, HUnit
|
|
||||||
, containers
|
|
||||||
, mtl
|
|
Loading…
Reference in New Issue
Block a user