Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit af1a4c7

Browse files
author
Matthias Koeppe
committed
build/pkgs/pandoc: New script package
1 parent 6b20b84 commit af1a4c7

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

build/pkgs/pandoc/SPKG.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
= Pandoc =
2+
3+
== Description ==
4+
5+
This script package represents the document converter pandoc.
6+
7+
We do not have an SPKG for it. The purpose of this script
8+
package is to associate system package lists with it.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SAGE_SPKG_CONFIGURE([pandoc], [
2+
AC_PATH_PROG([PANDOC], [pandoc])
3+
AS_IF([test -z "$ac_cv_path_PANDOC"], [sage_spkg_install_pandoc=yes])
4+
])

build/pkgs/pandoc/spkg-install

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#! /usr/bin/env bash
2+
echo Error: pandoc, a prerequisite of rst2ipynb, is not installed.
3+
echo Please install it manually, for example using the system packages
4+
echo recommended by ./configure.
5+
exit 1

build/pkgs/pandoc/type

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
optional

build/pkgs/rst2ipynb/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$(PYTHON) | $(PYTHON_TOOLCHAIN) notedown
1+
$(PYTHON) pandoc | $(PYTHON_TOOLCHAIN) notedown
22

33
----------
44
All lines of this file are ignored except the first.

0 commit comments

Comments
 (0)