Mercurial > vanilla
annotate python/py-pygments/py-pygments.sh @ 326:702224462954
perl/perl-locale-gettext: initial import, closes #1422
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 26 Mar 2019 20:40:00 +0100 |
parents | 329cad4dc6b0 |
children | 25cecc6dca48 |
rev | line source |
---|---|
32
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
18 PKGNAME=py-pygments |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
19 PKGVERSION=2.3.1 |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
20 PKGREVISION=1 |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
21 PKGLICENSE="BSD2CLAUSE" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
22 PKGSUMMARY="python syntax highlighter" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
23 PKGDOWNLOAD="https://pypi.org/packages/source/P/Pygments/Pygments-$PKGVERSION.tar.gz" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
24 PKGDEPENDS="python" |
32
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
25 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
26 build() |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
27 { |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
28 rm -rf Pygments-$PKGVERSION |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
29 tar xvaf Pygments-$PKGVERSION.tar.gz |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
30 pushd Pygments-$PKGVERSION |
32
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
31 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
32 python setup.py install --root=${DESTDIR:-/} |
32
f0e059497bfa
python/py-pygments: initial import, closes #1118
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
33 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
34 popd |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
35 rm -rf Pygments-$PKGVERSION |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
32
diff
changeset
|
36 } |