wok-next diff python-routes/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 92698cd69f34 |
children | d5aab818505e |
line diff
1.1 --- a/python-routes/receipt Fri Jul 13 17:30:55 2018 +0300 1.2 +++ b/python-routes/receipt Tue Oct 02 22:23:34 2018 +0300 1.3 @@ -1,31 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="Routes" 1.8 PACKAGE="python-routes" 1.9 -VERSION="1.12.3" 1.10 -CATEGORY="development" 1.11 +VERSION="2.4.1" 1.12 +CATEGORY="python" 1.13 SHORT_DESC="Routing Recognition and Generation Tools" 1.14 MAINTAINER="taziden@slitaz.org" 1.15 LICENSE="BSD" 1.16 -WEB_SITE="http://pylonshq.com" 1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.18 +HOST_ARCH="any" 1.19 REPOLOGY="python:routes" 1.20 1.21 -SOURCE="Routes" 1.22 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.23 -WGET_URL="http://cdn.pylonshq.com/download/1.0/$TARBALL" 1.24 -TAGS="python" 1.25 +BUILD_DEPENDS="python python-repoze.lru python-six \ 1.26 +python3 python3-repoze.lru python3-six" 1.27 +SPLIT="${PACKAGE/python/python3}:3" 1.28 1.29 -DEPENDS="python" 1.30 -BUILD_DEPENDS="python python-dev" 1.31 - 1.32 -# Rules to configure and make the package. 1.33 -compile_rules() 1.34 -{ 1.35 - python setup.py install --root=$DESTDIR 1.36 +compile_rules() { 1.37 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - cp -a $install/usr $fs 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + py="${PACKAGE%%-*}" # python/python3 1.47 + DEPENDS="$py $py-repoze.lru $py-six" 1.48 } 1.49 -