annotate python/py-commonmark/py-commonmark.sh @ 139:8076ef442b6c

editors: merge .sh and .info
author David Demelier <markand@malikania.fr>
date Mon, 11 Mar 2019 15:49:38 +0100
parents ae82a59a4fe0
children 329cad4dc6b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
1 #!/bin/sh
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
2 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
3 # Copyright (c) 2019 Stéphane Péquignot <contact@stephanepequignot.fr>
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
4 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
8 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
16 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
17
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
18 source ./py-commonmark.info
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
19
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
20 set -e
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
21
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
22 rm -rf CommonMark-py-$PKGVERSION
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
23 tar xvaf $PKGVERSION.tar.gz
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
24 pushd CommonMark-py-$PKGVERSION
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
25
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26 python setup.py install --root=${DESTDIR:-/} -O1
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
27
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
28 popd
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
29 rm -rf CommonMark-py-$PKGVERSION