annotate python/py-ansicolor/py-ansicolor.sh @ 680:81757424e5e9

qt/qtmultimedia: initial import, closes #1533
author David Demelier <markand@malikania.fr>
date Wed, 31 Jul 2019 20:50:00 +0200
parents 8580d997f05b
children a133976e0783
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>
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 #
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
18
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
19 PKGNAME=py-ansicolor
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
20 PKGVERSION=0.2.6
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
21 PKGREVISION=1
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
22 PKGLICENSE="APACHE20"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
23 PKGSUMMARY="Library to produce ansi color output and colored highlighting and diffing"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
24 PKGDOWNLOAD="https://files.pythonhosted.org/packages/source/a/ansicolor/ansicolor-$PKGVERSION.tar.gz"
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
25 PKGDEPENDS="python/python"
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
27 build()
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
28 {
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
29 rm -rf ansicolor-$PKGVERSION
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 143
diff changeset
30 tar xvf ansicolor-$PKGVERSION.tar.gz
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 143
diff changeset
31 cd ansicolor-$PKGVERSION
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
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=/.
64
d942093d3d29 python/py-ansicolor: initial import, closes #1119
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 ..
143
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
36 rm -rf ansicolor-$PKGVERSION
329cad4dc6b0 python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents: 64
diff changeset
37 }