annotate python/py-docutils/py-docutils.sh @ 606:25cecc6dca48

vanilla: use POSIX shell and busybox tar
author David Demelier <markand@malikania.fr>
date Thu, 18 Jul 2019 07:26:43 +0200
parents bad483aace64
children 8580d997f05b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
1 #!/bin/sh
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
2 #
f169a2d6faa8 python/py-docutils: initial import, closes #1128
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: 63
diff changeset
4 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
63
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 #
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
9 #
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
17 #
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
18
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
19 PKGNAME=py-docutils
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
20 PKGVERSION=0.14
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
21 PKGREVISION=1
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
22 PKGLICENSE="BSD2CLAUSE GPLv3"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
23 PKGSUMMARY="Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
24 PKGDOWNLOAD="http://downloads.sourceforge.net/docutils/docutils-$PKGVERSION.tar.gz"
177
5f236cd77524 dev/mercurial: use python 2
David Demelier <markand@malikania.fr>
parents: 143
diff changeset
25 PKGDEPENDS="python/python python/python2"
63
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
27 build()
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
28 {
252
9e95fda0e5c6 vanilla: fix many packages
David Demelier <markand@malikania.fr>
parents: 177
diff changeset
29 for py in python python2; do
9e95fda0e5c6 vanilla: fix many packages
David Demelier <markand@malikania.fr>
parents: 177
diff changeset
30 rm -rf docutils-$PKGVERSION
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
31 tar xvf docutils-$PKGVERSION.tar.gz
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
32 cd docutils-$PKGVERSION
63
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
33
252
9e95fda0e5c6 vanilla: fix many packages
David Demelier <markand@malikania.fr>
parents: 177
diff changeset
34 $py setup.py build
549
bad483aace64 vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents: 252
diff changeset
35 $py setup.py install --root=${DESTDIR:-/} --prefix=/. -O1
63
f169a2d6faa8 python/py-docutils: initial import, closes #1128
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
36
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
37 cd ..
252
9e95fda0e5c6 vanilla: fix many packages
David Demelier <markand@malikania.fr>
parents: 177
diff changeset
38 rm -rf docutils-$PKGVERSION
9e95fda0e5c6 vanilla: fix many packages
David Demelier <markand@malikania.fr>
parents: 177
diff changeset
39 done
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 63
diff changeset
40 }