Accepting request 1188674 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1188674 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pandoc-cli?expand=0&rev=9
This commit is contained in:
commit
95a316d911
3
pandoc-cli-3.2.1.tar.gz
Normal file
3
pandoc-cli-3.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3c43f47096674985711c10c4b798f1930e0687a4f15491574f6f753916d484de
|
||||||
|
size 94755
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4571d9a857a88e7b26fd071db531397f417cf838724fe3120c69db54cd5dd10e
|
|
||||||
size 94489
|
|
@ -1,97 +0,0 @@
|
|||||||
cabal-version: 2.4
|
|
||||||
name: pandoc-cli
|
|
||||||
version: 3.2
|
|
||||||
x-revision: 1
|
|
||||||
build-type: Simple
|
|
||||||
license: GPL-2.0-or-later
|
|
||||||
license-file: COPYING.md
|
|
||||||
copyright: (c) 2006-2022 John MacFarlane
|
|
||||||
author: John MacFarlane <jgm@berkeley.edu>
|
|
||||||
maintainer: John MacFarlane <jgm@berkeley.edu>
|
|
||||||
bug-reports: https://github.com/jgm/pandoc/issues
|
|
||||||
stability: alpha
|
|
||||||
homepage: https://pandoc.org
|
|
||||||
category: Text
|
|
||||||
synopsis: Conversion between documentation formats
|
|
||||||
description: Pandoc-cli provides a command-line executable that uses the
|
|
||||||
pandoc library to convert between markup formats.
|
|
||||||
-- data-files:
|
|
||||||
extra-source-files:
|
|
||||||
man/pandoc.1
|
|
||||||
man/pandoc-lua.1
|
|
||||||
man/pandoc-server.1
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: git://github.com/jgm/pandoc.git
|
|
||||||
|
|
||||||
flag lua
|
|
||||||
description: Support custom modifications and conversions with the
|
|
||||||
pandoc Lua scripting engine.
|
|
||||||
default: True
|
|
||||||
|
|
||||||
flag server
|
|
||||||
Description: Include support for running pandoc as an HTTP server.
|
|
||||||
Default: True
|
|
||||||
|
|
||||||
flag nightly
|
|
||||||
Description: Add '-nightly-COMPILEDATE' to the output of '--version'.
|
|
||||||
Default: False
|
|
||||||
|
|
||||||
common common-options
|
|
||||||
default-language: Haskell2010
|
|
||||||
other-extensions: OverloadedStrings
|
|
||||||
build-depends: base >= 4.12 && < 5
|
|
||||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
|
||||||
-Wincomplete-record-updates
|
|
||||||
-Wnoncanonical-monad-instances
|
|
||||||
-Wcpp-undef
|
|
||||||
-Wincomplete-uni-patterns
|
|
||||||
-Widentities
|
|
||||||
-Wpartial-fields
|
|
||||||
-Wmissing-signatures
|
|
||||||
-fhide-source-paths
|
|
||||||
|
|
||||||
if impl(ghc >= 8.10)
|
|
||||||
ghc-options: -Wunused-packages
|
|
||||||
|
|
||||||
if impl(ghc >= 9.0)
|
|
||||||
ghc-options: -Winvalid-haddock
|
|
||||||
|
|
||||||
if os(windows)
|
|
||||||
cpp-options: -D_WINDOWS
|
|
||||||
|
|
||||||
common common-executable
|
|
||||||
import: common-options
|
|
||||||
ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
|
|
||||||
|
|
||||||
executable pandoc
|
|
||||||
import: common-executable
|
|
||||||
hs-source-dirs: src
|
|
||||||
main-is: pandoc.hs
|
|
||||||
buildable: True
|
|
||||||
-- Note: we always link to an exact version of pandoc, with the
|
|
||||||
-- same version as this package:
|
|
||||||
build-depends: pandoc == 3.2,
|
|
||||||
text
|
|
||||||
other-modules: PandocCLI.Lua
|
|
||||||
, PandocCLI.Server
|
|
||||||
if flag(nightly)
|
|
||||||
cpp-options: -DNIGHTLY
|
|
||||||
build-depends: template-haskell,
|
|
||||||
time
|
|
||||||
if flag(server)
|
|
||||||
build-depends: pandoc-server >= 0.1.0.6 && < 0.2,
|
|
||||||
wai-extra >= 3.0.24,
|
|
||||||
warp,
|
|
||||||
safe
|
|
||||||
hs-source-dirs: server
|
|
||||||
else
|
|
||||||
hs-source-dirs: no-server
|
|
||||||
|
|
||||||
if flag(lua)
|
|
||||||
build-depends: hslua-cli >= 1.4.1 && < 1.5,
|
|
||||||
pandoc-lua-engine >= 0.2.1 && < 0.3,
|
|
||||||
temporary >= 1.1 && < 1.4
|
|
||||||
hs-source-dirs: lua
|
|
||||||
else
|
|
||||||
hs-source-dirs: no-lua
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 24 21:19:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update pandoc-cli to version 3.2.1.
|
||||||
|
Upstream does not provide a change log file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 15 15:27:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
Wed May 15 15:27:11 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -17,13 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: pandoc-cli
|
Name: pandoc-cli
|
||||||
Version: 3.2
|
Version: 3.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Conversion between documentation formats
|
Summary: Conversion between documentation formats
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://hackage.haskell.org/package/%{name}
|
URL: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -57,7 +56,6 @@ convert between markup formats.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
cp -p %{SOURCE1} %{name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define cabal_configure_options -f+lua -f+server
|
%define cabal_configure_options -f+lua -f+server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user