annotate python/py-ansicolor/py-ansicolor.sh @ 1220:4ccc42bf0284

misc: split .sh with .info
author David Demelier <markand@malikania.fr>
date Thu, 30 Sep 2021 09:26:38 +0200
parents 57dc83a39b13
children a47aaf9743a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1115
297b5eef115e vanilla: change shebangs to /bin/sh
David Demelier <markand@malikania.fr>
parents: 1107
diff changeset
1 #!/bin/sh
64
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>
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
4 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 #
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # 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
7 # 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
8 # 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
9 #
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # 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
11 # 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
12 # 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
13 # 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
14 # 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
15 # 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
16 # 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
17 #
1220
4ccc42bf0284 misc: split .sh with .info
David Demelier <markand@malikania.fr>
parents: 1218
diff changeset
18 . ./py-ansicolor.info
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
19
1216
6710613b88b9 misc: remove build function
David Demelier <markand@malikania.fr>
parents: 1115
diff changeset
20 rm -rf ansicolor-$PKGVERSION
6710613b88b9 misc: remove build function
David Demelier <markand@malikania.fr>
parents: 1115
diff changeset
21 tar xvf ansicolor-$PKGVERSION.tar.gz
6710613b88b9 misc: remove build function
David Demelier <markand@malikania.fr>
parents: 1115
diff changeset
22 cd ansicolor-$PKGVERSION
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
23
1218
57dc83a39b13 misc: switch back to standard FHS
David Demelier <markand@malikania.fr>
parents: 1216
diff changeset
24 python setup.py install --root=$DESTDIR --prefix=/usr
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
25
1216
6710613b88b9 misc: remove build function
David Demelier <markand@malikania.fr>
parents: 1115
diff changeset
26 cd ..
6710613b88b9 misc: remove build function
David Demelier <markand@malikania.fr>
parents: 1115
diff changeset
27 rm -rf ansicolor-$PKGVERSION