Mercurial > vanilla
comparison python/py-editorconfig/py-editorconfig.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 297b5eef115e |
children | 57dc83a39b13 |
comparison
equal
deleted
inserted
replaced
1215:3214f7fed454 | 1216:6710613b88b9 |
---|---|
22 PKGLICENSE="BSD PSF" | 22 PKGLICENSE="BSD PSF" |
23 PKGSUMMARY="EditorConfig File Locator and Interpreter for Python" | 23 PKGSUMMARY="EditorConfig File Locator and Interpreter for Python" |
24 PKGDOWNLOAD="https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$PKGVERSION.tar.gz" | 24 PKGDOWNLOAD="https://pypi.io/packages/source/E/EditorConfig/EditorConfig-$PKGVERSION.tar.gz" |
25 PKGDEPENDS="python" | 25 PKGDEPENDS="python" |
26 | 26 |
27 build() | 27 rm -rf EditorConfig-$PKGVERSION |
28 { | 28 tar xvf EditorConfig-$PKGVERSION.tar.gz |
29 rm -rf EditorConfig-$PKGVERSION | 29 cd EditorConfig-$PKGVERSION |
30 tar xvf EditorConfig-$PKGVERSION.tar.gz | |
31 cd EditorConfig-$PKGVERSION | |
32 | 30 |
33 python setup.py install --root=$DESTDIR --prefix=/. | 31 python setup.py install --root=$DESTDIR --prefix=/. |
34 | 32 |
35 cd .. | 33 cd .. |
36 rm -rf EditorConfig-$PKGVERSION | 34 rm -rf EditorConfig-$PKGVERSION |
37 } |