Accepting request 1136033 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1136033 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-jira-wiki-markup?expand=0&rev=12
This commit is contained in:
commit
e6d8b854ae
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 25 15:31:30 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update jira-wiki-markup to version 1.5.1 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:07:19 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:07:19 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Summary: Handle Jira wiki markup
|
|||||||
License: MIT
|
License: MIT
|
||||||
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: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
@ -78,6 +79,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
96
jira-wiki-markup.cabal
Normal file
96
jira-wiki-markup.cabal
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
cabal-version: 2.4
|
||||||
|
name: jira-wiki-markup
|
||||||
|
version: 1.5.1
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Handle Jira wiki markup
|
||||||
|
description: Parse jira wiki text into an abstract syntax tree for easy
|
||||||
|
transformation to other formats.
|
||||||
|
homepage: https://github.com/tarleb/jira-wiki-markup
|
||||||
|
bug-reports: https://github.com/tarleb/jira-wiki-markup/issues
|
||||||
|
license: MIT
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Albert Krewinkel
|
||||||
|
maintainer: tarleb@zeitkraut.de
|
||||||
|
copyright: © 2019–2023 Albert Krewinkel
|
||||||
|
category: Text
|
||||||
|
build-type: Simple
|
||||||
|
extra-doc-files: README.md
|
||||||
|
, CHANGELOG.md
|
||||||
|
tested-with: GHC == 8.0.2
|
||||||
|
, GHC == 8.2.2
|
||||||
|
, GHC == 8.4.4
|
||||||
|
, GHC == 8.6.5
|
||||||
|
, GHC == 8.8.3
|
||||||
|
, GHC == 8.10.4
|
||||||
|
, GHC == 9.0.2
|
||||||
|
, GHC == 9.2.5
|
||||||
|
, GHC == 9.4.4
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/tarleb/jira-wiki-markup.git
|
||||||
|
|
||||||
|
common common-options
|
||||||
|
build-depends: base >= 4.9 && < 5
|
||||||
|
, text >= 1.1.1 && < 1.3 || >= 2.0 && < 2.2
|
||||||
|
default-language: Haskell2010
|
||||||
|
default-extensions: OverloadedStrings
|
||||||
|
ghc-options: -Wall
|
||||||
|
-Widentities
|
||||||
|
-Wincomplete-record-updates
|
||||||
|
-Wincomplete-uni-patterns
|
||||||
|
-Wmissing-export-lists
|
||||||
|
-Wredundant-constraints
|
||||||
|
-Wunused-type-patterns
|
||||||
|
if impl(ghc >= 8.2)
|
||||||
|
ghc-options: -Wmissing-home-modules
|
||||||
|
if impl(ghc >= 8.4)
|
||||||
|
ghc-options: -fhide-source-paths
|
||||||
|
-Wpartial-fields
|
||||||
|
if impl(ghc >= 8.10)
|
||||||
|
ghc-options: -Wunused-packages
|
||||||
|
|
||||||
|
if impl(ghc >= 9.0)
|
||||||
|
ghc-options: -Winvalid-haddock
|
||||||
|
|
||||||
|
library
|
||||||
|
import: common-options
|
||||||
|
hs-source-dirs: src
|
||||||
|
exposed-modules: Text.Jira.Markup
|
||||||
|
, Text.Jira.Parser
|
||||||
|
, Text.Jira.Parser.Block
|
||||||
|
, Text.Jira.Parser.Core
|
||||||
|
, Text.Jira.Parser.Inline
|
||||||
|
, Text.Jira.Parser.PlainText
|
||||||
|
, Text.Jira.Parser.Shared
|
||||||
|
, Text.Jira.Printer
|
||||||
|
|
||||||
|
build-depends: mtl >= 2.2 && < 2.4
|
||||||
|
, parsec >= 3.1 && < 3.2
|
||||||
|
|
||||||
|
|
||||||
|
executable jira-wiki-markup
|
||||||
|
import: common-options
|
||||||
|
hs-source-dirs: app
|
||||||
|
main-is: Main.hs
|
||||||
|
build-depends: jira-wiki-markup
|
||||||
|
ghc-options: -threaded
|
||||||
|
-rtsopts
|
||||||
|
-with-rtsopts=-N
|
||||||
|
|
||||||
|
test-suite jira-wiki-markup-test
|
||||||
|
import: common-options
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test
|
||||||
|
main-is: jira-wiki-markup-test.hs
|
||||||
|
other-modules: Text.Jira.ParserTests
|
||||||
|
, Text.Jira.Parser.BlockTests
|
||||||
|
, Text.Jira.Parser.InlineTests
|
||||||
|
, Text.Jira.PrinterTests
|
||||||
|
build-depends: jira-wiki-markup
|
||||||
|
, parsec >= 3.1 && < 3.2
|
||||||
|
, tasty
|
||||||
|
, tasty-hunit
|
||||||
|
ghc-options: -threaded
|
||||||
|
-rtsopts
|
||||||
|
-with-rtsopts=-N
|
Loading…
x
Reference in New Issue
Block a user