annotate python/py-dateutil/py-dateutil.sh @ 63:f169a2d6faa8

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