# HG changeset patch # User Aleksej Bobylev # Date 1528295767 -10800 # Node ID 0d594692dc49de8505e2614c143687f3c247dfc9 # Parent 2b1b5432c9c8569da6f879d69b807db844d42668 cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru diff -r 2b1b5432c9c8 -r 0d594692dc49 cookutils/receipt --- a/cookutils/receipt Wed Jun 06 13:33:47 2018 +0300 +++ b/cookutils/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="cookutils" -VERSION="1068" +VERSION="1071" CATEGORY="base-system" SHORT_DESC="SliTaz packages builder new generation" MAINTAINER="pankso@slitaz.org" diff -r 2b1b5432c9c8 -r 0d594692dc49 python-alabaster/receipt --- a/python-alabaster/receipt Wed Jun 06 13:33:47 2018 +0300 +++ b/python-alabaster/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -6,7 +6,7 @@ SHORT_DESC="A configurable sidebar-enabled Sphinx theme" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.python.org/pypi/alabaster" +WEB_SITE="https://pypi.org/project/alabaster" BUILD_DEPENDS="python" diff -r 2b1b5432c9c8 -r 0d594692dc49 python-crank/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-crank/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt v2. + +PACKAGE="python-crank" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="Generalization of dispatch mechanism for use across frameworks" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/crank/" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR crank +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*crank-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 2b1b5432c9c8 -r 0d594692dc49 python-repoze.lru/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-repoze.lru/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt v2. + +PACKAGE="python-repoze.lru" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="A tiny LRU cache implementation and decorator" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/repoze.lru/" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR repoze.lru +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*repoze.lru-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 2b1b5432c9c8 -r 0d594692dc49 python-turbogears/receipt --- a/python-turbogears/receipt Wed Jun 06 13:33:47 2018 +0300 +++ b/python-turbogears/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -1,43 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="python-turbogears" -VERSION="1.1.1" +VERSION="latest" CATEGORY="network" -SHORT_DESC="Python web application framework." +SHORT_DESC="Python web application framework" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -SOURCE="TurboGears" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.turbogears.org/" -WGET_URL="http://files.turbogears.org/eggs/$TARBALL" +WEB_SITE="https://pypi.org/project/TurboGears2/" -DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \ -python-paste python-pastedeploy python-pastescript python-formencode \ -python-decoratortools python-extremes python-simplejson python-peak-rules" -BUILD_DEPENDS="$DEPENDS python-dev" +BUILD_DEPENDS="python python-webob python-crank python-repoze.lru \ +python-markupsafe" -# Rules to configure and make the package. -compile_rules() -{ - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - # Tgsetup dont build TurboGearsKid and friends if there are already - # installed, so remove python-turbogears before building. - if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then - yes | tazpkg remove python-turbogears - fi - # Use tgsetup.py to bootstrap installation with all deps. It will - # build: TurbuGears, TurboCheetah, TurboJson and TurboKid. - cd $src/tools - DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages" - mkdir -p $DESTDIR - PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr" +compile_rules() { + pip install --no-compile --root=$DESTDIR TurboGears2 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - cp -a $install/usr $fs - rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py* +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*TurboGears2-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python python-webob python-crank python-repoze.lru \ + python-markupsafe" } - diff -r 2b1b5432c9c8 -r 0d594692dc49 python-webob/receipt --- a/python-webob/receipt Wed Jun 06 13:33:47 2018 +0300 +++ b/python-webob/receipt Wed Jun 06 17:36:07 2018 +0300 @@ -1,28 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="python-webob" -VERSION="1.0" +VERSION="latest-1.7" CATEGORY="development" SHORT_DESC="WSGI request and response object" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -SOURCE="WebOb" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://pypi.python.org/pypi/$SOURCE/" -WGET_URL="$WEB_SITE/packages/source/W/$SOURCE/$TARBALL" -TAGS="python" +WEB_SITE="https://pypi.org/project/WebOb/" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + # python-turbogears require "WebOb<1.8.0,>=1.2" + pip install --no-compile --root=$DESTDIR "WebOb<1.8.0,>=1.2" } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*WebOb-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" + TAGS="python" }