Mercurial > vanilla
view python/py-setuptools/py-setuptools.sh @ 427:95095aa8fe3d
vanilla: fix locale directory
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 04 Apr 2019 14:49:17 +0200 |
parents | ab744307e379 |
children | bad483aace64 |
line wrap: on
line source
#!/bin/sh # # Copyright (c) 2019 David Demelier <markand@malikania.fr> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # PKGNAME=py-setuptools PKGVERSION=40.8.0 PKGREVISION=1 PKGLICENSE="PSF" PKGSUMMARY="enhancements to the Python distutils" PKGDOWNLOAD="https://github.com/pypa/setuptools/archive/v$PKGVERSION.tar.gz" PKGDEPENDS="python/python python/python2" build() { rm -rf setuptools-$PKGVERSION tar xvaf v$PKGVERSION.tar.gz pushd setuptools-$PKGVERSION python2 bootstrap.py python2 setup.py install --root=${DESTDIR:-/} -O1 python bootstrap.py python setup.py install --root=${DESTDIR:-/} -O1 popd rm -rf setuptools-$PKGVERSION }