annotate python/py-commonmark/py-commonmark.sh @ 1019:ddab65a5b3f5

vanilla: use /bin/busybox sh as default shell
author David Demelier <markand@malikania.fr>
date Thu, 29 Aug 2019 23:35:00 +0200
parents a133976e0783
children 297b5eef115e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1019
ddab65a5b3f5 vanilla: use /bin/busybox sh as default shell
David Demelier <markand@malikania.fr>
parents: 902
diff changeset
1 #!/bin/busybox sh
66
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>
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
4 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
66
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # 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
7 # 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
8 # 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
9 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # 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
11 # 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
12 # 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
13 # 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
14 # 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
15 # 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
16 # 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
17 #
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
18
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
19 PKGNAME=py-commonmark
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
20 PKGVERSION=0.8.0
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
21 PKGREVISION=1
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
22 PKGLICENSE="BSD3CLAUSE"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
23 PKGSUMMARY="Python parser for the CommonMark Markdown spec"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
24 PKGDOWNLOAD="https://github.com/rtfd/CommonMark-py/archive/$PKGVERSION.tar.gz"
902
a133976e0783 vanilla: remove all origins, closes #2203
David Demelier <markand@malikania.fr>
parents: 612
diff changeset
25 PKGDEPENDS="python"
66
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
27 build()
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
28 {
612
8580d997f05b python: fix packages with FHS
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
29 rm -rf commonmark.py-$PKGVERSION
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 143
diff changeset
30 tar xvf $PKGVERSION.tar.gz
612
8580d997f05b python: fix packages with FHS
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
31 cd commonmark.py-$PKGVERSION
66
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
32
612
8580d997f05b python: fix packages with FHS
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
33 python setup.py install --root=$DESTDIR --prefix=/.
66
ae82a59a4fe0 python/py-commonmark: initial import, closes #1122
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
34
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 143
diff changeset
35 cd ..
612
8580d997f05b python: fix packages with FHS
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
36 rm -rf commonmark.py-$PKGVERSION
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 66
diff changeset
37 }