wok-next view python-singledispatch/receipt @ rev 20969

Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 01:56:52 2018 +0300 (2018-09-14)
parents
children c9a7a7b42a86
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-singledispatch"
4 ORIGIN="singledispatch"
5 VERSION="latest"
6 CATEGORY="python"
7 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 REPOLOGY="${PACKAGE/-/:}"
13 BUILD_DEPENDS="python python-six"
15 compile_rules() {
16 pip install --no-compile --root=$DESTDIR $ORIGIN
17 }
19 genpkg_rules() {
20 VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log)
21 copy @std
22 DEPENDS="python python-six"
23 }