# HG changeset patch # User Pascal Bellard # Date 1537441165 -7200 # Node ID 94321308741ed8e355bc1c12698fce391aa89063 # Parent e9d32d74d80bd65d5e1250cbc933358a3b825148 Add python-singledispatch diff -r e9d32d74d80b -r 94321308741e python-singledispatch/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-singledispatch/receipt Thu Sep 20 12:59:25 2018 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-singledispatch" +SOURCE="singledispatch" +VERSION="3.4.0.3" +CATEGORY="development" +SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://pypi.org/project/$SOURCE/" +WGET_URL="https://files.pythonhosted.org/packages/d9/e9/513ad8dc17210db12cb14f2d4d190d618fb87dd38814203ea71c87ba5b68/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# 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 +}