Accepting request 759405 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/759405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-haddock-library?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2019-12-27 12:53:44 +00:00 committed by Git OBS Bridge
commit f94ac1bad3
5 changed files with 147 additions and 11 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Dec 23 17:45:40 UTC 2019 - psimons@suse.com
- Update haddock-library to version 1.8.0.
## Changes in version 1.8.0
* Support inline markup in markdown-style links (#875)
* Remove now unused `Documentation.Haddock.Utf8` module.
This module was anyways copied from the `utf8-string` package.
-------------------------------------------------------------------
Fri Nov 8 16:13:49 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Wed Oct 17 02:01:32 UTC 2018 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-haddock-library
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,13 @@
%global pkg_name haddock-library
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.7.0
Version: 1.8.0
Release: 0
Summary: Library exposing some functionality of Haddock
License: BSD-3-Clause
Group: Development/Libraries/Haskell
License: BSD-2-Clause
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-bytestring-devel
BuildRequires: ghc-containers-devel
@ -37,19 +37,22 @@ BuildRequires: ghc-transformers-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-tree-diff-devel
%endif
%description
Haddock is a documentation-generation tool for Haskell libraries.
These modules expose some functionality of it without pulling in the GHC
dependency. Please note that the API is likely to change so specify upper
bounds in your project. For interacting with Haddock itself, see the [haddock
package](https://hackage.haskell.org/package/haddock).
dependency. Please note that the API is likely to change so be sure to specify
upper bounds in your projects. For interacting with Haddock itself, see the
[haddock package](https://hackage.haskell.org/package/haddock).
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Haskell
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
@ -61,6 +64,7 @@ files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7c2794a7eb352824f098cafa07bc0506f2c3633808bfbf4c64aef0ba664d011
size 26315

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7093a70308a548c1fa46c01fe236bc27125311159ad797304e6b0ee893d8b797
size 30918

116
haddock-library.cabal Normal file
View File

@ -0,0 +1,116 @@
cabal-version: 2.2
name: haddock-library
version: 1.8.0
x-revision: 1
synopsis: Library exposing some functionality of Haddock.
description: Haddock is a documentation-generation tool for Haskell
libraries. These modules expose some
functionality of it without pulling in the GHC
dependency. Please note that the API is likely
to change so be sure to specify upper bounds in
your projects. For interacting with Haddock
itself, see the [haddock package](https://hackage.haskell.org/package/haddock).
license: BSD-2-Clause
license-files: LICENSE
maintainer: Alec Theriault <alec.theriault@gmail.com>, Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
homepage: http://www.haskell.org/haddock/
bug-reports: https://github.com/haskell/haddock/issues
category: Documentation
extra-source-files:
CHANGES.md
fixtures/examples/*.input
fixtures/examples/*.parsed
common lib-defaults
default-language: Haskell2010
build-depends:
, base >= 4.7 && < 4.14
, bytestring ^>= 0.9.2.1 || ^>= 0.10.0.0
, containers ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1
, transformers ^>= 0.3.0.0 || ^>= 0.4.1.0 || ^>= 0.5.0.0
, text ^>= 1.2.3.0
, parsec ^>= 3.1.13.0
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances
library
import: lib-defaults
hs-source-dirs: src
exposed-modules:
Documentation.Haddock.Doc
Documentation.Haddock.Markup
Documentation.Haddock.Parser
Documentation.Haddock.Types
other-modules:
Documentation.Haddock.Parser.Util
Documentation.Haddock.Parser.Monad
Documentation.Haddock.Parser.Identifier
test-suite spec
import: lib-defaults
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
src
cpp-options:
-DTEST
other-modules:
Documentation.Haddock.Doc
Documentation.Haddock.Markup
Documentation.Haddock.Parser
Documentation.Haddock.Parser.Monad
Documentation.Haddock.Parser.Util
Documentation.Haddock.Parser.UtilSpec
Documentation.Haddock.ParserSpec
Documentation.Haddock.Types
Documentation.Haddock.Parser.Identifier
build-depends:
, base-compat ^>= 0.9.3 || ^>= 0.11.0
, QuickCheck ^>= 2.11 || ^>= 2.13.2
, deepseq ^>= 1.3.0.0 || ^>= 1.4.0.0
-- NB: build-depends & build-tool-depends have independent
-- install-plans, so it's best to limit to a single major
-- version of `hspec` & `hspec-discover` to ensure
-- intercompatibility
build-depends:
, hspec >= 2.4.4 && < 2.8
build-tool-depends:
, hspec-discover:hspec-discover >= 2.4.4 && < 2.8
test-suite fixtures
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Fixtures.hs
ghc-options: -Wall
hs-source-dirs: fixtures
build-depends:
-- intra-package dependency
, haddock-library
-- constraints inherited via lib:haddock-library component
, base
-- extra dependencies
, base-compat ^>= 0.9.3 || ^>= 0.11.0
, directory ^>= 1.3.0.2
, filepath ^>= 1.4.1.2
, optparse-applicative ^>= 0.15
, tree-diff ^>= 0.1
source-repository head
type: git
subdir: haddock-library
location: https://github.com/haskell/haddock.git