Mercurial > vanilla
annotate python/py-setuptools/py-setuptools.sh @ 586:1218a8f753b6
core/busybox: let's re-add /etc/inittab support
While busybox has weird /etc/inittab support the predefined actions without it
are too minimalistic so re-add the support for it but don't install an
/etc/inittab file.
The file /etc/inittab file is still installed with sysvinit but if someone wants
to use busybox's init it should create its own /etc/inittab file with the
busybox syntax and do not install sysvinit afterwards.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Jul 2019 20:35:00 +0200 |
parents | bad483aace64 |
children | 25cecc6dca48 |
rev | line source |
---|---|
214
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 PKGNAME=py-setuptools |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
19 PKGVERSION=40.8.0 |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 PKGREVISION=1 |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
21 PKGLICENSE="PSF" |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
22 PKGSUMMARY="enhancements to the Python distutils" |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
23 PKGDOWNLOAD="https://github.com/pypa/setuptools/archive/v$PKGVERSION.tar.gz" |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
24 PKGDEPENDS="python/python python/python2" |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
25 |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
26 build() |
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
27 { |
549
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
28 for py in python python2; do |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
29 rm -rf v$PKGVERSION |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
30 tar xvaf v$PKGVERSION.tar.gz |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
31 pushd setuptools-$PKGVERSION |
214
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
32 |
549
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
33 $py bootstrap.py |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
34 $py setup.py install --root=${DESTDIR:-/} --prefix=/. -O1 |
214
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
35 |
549
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
36 popd |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
37 rm -rf v$PKGVERSION |
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
214
diff
changeset
|
38 done |
214
ab744307e379
python/py-setuptools: initial import, closes #1395
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
39 } |