wok-current rev 22535
created recipe for python-ply
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 13:49:45 2020 +0100 (2020-01-03) |
parents | 9cb741af4377 |
children | 37dbe92b4822 |
files | python-ply/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-ply/receipt Fri Jan 03 13:49:45 2020 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-ply" 1.7 +VERSION="3.11" 1.8 +CATEGORY="development" 1.9 +TAGS="python" 1.10 +SHORT_DESC="lex and yacc implementation for Python." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="BSD" 1.13 +WEB_SITE="https://pypi.org/project/ply/" 1.14 + 1.15 +SOURCE="ply" 1.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 +WGET_URL="http://www.dabeaz.com/$SOURCE/$TARBALL" 1.18 + 1.19 +DEPENDS="python" 1.20 +BUILD_DEPENDS="python python-dev python-setuptools" 1.21 + 1.22 +HOST_ARCH="i486 arm" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + python setup.py install --root=$DESTDIR 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/usr $fs 1.34 +}