wok-next diff python-singledispatch/receipt @ rev 21135
Up libgcrypt (1.8.4), libpgp-error (1.34), libxml2 (2.9.9), libxslt (1.1.33).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 20 16:02:24 2019 +0200 (2019-01-20) |
parents | 8b5b2a6d07b8 |
children |
line diff
1.1 --- a/python-singledispatch/receipt Fri Sep 14 01:56:52 2018 +0300 1.2 +++ b/python-singledispatch/receipt Sun Jan 20 16:02:24 2019 +0200 1.3 @@ -1,23 +1,25 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="singledispatch" 1.7 PACKAGE="python-singledispatch" 1.8 -ORIGIN="singledispatch" 1.9 -VERSION="latest" 1.10 +VERSION="3.4.0.3" 1.11 CATEGORY="python" 1.12 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3" 1.13 MAINTAINER="al.bobylev@gmail.com" 1.14 LICENSE="MIT" 1.15 WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.16 -REPOLOGY="${PACKAGE/-/:}" 1.17 +HOST_ARCH="any" 1.18 +REPOLOGY="python:singledispatch" 1.19 1.20 -BUILD_DEPENDS="python python-six" 1.21 +BUILD_DEPENDS="python python-six python3 python3-six" 1.22 +SPLIT="${PACKAGE/python/python3}:3" 1.23 1.24 compile_rules() { 1.25 - pip install --no-compile --root=$DESTDIR $ORIGIN 1.26 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.27 } 1.28 1.29 genpkg_rules() { 1.30 - VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log) 1.31 copy @std 1.32 - DEPENDS="python python-six" 1.33 + py="${PACKAGE%%-*}" # python/python3 1.34 + DEPENDS="$py $py-six" 1.35 }