wok-next rev 20769

cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 17:36:07 2018 +0300 (2018-06-06)
parents 2b1b5432c9c8
children b856fc8d7283
files cookutils/receipt python-alabaster/receipt python-crank/receipt python-repoze.lru/receipt python-turbogears/receipt python-webob/receipt
line diff
     1.1 --- a/cookutils/receipt	Wed Jun 06 13:33:47 2018 +0300
     1.2 +++ b/cookutils/receipt	Wed Jun 06 17:36:07 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cookutils"
     1.7 -VERSION="1068"
     1.8 +VERSION="1071"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages builder new generation"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/python-alabaster/receipt	Wed Jun 06 13:33:47 2018 +0300
     2.2 +++ b/python-alabaster/receipt	Wed Jun 06 17:36:07 2018 +0300
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="A configurable sidebar-enabled Sphinx theme"
     2.5  MAINTAINER="al.bobylev@gmail.com"
     2.6  LICENSE="BSD"
     2.7 -WEB_SITE="https://pypi.python.org/pypi/alabaster"
     2.8 +WEB_SITE="https://pypi.org/project/alabaster"
     2.9  
    2.10  BUILD_DEPENDS="python"
    2.11  
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/python-crank/receipt	Wed Jun 06 17:36:07 2018 +0300
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="python-crank"
     3.7 +VERSION="latest"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Generalization of dispatch mechanism for use across frameworks"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="MIT"
    3.12 +WEB_SITE="https://pypi.org/project/crank/"
    3.13 +
    3.14 +BUILD_DEPENDS="python"
    3.15 +
    3.16 +compile_rules() {
    3.17 +	pip install --no-compile --root=$DESTDIR crank
    3.18 +}
    3.19 +
    3.20 +genpkg_rules() {
    3.21 +	VERSION=$(sed -n '/^Successfully installed/ s|.*crank-||p' $LOGS/$PACKAGE.log)
    3.22 +	copy @std
    3.23 +	DEPENDS="python"
    3.24 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/python-repoze.lru/receipt	Wed Jun 06 17:36:07 2018 +0300
     4.3 @@ -0,0 +1,21 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="python-repoze.lru"
     4.7 +VERSION="latest"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="A tiny LRU cache implementation and decorator"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="BSD"
    4.12 +WEB_SITE="https://pypi.org/project/repoze.lru/"
    4.13 +
    4.14 +BUILD_DEPENDS="python"
    4.15 +
    4.16 +compile_rules() {
    4.17 +	pip install --no-compile --root=$DESTDIR repoze.lru
    4.18 +}
    4.19 +
    4.20 +genpkg_rules() {
    4.21 +	VERSION=$(sed -n '/^Successfully installed/ s|.*repoze.lru-||p' $LOGS/$PACKAGE.log)
    4.22 +	copy @std
    4.23 +	DEPENDS="python"
    4.24 +}
     5.1 --- a/python-turbogears/receipt	Wed Jun 06 13:33:47 2018 +0300
     5.2 +++ b/python-turbogears/receipt	Wed Jun 06 17:36:07 2018 +0300
     5.3 @@ -1,43 +1,23 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="python-turbogears"
     5.8 -VERSION="1.1.1"
     5.9 +VERSION="latest"
    5.10  CATEGORY="network"
    5.11 -SHORT_DESC="Python web application framework."
    5.12 +SHORT_DESC="Python web application framework"
    5.13  MAINTAINER="pankso@slitaz.org"
    5.14  LICENSE="MIT"
    5.15 -SOURCE="TurboGears"
    5.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    5.17 -WEB_SITE="http://www.turbogears.org/"
    5.18 -WGET_URL="http://files.turbogears.org/eggs/$TARBALL"
    5.19 +WEB_SITE="https://pypi.org/project/TurboGears2/"
    5.20  
    5.21 -DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \
    5.22 -python-paste python-pastedeploy python-pastescript python-formencode \
    5.23 -python-decoratortools python-extremes python-simplejson python-peak-rules"
    5.24 -BUILD_DEPENDS="$DEPENDS python-dev"
    5.25 +BUILD_DEPENDS="python python-webob python-crank python-repoze.lru \
    5.26 +python-markupsafe"
    5.27  
    5.28 -# Rules to configure and make the package.
    5.29 -compile_rules()
    5.30 -{
    5.31 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    5.32 -	# Tgsetup dont build TurboGearsKid and friends if there are already
    5.33 -	# installed, so remove python-turbogears before building.
    5.34 -	if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
    5.35 -		yes | tazpkg remove python-turbogears
    5.36 -	fi
    5.37 -	# Use tgsetup.py to bootstrap installation with all deps. It will
    5.38 -	# build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
    5.39 -	cd $src/tools
    5.40 -	DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages"
    5.41 -	mkdir -p $DESTDIR
    5.42 -	PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
    5.43 +compile_rules() {
    5.44 +	pip install --no-compile --root=$DESTDIR TurboGears2
    5.45  }
    5.46  
    5.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.48 -genpkg_rules()
    5.49 -{
    5.50 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    5.51 -	cp -a $install/usr $fs
    5.52 -	rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py*
    5.53 +genpkg_rules() {
    5.54 +	VERSION=$(sed -n '/^Successfully installed/ s|.*TurboGears2-||p' $LOGS/$PACKAGE.log)
    5.55 +	copy @std
    5.56 +	DEPENDS="python python-webob python-crank python-repoze.lru \
    5.57 +	python-markupsafe"
    5.58  }
    5.59 -
     6.1 --- a/python-webob/receipt	Wed Jun 06 13:33:47 2018 +0300
     6.2 +++ b/python-webob/receipt	Wed Jun 06 17:36:07 2018 +0300
     6.3 @@ -1,28 +1,23 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="python-webob"
     6.8 -VERSION="1.0"
     6.9 +VERSION="latest-1.7"
    6.10  CATEGORY="development"
    6.11  SHORT_DESC="WSGI request and response object"
    6.12  MAINTAINER="taziden@slitaz.org"
    6.13  LICENSE="MIT"
    6.14 -SOURCE="WebOb"
    6.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    6.16 -WEB_SITE="http://pypi.python.org/pypi/$SOURCE/"
    6.17 -WGET_URL="$WEB_SITE/packages/source/W/$SOURCE/$TARBALL"
    6.18 -TAGS="python"
    6.19 +WEB_SITE="https://pypi.org/project/WebOb/"
    6.20  
    6.21 -DEPENDS="python"
    6.22 -BUILD_DEPENDS="python python-dev"
    6.23 +BUILD_DEPENDS="python"
    6.24  
    6.25 -# Rules to configure and make the package.
    6.26 -compile_rules()
    6.27 -{
    6.28 -	python setup.py install --root=$DESTDIR
    6.29 +compile_rules() {
    6.30 +	# python-turbogears require "WebOb<1.8.0,>=1.2"
    6.31 +	pip install --no-compile --root=$DESTDIR "WebOb<1.8.0,>=1.2"
    6.32  }
    6.33  
    6.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.35 -genpkg_rules()
    6.36 -{
    6.37 -	cp -a $install/usr $fs
    6.38 +genpkg_rules() {
    6.39 +	VERSION=$(sed -n '/^Successfully installed/ s|.*WebOb-||p' $LOGS/$PACKAGE.log)
    6.40 +	copy @std
    6.41 +	DEPENDS="python"
    6.42 +	TAGS="python"
    6.43  }