Mercurial > vanilla
view python/py-editorconfig/py-editorconfig.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 |
line wrap: on
line source
#!/bin/sh # # Copyright (c) 2019 Stéphane Péquignot <contact@stephanepequignot.fr> # 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-editorconfig PKGVERSION=0.12.2 PKGREVISION=1 PKGLICENSE="BSD PSF" PKGSUMMARY="EditorConfig File Locator and Interpreter for Python" PKGDOWNLOAD="https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$PKGVERSION.tar.gz" PKGDEPENDS="python/python" build() { rm -rf EditorConfig-$PKGVERSION tar xvaf EditorConfig-$PKGVERSION.tar.gz pushd EditorConfig-$PKGVERSION python setup.py install --root=${DESTDIR:-/} -O1 popd rm -rf EditorConfig-$PKGVERSION }