wok-6.x view python-singledispatch/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | 94321308741e |
children | 814362194a8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-singledispatch"
4 SOURCE="singledispatch"
5 VERSION="3.4.0.3"
6 CATEGORY="development"
7 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="https://files.pythonhosted.org/packages/d9/e9/513ad8dc17210db12cb14f2d4d190d618fb87dd38814203ea71c87ba5b68/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }