diff python/py-pyyaml/py-pyyaml.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
line wrap: on
line diff
--- a/python/py-pyyaml/py-pyyaml.sh	Wed Jul 28 15:24:46 2021 +0200
+++ b/python/py-pyyaml/py-pyyaml.sh	Wed Sep 29 13:49:32 2021 +0200
@@ -23,15 +23,12 @@
 PKGDOWNLOAD="https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-$PKGVERSION.tar.gz"
 PKGDEPENDS="python py-setuptools yaml"
 
-build()
-{
-	rm -rf PyYAML-$PKGVERSION
-	tar xvf PyYAML-$PKGVERSION.tar.gz
-	cd PyYAML-$PKGVERSION
+rm -rf PyYAML-$PKGVERSION
+tar xvf PyYAML-$PKGVERSION.tar.gz
+cd PyYAML-$PKGVERSION
 
-	python setup.py build
-	python setup.py install --root=$DESTDIR --prefix=/.
+python setup.py build
+python setup.py install --root=$DESTDIR --prefix=/.
 
-	cd ..
-	rm -rf PyYAML-$PKGVERSION
-}
+cd ..
+rm -rf PyYAML-$PKGVERSION