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