# HG changeset patch # User Hans-G?nter Theisgen # Date 1578055785 -3600 # Node ID 12c4c5c2917b53a8237ec85a3dcf675d3fea3e1b # Parent 9cb741af437790c9ab671957ac539896cb00aa99 created recipe for python-ply diff -r 9cb741af4377 -r 12c4c5c2917b python-ply/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ply/receipt Fri Jan 03 13:49:45 2020 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="python-ply" +VERSION="3.11" +CATEGORY="development" +TAGS="python" +SHORT_DESC="lex and yacc implementation for Python." +MAINTAINER="maintainer@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/ply/" + +SOURCE="ply" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="http://www.dabeaz.com/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python python-dev python-setuptools" + +HOST_ARCH="i486 arm" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}