wok annotate python-singledispatch/receipt @ rev 21583

Up ffserver (4.1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 20:44:36 2019 +0200 (2019-05-19)
parents d84389dbdeb2
children 1df6fa555414
rev   line source
pascal@20445 1 # SliTaz package receipt.
pascal@20445 2
pascal@20445 3 PACKAGE="python-singledispatch"
pascal@20445 4 SOURCE="singledispatch"
pascal@20445 5 VERSION="3.4.0.3"
pascal@20445 6 CATEGORY="development"
pascal@20445 7 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3"
pascal@20445 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20445 9 LICENSE="MIT"
pascal@20445 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20445 11 WEB_SITE="https://pypi.org/project/$SOURCE/"
pascal@20445 12 WGET_URL="https://files.pythonhosted.org/packages/d9/e9/513ad8dc17210db12cb14f2d4d190d618fb87dd38814203ea71c87ba5b68/$TARBALL"
pascal@20445 13
pascal@20445 14 DEPENDS="python"
pascal@21582 15 BUILD_DEPENDS="python python-setuptools"
pascal@20445 16
pascal@20445 17 # Rules to configure and make the package.
pascal@20445 18 compile_rules()
pascal@20445 19 {
pascal@20445 20 python setup.py install --root=$DESTDIR
pascal@20445 21 }
pascal@20445 22
pascal@20445 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20445 24 genpkg_rules()
pascal@20445 25 {
pascal@20445 26 cp -a $install/usr $fs
pascal@20445 27 }