Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
#21512: package notedown
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Monteil committed Sep 26, 2016
1 parent f062c3d commit e1ea92b
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 0 deletions.
30 changes: 30 additions & 0 deletions build/pkgs/notedown/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
= notedown =

== Description ==

Notedown is a simple tool to create IPython notebooks from markdown.

== License ==

BSD 2-Clause License

== Upstream Contact ==

Author: Aaron O'Leary
Home page: https://github.com/aaren/notedown

== Dependencies ==

* Python
* setuptools
* nbformat
* nbconvert
* six
* pandoc_attributes

== Special Update/Build Instructions ==

There are no release numbers, hence find the latest commit, download
https://github.com/aaren/notedown/archive/${COMMIT}.zip and rename it
notedown-${COMMIT:0:8}.zip

4 changes: 4 additions & 0 deletions build/pkgs/notedown/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=notedown-VERSION.zip
sha1=c2ab3710d7ce2dcf8af194ad90f16e37d470f842
md5=43086383f0b9189ae6308d2f6a97853c
cksum=4164456048
5 changes: 5 additions & 0 deletions build/pkgs/notedown/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) setuptools | pip nbformat nbconvert six pandoc_attributes

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
1 change: 1 addition & 0 deletions build/pkgs/notedown/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfda648b
17 changes: 17 additions & 0 deletions build/pkgs/notedown/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

if [ "$SAGE_LOCAL" = "" ]; then
echo "SAGE_LOCAL undefined ... exiting";
echo "Maybe run 'sage -sh'?"
exit 1
fi

cd src

$PIP_INSTALL .

if [ $? -ne 0 ]; then
echo "Error installing notedown ... exiting"
exit 1
fi

1 change: 1 addition & 0 deletions build/pkgs/notedown/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
optional

0 comments on commit e1ea92b

Please sign in to comment.