wok-current diff python-turbogears/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (5 days ago) |
parents | 1df6fa555414 |
children |
line diff
1.1 --- a/python-turbogears/receipt Thu Jan 13 18:29:05 2022 +0000 1.2 +++ b/python-turbogears/receipt Fri Dec 20 16:13:23 2024 +0000 1.3 @@ -1,20 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-turbogears" 1.7 -VERSION="1.1.1" 1.8 +VERSION="1.5.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Python web application framework." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://pypi.org/project/TurboGears/" 1.14 +REPOLOGY="python:turbogears" 1.15 + 1.16 SOURCE="TurboGears" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.turbogears.org/" 1.19 -WGET_URL="http://files.turbogears.org/eggs/$TARBALL" 1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.21 1.22 -DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \ 1.23 -python-paste python-pastedeploy python-pastescript python-formencode \ 1.24 -python-decoratortools python-extremes python-simplejson python-peak-rules" 1.25 -BUILD_DEPENDS="$DEPENDS python-dev python-setuptools" 1.26 +DEPENDS="psycopg python python-cheetah python-cherrypy python-decoratortools 1.27 + python-extremes python-formencode python-kid python-paste 1.28 + python-pastedeploy python-pastescript python-peak-rules 1.29 + python-simplejson sqlobject" 1.30 +BUILD_DEPENDS="python-dev python-setuptools" 1.31 1.32 current_version() 1.33 { 1.34 @@ -25,28 +28,31 @@ 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 - sed -i -e 's|http://pypi|https://pypi|' -e \ 1.39 - 's|sys, os|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \ 1.40 - tools/tgsetup.py ez_setup.py 1.41 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.42 +# 1.5.1 removed 1.43 +# sed -i -e 's|http://pypi|https://pypi|' -e \ 1.44 +# 's|sys, os|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \ 1.45 +# tools/tgsetup.py ez_setup.py 1.46 +# PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.47 # Tgsetup dont build TurboGearsKid and friends if there are already 1.48 # installed, so remove python-turbogears before building. 1.49 - if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then 1.50 - yes | tazpkg remove python-turbogears 1.51 - fi 1.52 +# if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then 1.53 +# yes | tazpkg remove python-turbogears 1.54 +# fi 1.55 # Use tgsetup.py to bootstrap installation with all deps. It will 1.56 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid. 1.57 - cd $src/tools 1.58 - DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages" 1.59 - mkdir -p $DESTDIR 1.60 - PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr" 1.61 +# cd $src/tools 1.62 +# DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages" 1.63 +# mkdir -p $DESTDIR 1.64 +# PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr" 1.65 + 1.66 + python setup.py install --root=$DESTDIR 1.67 } 1.68 1.69 # Rules to gen a SliTaz package suitable for Tazpkg. 1.70 genpkg_rules() 1.71 { 1.72 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.73 - cp -a $install/usr $fs 1.74 - rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py* 1.75 +# PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.76 + cp -a $install/usr $fs 1.77 +# rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py* 1.78 } 1.79