comparison python/py-pyyaml/py-pyyaml.sh @ 1222:325631424c65

misc: bring back build function
author David Demelier <markand@malikania.fr>
date Wed, 27 Oct 2021 11:32:16 +0200
parents a47aaf9743a0
children 9867e578b1a9
comparison
equal deleted inserted replaced
1221:a47aaf9743a0 1222:325631424c65
21 PKGLICENSE="MIT" 21 PKGLICENSE="MIT"
22 PKGSUMMARY="YAML parser and emitter for Python" 22 PKGSUMMARY="YAML parser and emitter for Python"
23 PKGDOWNLOAD="https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-$PKGVERSION.tar.gz" 23 PKGDOWNLOAD="https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-$PKGVERSION.tar.gz"
24 PKGDEPENDS="python py-setuptools yaml" 24 PKGDEPENDS="python py-setuptools yaml"
25 25
26 rm -rf PyYAML-$PKGVERSION 26 build()
27 tar xvf PyYAML-$PKGVERSION.tar.gz 27 {
28 cd PyYAML-$PKGVERSION 28 rm -rf PyYAML-$PKGVERSION
29 tar xvf PyYAML-$PKGVERSION.tar.gz
30 cd PyYAML-$PKGVERSION
29 31
30 python setup.py build 32 python setup.py build
31 python setup.py install --root=$DESTDIR --prefix=/usr 33 python setup.py install --root=$DESTDIR --prefix=/.
32 34
33 cd .. 35 cd ..
34 rm -rf PyYAML-$PKGVERSION 36 rm -rf PyYAML-$PKGVERSION
37 }