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

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