wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-singledispatch/receipt Fri Sep 14 01:56:52 2018 +0300 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="python-singledispatch" 1.7 +ORIGIN="singledispatch" 1.8 +VERSION="latest" 1.9 +CATEGORY="python" 1.10 +SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.14 +REPOLOGY="${PACKAGE/-/:}" 1.15 + 1.16 +BUILD_DEPENDS="python python-six" 1.17 + 1.18 +compile_rules() { 1.19 + pip install --no-compile --root=$DESTDIR $ORIGIN 1.20 +} 1.21 + 1.22 +genpkg_rules() { 1.23 + VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log) 1.24 + copy @std 1.25 + DEPENDS="python python-six" 1.26 +}