wok-next rev 19763
Up libffi, python, some python-* packages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 10 21:12:27 2017 +0300 (2017-06-10) |
parents | 107066b600c7 |
children | 1406b58b9671 |
files | alsaplayer/stuff/gcc44.patch libffi-dev/receipt libffi/receipt python-aeroolib/receipt python-antlr/receipt python-apsw/receipt python-asterisk/receipt python-babel/receipt python-barcode/receipt python-beaker/receipt python-blessings/receipt python-bpython/receipt python-bpython/stuff/bpython.desktop python-certifi/receipt python-chardet/receipt python-curtsies/receipt python-dev/receipt python-funcsigs/receipt python-greenlet/receipt python-idle/receipt python-idle/stuff/python-idle.desktop python-idna/receipt python-pygments/receipt python-pytz/receipt python-requests/receipt python-six/receipt python-urllib3/receipt python-wcwidth/receipt python/receipt python/stuff/applications/python-idle.desktop |
line diff
1.1 --- a/alsaplayer/stuff/gcc44.patch Sat Jun 10 12:36:39 2017 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,31 +0,0 @@ 1.4 ---- app/ControlSocket.cpp 2009-07-04 22:34:38.000000000 +0200 1.5 -+++ app/ControlSocket.cpp 2009-07-04 22:35:53.000000000 +0200 1.6 -@@ -28,6 +28,7 @@ 1.7 - #include <sys/un.h> 1.8 - #include <csignal> 1.9 - #include <pwd.h> 1.10 -+#include <climits> 1.11 - #include "control.h" 1.12 - #include "message.h" 1.13 - #include "Playlist.h" 1.14 - 1.15 ---- input/flac/FlacPlugin.cpp Mon Oct 29 22:00:16 2007 1.16 -+++ input/flac/FlacPlugin.cpp Thu Aug 6 13:42:44 2009 1.17 -@@ -239,7 +239,7 @@ 1.18 - else 1.19 - { 1.20 - // use stream name 1.21 -- char * fname = strrchr (f->name ().c_str (), '/'); 1.22 -+ const char * fname = strrchr (f->name ().c_str (), '/'); 1.23 - if (fname) 1.24 - { 1.25 - fname++; 1.26 -@@ -270,7 +270,7 @@ 1.27 - if (strncmp(name, "http://", 7) == 0) { 1.28 - return 0.0; 1.29 - } 1.30 -- char *ext = strrchr(name, '.'); 1.31 -+ const char *ext = strrchr(name, '.'); 1.32 - if (!ext) 1.33 - return 0.0; 1.34 - ext++;
2.1 --- a/libffi-dev/receipt Sat Jun 10 12:36:39 2017 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,19 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="libffi-dev" 2.7 -VERSION="3.2.1" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="libffi devel files." 2.10 -MAINTAINER="rcx@zoominternet.net" 2.11 -WEB_SITE="http://sourceware.org/libffi/" 2.12 -LICENSE="MIT" 2.13 -HOST_ARCH="i486 arm" 2.14 - 2.15 -WANTED="libffi" 2.16 -DEPENDS="libffi" 2.17 - 2.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 -genpkg_rules() 2.20 -{ 2.21 - cook_copy_files *.h *.la *.pc 2.22 -}
3.1 --- a/libffi/receipt Sat Jun 10 12:36:39 2017 +0300 3.2 +++ b/libffi/receipt Sat Jun 10 21:12:27 2017 +0300 3.3 @@ -1,9 +1,9 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="libffi" 3.8 VERSION="3.2.1" 3.9 CATEGORY="development" 3.10 -SHORT_DESC="A portable foreign function interface library." 3.11 +SHORT_DESC="A portable foreign function interface library" 3.12 MAINTAINER="rcx@zoominternet.net" 3.13 LICENSE="MIT" 3.14 WEB_SITE="https://sourceware.org/libffi/" 3.15 @@ -12,7 +12,7 @@ 3.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.17 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" 3.18 3.19 -DEPENDS="glibc-base" 3.20 +SPLIT="libffi-dev" 3.21 3.22 # Rules to configure and make the package. 3.23 compile_rules() 3.24 @@ -32,5 +32,8 @@ 3.25 # Rules to gen a SliTaz package suitable for Tazpkg. 3.26 genpkg_rules() 3.27 { 3.28 - cook_copy_files *.so* 3.29 + case $PACKAGE in 3.30 + libffi) copy @std;; 3.31 + *-dev) copy @dev;; 3.32 + esac 3.33 }
4.1 --- a/python-aeroolib/receipt Sat Jun 10 12:36:39 2017 +0300 4.2 +++ b/python-aeroolib/receipt Sat Jun 10 21:12:27 2017 +0300 4.3 @@ -1,17 +1,17 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="python-aeroolib" 4.8 -SOURCE="aeroolib" 4.9 VERSION="1.0.0" 4.10 CATEGORY="misc" 4.11 -SHORT_DESC="A report creation library for Python." 4.12 +SHORT_DESC="A report creation library for Python" 4.13 MAINTAINER="pascal.bellard@slitaz.org" 4.14 LICENSE="GPL3" 4.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 4.16 WEB_SITE="https://launchpad.net/aeroolib" 4.17 -WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$SOURCE.tar.gz" 4.18 -BUILD_DEPENDS="wget python setuptools" 4.19 -DEPENDS="python" 4.20 + 4.21 +TARBALL="aeroolib-$VERSION.tar.gz" 4.22 +WGET_URL="$WEB_SITE/trunk/$VERSION/+download/aeroolib.tar.gz" 4.23 + 4.24 +BUILD_DEPENDS="python" 4.25 4.26 # Rules to configure and make the package. 4.27 compile_rules() 4.28 @@ -23,5 +23,6 @@ 4.29 # Rules to gen a SliTaz package suitable for Tazpkg. 4.30 genpkg_rules() 4.31 { 4.32 - cp -a $install/* $fs 4.33 + copy @std 4.34 + DEPENDS="python" 4.35 }
5.1 --- a/python-antlr/receipt Sat Jun 10 12:36:39 2017 +0300 5.2 +++ b/python-antlr/receipt Sat Jun 10 21:12:27 2017 +0300 5.3 @@ -1,18 +1,17 @@ 5.4 -# SliTaz package receipt. 5.5 +# SliTaz package receipt v2. 5.6 5.7 PACKAGE="python-antlr" 5.8 -SOURCE="antlr" 5.9 VERSION="3.4" 5.10 CATEGORY="development" 5.11 -SHORT_DESC="language tool for constructing recognizers, compilers for python." 5.12 +SHORT_DESC="Language tool for constructing recognizers, compilers for Python" 5.13 MAINTAINER="pascal.bellard@slitaz.org" 5.14 LICENSE="BSD" 5.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 5.16 WEB_SITE="http://www.antlr.org/" 5.17 + 5.18 +TARBALL="antlr-$VERSION.tar.gz" 5.19 WGET_URL="${WEB_SITE}download/$TARBALL" 5.20 5.21 -DEPENDS="python" 5.22 -BUILD_DEPENDS="python python-dev setuptools" 5.23 +BUILD_DEPENDS="python" 5.24 5.25 # Rules to configure and make the package. 5.26 compile_rules() 5.27 @@ -25,7 +24,6 @@ 5.28 # Rules to gen a SliTaz package suitable for Tazpkg. 5.29 genpkg_rules() 5.30 { 5.31 - mkdir -p $fs/usr 5.32 - cp -a $install/usr/lib $fs/usr 5.33 + copy @std 5.34 + DEPENDS="python" 5.35 } 5.36 -
6.1 --- a/python-apsw/receipt Sat Jun 10 12:36:39 2017 +0300 6.2 +++ b/python-apsw/receipt Sat Jun 10 21:12:27 2017 +0300 6.3 @@ -1,23 +1,21 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="python-apsw" 6.8 -SOURCE="apsw" 6.9 -VERSION="3.7.16.2-r1" 6.10 +VERSION="3.18.0-r1" 6.11 CATEGORY="development" 6.12 -SHORT_DESC="Python wrapper for SQLite." 6.13 +SHORT_DESC="Python wrapper for SQLite" 6.14 MAINTAINER="pascal.bellard@slitaz.org" 6.15 LICENSE="zlib/libpng" 6.16 -TARBALL="$SOURCE-$VERSION.zip" 6.17 -WEB_SITE="http://code.google.com/p/$PACKAGE/" 6.18 -WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" 6.19 +WEB_SITE="https://github.com/rogerbinns/apsw" 6.20 6.21 -DEPENDS="sqlite" 6.22 +TARBALL="apsw-$VERSION.zip" 6.23 +WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" 6.24 + 6.25 BUILD_DEPENDS="python-dev sqlite-dev" 6.26 6.27 # Rules to configure and make the package. 6.28 compile_rules() 6.29 { 6.30 - cd $src 6.31 python setup.py build && 6.32 python setup.py install --root=$DESTDIR 6.33 } 6.34 @@ -25,5 +23,6 @@ 6.35 # Rules to gen a SliTaz package suitable for Tazpkg. 6.36 genpkg_rules() 6.37 { 6.38 - cp -a $install/usr $fs 6.39 + copy @std 6.40 + DEPENDS="python libsqlite" 6.41 }
7.1 --- a/python-asterisk/receipt Sat Jun 10 12:36:39 2017 +0300 7.2 +++ b/python-asterisk/receipt Sat Jun 10 21:12:27 2017 +0300 7.3 @@ -1,29 +1,24 @@ 7.4 -# SliTaz package receipt. 7.5 +# SliTaz package receipt v2. 7.6 7.7 PACKAGE="python-asterisk" 7.8 -SOURCE="py-Asterisk" 7.9 -VERSION="0.5.1" 7.10 +VERSION="0.5.14" 7.11 CATEGORY="development" 7.12 -SHORT_DESC="Python bindings for the Asterisk Manager API." 7.13 +SHORT_DESC="Python bindings for the Asterisk Manager API" 7.14 MAINTAINER="pascal.bellard@slitaz.org" 7.15 LICENSE="MIT" 7.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 7.17 -WEB_SITE="http://code.google.com/p/py-asterisk/" 7.18 -WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" 7.19 +WEB_SITE="https://pypi.python.org/pypi/py-Asterisk" 7.20 7.21 -DEPENDS="python" 7.22 -BUILD_DEPENDS="python-dev python" 7.23 +BUILD_DEPENDS="python" 7.24 7.25 # Rules to configure and make the package. 7.26 compile_rules() 7.27 { 7.28 - python setup.py build && 7.29 - python setup.py install --root=$DESTDIR 7.30 + pip install --no-compile --root=$DESTDIR py-Asterisk 7.31 } 7.32 7.33 # Rules to gen a SliTaz package suitable for Tazpkg. 7.34 genpkg_rules() 7.35 { 7.36 - mkdir -p $fs 7.37 - cp -a $install/usr $fs 7.38 + copy @std 7.39 + DEPENDS="python" 7.40 }
8.1 --- a/python-babel/receipt Sat Jun 10 12:36:39 2017 +0300 8.2 +++ b/python-babel/receipt Sat Jun 10 21:12:27 2017 +0300 8.3 @@ -1,27 +1,24 @@ 8.4 +# SliTaz package receipt v2. 8.5 + 8.6 PACKAGE="python-babel" 8.7 -VERSION="0.9.6" 8.8 +VERSION="2.4.0" 8.9 CATEGORY="development" 8.10 -SHORT_DESC="A collection of tools for internationalizing Python applications." 8.11 +SHORT_DESC="A collection of tools for internationalizing Python applications" 8.12 MAINTAINER="pascal.bellard@slitaz.org" 8.13 LICENSE="BSD" 8.14 -SOURCE="Babel" 8.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 8.16 -WEB_SITE="http://babel.edgewall.org/" 8.17 -WGET_URL="http://ftp.edgewall.com/pub/babel/$TARBALL" 8.18 +WEB_SITE="https://pypi.python.org/pypi/Babel" 8.19 8.20 -DEPENDS="python" 8.21 -BUILD_DEPENDS="python python-dev setuptools" 8.22 +BUILD_DEPENDS="python-pytz" 8.23 8.24 # Rules to configure and make the package. 8.25 compile_rules() 8.26 { 8.27 - python setup.py build && 8.28 - python setup.py install --root=$DESTDIR 8.29 + pip install --no-compile --root=$DESTDIR Babel 8.30 } 8.31 8.32 # Rules to gen a SliTaz package suitable for Tazpkg. 8.33 genpkg_rules() 8.34 { 8.35 - mkdir -p $fs 8.36 - cp -a $install/usr $fs 8.37 + copy @std 8.38 + DEPENDS="python-pytz" 8.39 }
9.1 --- a/python-barcode/receipt Sat Jun 10 12:36:39 2017 +0300 9.2 +++ b/python-barcode/receipt Sat Jun 10 21:12:27 2017 +0300 9.3 @@ -1,27 +1,24 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="python-barcode" 9.8 VERSION="0.7" 9.9 CATEGORY="development" 9.10 -SHORT_DESC="Create standard barcodes." 9.11 +SHORT_DESC="Create standard barcodes" 9.12 MAINTAINER="pascal.bellard@slitaz.org" 9.13 LICENSE="MIT" 9.14 -SOURCE="pyBarcode" 9.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 9.16 -WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION" 9.17 -WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 9.18 +WEB_SITE="https://pypi.python.org/pypi/pyBarcode" 9.19 9.20 -DEPENDS="python" 9.21 -BUILD_DEPENDS="python setuptools wget" 9.22 +BUILD_DEPENDS="python" 9.23 9.24 # Rules to configure and make the package. 9.25 compile_rules() 9.26 { 9.27 - python setup.py install --root=$DESTDIR 9.28 + pip install --no-compile --root=$DESTDIR pyBarcode 9.29 } 9.30 9.31 # Rules to gen a SliTaz package suitable for Tazpkg. 9.32 genpkg_rules() 9.33 { 9.34 - cp -a $install/usr $fs 9.35 + copy @std 9.36 + DEPENDS="python" 9.37 }
10.1 --- a/python-beaker/receipt Sat Jun 10 12:36:39 2017 +0300 10.2 +++ b/python-beaker/receipt Sat Jun 10 21:12:27 2017 +0300 10.3 @@ -1,28 +1,24 @@ 10.4 -# SliTaz package receipt. 10.5 +# SliTaz package receipt v2. 10.6 10.7 PACKAGE="python-beaker" 10.8 -VERSION="1.5.4" 10.9 +VERSION="1.8.1" 10.10 CATEGORY="development" 10.11 SHORT_DESC="Cache and Session Library" 10.12 MAINTAINER="taziden@slitaz.org" 10.13 LICENSE="BSD" 10.14 -SOURCE="Beaker" 10.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 10.16 -WEB_SITE="http://pylonshq.com" 10.17 -WGET_URL="$WEB_SITE/download/1.0/$TARBALL" 10.18 -TAGS="python" 10.19 +WEB_SITE="https://pypi.python.org/pypi/Beaker" 10.20 10.21 -DEPENDS="python" 10.22 -BUILD_DEPENDS="python python-dev setuptools" 10.23 +BUILD_DEPENDS="python-funcsigs" 10.24 10.25 # Rules to configure and make the package. 10.26 compile_rules() 10.27 { 10.28 - python setup.py install --root=$DESTDIR 10.29 + pip install --no-compile --root=$DESTDIR Beaker 10.30 } 10.31 10.32 # Rules to gen a SliTaz package suitable for Tazpkg. 10.33 genpkg_rules() 10.34 { 10.35 - cp -a $install/usr/ $fs 10.36 + copy @std 10.37 + DEPENDS="python-funcsigs" 10.38 }
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/python-blessings/receipt Sat Jun 10 21:12:27 2017 +0300 11.3 @@ -0,0 +1,24 @@ 11.4 +# SliTaz package receipt v2. 11.5 + 11.6 +PACKAGE="python-blessings" 11.7 +VERSION="1.6" 11.8 +CATEGORY="development" 11.9 +SHORT_DESC="A thin, practical wrapper around terminal coloring, styling, and positioning" 11.10 +MAINTAINER="al.bobylev@gmail.com" 11.11 +LICENSE="MIT" 11.12 +WEB_SITE="https://pypi.python.org/pypi/blessings" 11.13 + 11.14 +BUILD_DEPENDS="python" 11.15 + 11.16 +# Rules to configure and make the package. 11.17 +compile_rules() 11.18 +{ 11.19 + pip install --no-compile --root=$DESTDIR blessings 11.20 +} 11.21 + 11.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 11.23 +genpkg_rules() 11.24 +{ 11.25 + copy @std 11.26 + DEPENDS="python" 11.27 +}
12.1 --- a/python-bpython/receipt Sat Jun 10 12:36:39 2017 +0300 12.2 +++ b/python-bpython/receipt Sat Jun 10 21:12:27 2017 +0300 12.3 @@ -1,36 +1,27 @@ 12.4 -# SliTaz package receipt. 12.5 +# SliTaz package receipt v2. 12.6 12.7 PACKAGE="python-bpython" 12.8 SOURCE="bpython" 12.9 -VERSION="0.9.7.1" 12.10 +VERSION="0.16" 12.11 CATEGORY="development" 12.12 -SHORT_DESC="A fancy interface to the Python interpreter." 12.13 +SHORT_DESC="A fancy interface to the Python interpreter" 12.14 MAINTAINER="claudinei@slitaz.org" 12.15 LICENSE="MIT" 12.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 12.17 -WEB_SITE="http://www.bpython-interpreter.org" 12.18 -WGET_URL="$WEB_SITE/releases/$TARBALL" 12.19 +WEB_SITE="https://pypi.python.org/pypi/bpython" 12.20 12.21 -DEPENDS="python python-pygments setuptools" 12.22 -BUILD_DEPENDS="$DEPENDS python-dev" 12.23 +BUILD_DEPENDS="python-dev python-pygments python-greenlet python-requests \ 12.24 +python-curtsies python-six python-urllib3 python-idna python-certifi \ 12.25 +python-chardet python-wcwidth python-blessings" 12.26 12.27 # Rules to configure and make the package. 12.28 compile_rules() 12.29 { 12.30 - cd $src 12.31 - python setup.py install --root=$DESTDIR 12.32 + pip install --no-compile --root=$DESTDIR bpython 12.33 } 12.34 12.35 # Rules to gen a SliTaz package suitable for Tazpkg. 12.36 genpkg_rules() 12.37 { 12.38 - for file in `find $install | grep 'pyc$'`; do 12.39 - rm $file 12.40 - done 12.41 - rm -rf $install/usr/share/applications 12.42 - mkdir -p $fs/usr $fs/usr/share/applications 12.43 - cp -a $install/usr/bin $fs/usr 12.44 - cp -a $install/usr/lib $fs/usr 12.45 - cp -a $stuff/* $fs/usr/share/applications 12.46 + copy @std 12.47 + DEPENDS="${BUILD_DEPENDS/python-dev/}" 12.48 } 12.49 -
13.1 --- a/python-bpython/stuff/bpython.desktop Sat Jun 10 12:36:39 2017 +0300 13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 13.3 @@ -1,9 +0,0 @@ 13.4 -[Desktop Entry] 13.5 -Icon=python 13.6 -Name=bpython 13.7 -Comment=A fancy interface to the python interpreter! 13.8 -Exec=xterm -e bpython 13.9 -Terminal=false 13.10 -Type=Application 13.11 -Categories=Development;Utility;ConsoleOnly; 13.12 -StartupNotify=true
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/python-certifi/receipt Sat Jun 10 21:12:27 2017 +0300 14.3 @@ -0,0 +1,24 @@ 14.4 +# SliTaz package receipt v2. 14.5 + 14.6 +PACKAGE="python-certifi" 14.7 +VERSION="2017.4.17" 14.8 +CATEGORY="network" 14.9 +SHORT_DESC="Python package for providing Mozilla's CA Bundle" 14.10 +MAINTAINER="al.bobylev@gmail.com" 14.11 +LICENSE="ISC" 14.12 +WEB_SITE="https://pypi.python.org/pypi/certifi" 14.13 + 14.14 +BUILD_DEPENDS="python" 14.15 + 14.16 +# Rules to configure and make the package. 14.17 +compile_rules() 14.18 +{ 14.19 + pip install --no-compile --root=$DESTDIR certifi 14.20 +} 14.21 + 14.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 14.23 +genpkg_rules() 14.24 +{ 14.25 + copy @std 14.26 + DEPENDS="python" 14.27 +}
15.1 --- a/python-chardet/receipt Sat Jun 10 12:36:39 2017 +0300 15.2 +++ b/python-chardet/receipt Sat Jun 10 21:12:27 2017 +0300 15.3 @@ -1,27 +1,24 @@ 15.4 # SliTaz package receipt. 15.5 15.6 PACKAGE="python-chardet" 15.7 -SOURCE=python2-chardet 15.8 -VERSION="2.0.1" 15.9 +VERSION="3.0.4" 15.10 CATEGORY="development" 15.11 +SHORT_DESC="Python module for character encoding auto-detection" 15.12 MAINTAINER="devel@slitaz.org" 15.13 -SHORT_DESC="Python module for character encoding auto-detection" 15.14 LICENSE="LGPL2.1" 15.15 -WEB_SITE="http://chardet.feedparser.org" 15.16 -TARBALL="$SOURCE-$VERSION.tgz" 15.17 -WGET_URL="$WEB_SITE/download/$TARBALL" 15.18 +WEB_SITE="https://pypi.python.org/pypi/chardet" 15.19 15.20 -DEPENDS="python" 15.21 -BUILD_DEPENDS="python-dev" 15.22 +BUILD_DEPENDS="python" 15.23 15.24 # Rules to configure and make the package. 15.25 15.26 compile_rules() { 15.27 - python setup.py install --root=$DESTDIR --optimize=1 15.28 + pip install --no-compile --root=$DESTDIR chardet 15.29 } 15.30 15.31 # Rules to gen a SliTaz package suitable for Tazpkg. 15.32 genpkg_rules() 15.33 { 15.34 - cp -a $install/usr $fs 15.35 + copy @std 15.36 + DEPENDS="python" 15.37 }
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/python-curtsies/receipt Sat Jun 10 21:12:27 2017 +0300 16.3 @@ -0,0 +1,24 @@ 16.4 +# SliTaz package receipt v2. 16.5 + 16.6 +PACKAGE="python-curtsies" 16.7 +VERSION="0.2.11" 16.8 +CATEGORY="development" 16.9 +SHORT_DESC="Curses-like terminal wrapper, with colored strings" 16.10 +MAINTAINER="al.bobylev@gmail.com" 16.11 +LICENSE="MIT" 16.12 +WEB_SITE="https://pypi.python.org/pypi/curtsies" 16.13 + 16.14 +BUILD_DEPENDS="python-wcwidth python-blessings" 16.15 + 16.16 +# Rules to configure and make the package. 16.17 +compile_rules() 16.18 +{ 16.19 + pip install --no-compile --root=$DESTDIR curtsies 16.20 +} 16.21 + 16.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 16.23 +genpkg_rules() 16.24 +{ 16.25 + copy @std 16.26 + DEPENDS="$BUILD_DEPENDS" 16.27 +}
17.1 --- a/python-dev/receipt Sat Jun 10 12:36:39 2017 +0300 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,25 +0,0 @@ 17.4 -# SliTaz package receipt. 17.5 - 17.6 -PACKAGE="python-dev" 17.7 -VERSION="2.7.5" 17.8 -CATEGORY="development" 17.9 -SHORT_DESC="The Python programming language devel files." 17.10 -MAINTAINER="pankso@slitaz.org" 17.11 -LICENSE="PSL" 17.12 -WEB_SITE="http://www.python.org/" 17.13 -HOST_ARCH="i486 arm" 17.14 - 17.15 -WANTED="python" 17.16 -DEPENDS="python" 17.17 - 17.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.19 -genpkg_rules() 17.20 -{ 17.21 - mkdir -p $fs/usr/bin 17.22 - cp -a $install/usr/include $fs/usr 17.23 - cp -a $install/usr/bin/*-config $fs/usr/bin 17.24 - chmod 755 $fs/usr/bin/*-config 17.25 - # in python package now 17.26 - python_version=${VERSION:0:3} 17.27 - rm $fs/usr/include/${WANTED}$python_version/pyconfig.h 17.28 -}
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/python-funcsigs/receipt Sat Jun 10 21:12:27 2017 +0300 18.3 @@ -0,0 +1,24 @@ 18.4 +# SliTaz package receipt v2. 18.5 + 18.6 +PACKAGE="python-funcsigs" 18.7 +VERSION="1.0.2" 18.8 +CATEGORY="development" 18.9 +SHORT_DESC="Python function signatures" 18.10 +MAINTAINER="al.bobylev@gmail.com" 18.11 +LICENSE="BSD" 18.12 +WEB_SITE="https://pypi.python.org/pypi/funcsigs" 18.13 + 18.14 +BUILD_DEPENDS="python" 18.15 + 18.16 +# Rules to configure and make the package. 18.17 +compile_rules() 18.18 +{ 18.19 + pip install --no-compile --root=$DESTDIR funcsigs 18.20 +} 18.21 + 18.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 18.23 +genpkg_rules() 18.24 +{ 18.25 + copy @std 18.26 + DEPENDS="python" 18.27 +}
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/python-greenlet/receipt Sat Jun 10 21:12:27 2017 +0300 19.3 @@ -0,0 +1,24 @@ 19.4 +# SliTaz package receipt v2. 19.5 + 19.6 +PACKAGE="python-greenlet" 19.7 +VERSION="0.4.12" 19.8 +CATEGORY="development" 19.9 +SHORT_DESC="Lightweight in-process concurrent programming" 19.10 +MAINTAINER="al.bobylev@gmail.com" 19.11 +LICENSE="MIT" 19.12 +WEB_SITE="https://pypi.python.org/pypi/greenlet" 19.13 + 19.14 +BUILD_DEPENDS="python-dev" 19.15 + 19.16 +# Rules to configure and make the package. 19.17 +compile_rules() 19.18 +{ 19.19 + pip install --no-compile --root=$DESTDIR greenlet 19.20 +} 19.21 + 19.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 19.23 +genpkg_rules() 19.24 +{ 19.25 + copy @std @dev 19.26 + DEPENDS="python" 19.27 +}
20.1 --- a/python-idle/receipt Sat Jun 10 12:36:39 2017 +0300 20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 20.3 @@ -1,22 +0,0 @@ 20.4 -# SliTaz package receipt. 20.5 - 20.6 -PACKAGE="python-idle" 20.7 -VERSION="2.7.5" 20.8 -CATEGORY="development" 20.9 -SHORT_DESC="Python GUI IDE using TK Toolkit" 20.10 -MAINTAINER="pankso@slitaz.org" 20.11 -LICENSE="PSL" 20.12 -WEB_SITE="http://www.python.org/" 20.13 -HOST_ARCH="i486 arm" 20.14 - 20.15 -WANTED="python" 20.16 -DEPENDS="python tcl tk" 20.17 - 20.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 20.19 -genpkg_rules() 20.20 -{ 20.21 - mkdir -p $fs/usr/bin $fs/usr/lib/python2.7 20.22 - cp -a $install/usr/bin/idle $fs/usr/bin 20.23 - cp -a $install/usr/lib/python2.7/idlelib $fs/usr/lib/python2.7 20.24 -} 20.25 -
21.1 --- a/python-idle/stuff/python-idle.desktop Sat Jun 10 12:36:39 2017 +0300 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,6 +0,0 @@ 21.4 -[Desktop Entry] 21.5 -Type=Application 21.6 -Name=Python IDLE 21.7 -Exec=idle 21.8 -Icon=python 21.9 -Categories=Development;
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/python-idna/receipt Sat Jun 10 21:12:27 2017 +0300 22.3 @@ -0,0 +1,24 @@ 22.4 +# SliTaz package receipt v2. 22.5 + 22.6 +PACKAGE="python-idna" 22.7 +VERSION="2.5" 22.8 +CATEGORY="network" 22.9 +SHORT_DESC="Internationalized Domain Names in Applications" 22.10 +MAINTAINER="al.bobylev@gmail.com" 22.11 +LICENSE="BSD" 22.12 +WEB_SITE="https://pypi.python.org/pypi/idna" 22.13 + 22.14 +BUILD_DEPENDS="python" 22.15 + 22.16 +# Rules to configure and make the package. 22.17 +compile_rules() 22.18 +{ 22.19 + pip install --no-compile --root=$DESTDIR idna 22.20 +} 22.21 + 22.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 22.23 +genpkg_rules() 22.24 +{ 22.25 + copy @std 22.26 + DEPENDS="python" 22.27 +}
23.1 --- a/python-pygments/receipt Sat Jun 10 12:36:39 2017 +0300 23.2 +++ b/python-pygments/receipt Sat Jun 10 21:12:27 2017 +0300 23.3 @@ -1,26 +1,24 @@ 23.4 -# SliTaz package receipt. 23.5 +# SliTaz package receipt v2. 23.6 23.7 PACKAGE="python-pygments" 23.8 -VERSION="2.0.2" 23.9 +VERSION="2.2.0" 23.10 CATEGORY="development" 23.11 SHORT_DESC="Generic syntax highlighter" 23.12 MAINTAINER="claudinei@slitaz.org" 23.13 LICENSE="BSD" 23.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 23.15 -WEB_SITE="http://pygments.org/" 23.16 -WGET_URL="https://bitbucket.org/birkenfeld/pygments-main/get/$VERSION.tar.bz2" 23.17 +WEB_SITE="https://pypi.python.org/pypi/Pygments" 23.18 23.19 -DEPENDS="python setuptools" 23.20 -BUILD_DEPENDS="setuptools wget" 23.21 +BUILD_DEPENDS="python" 23.22 23.23 # Rules to configure and make the package. 23.24 compile_rules() 23.25 { 23.26 - python setup.py install --no-compile --root=$install 23.27 + pip install --no-compile --root=$DESTDIR Pygments 23.28 } 23.29 23.30 # Rules to gen a SliTaz package suitable for Tazpkg. 23.31 genpkg_rules() 23.32 { 23.33 - cp -a $install/* $fs 23.34 + copy @std 23.35 + DEPENDS="python" 23.36 }
24.1 --- a/python-pytz/receipt Sat Jun 10 12:36:39 2017 +0300 24.2 +++ b/python-pytz/receipt Sat Jun 10 21:12:27 2017 +0300 24.3 @@ -1,36 +1,24 @@ 24.4 # SliTaz package receipt. 24.5 24.6 PACKAGE="python-pytz" 24.7 -SOURCE="pytz" 24.8 -VERSION="2011g" 24.9 +VERSION="2017.2" 24.10 CATEGORY="development" 24.11 -SHORT_DESC="World Timezone Definitions for Python." 24.12 +SHORT_DESC="World Timezone Definitions for Python" 24.13 MAINTAINER="pascal.bellard@slitaz.org" 24.14 LICENSE="MIT" 24.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 24.16 -WEB_SITE="http://pytz.sourceforge.net/" 24.17 -WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 24.18 +WEB_SITE="https://pypi.python.org/pypi/pytz" 24.19 24.20 -DEPENDS="python" 24.21 -BUILD_DEPENDS="python-dev python" 24.22 +BUILD_DEPENDS="python" 24.23 24.24 # Rules to configure and make the package. 24.25 compile_rules() 24.26 { 24.27 - python setup.py build && 24.28 - python setup.py install --root=$DESTDIR 24.29 + pip install --no-compile --root=$DESTDIR pytz 24.30 } 24.31 24.32 # Rules to gen a SliTaz package suitable for Tazpkg. 24.33 genpkg_rules() 24.34 { 24.35 - mkdir -p $fs 24.36 - cp -a $install/usr $fs 24.37 + copy @std 24.38 + DEPENDS="python" 24.39 } 24.40 - 24.41 -# Remove old package. 24.42 -post_install() 24.43 -{ 24.44 - [ ! -d "$1/var/lib/tazpkg/installed/pytz" ] || 24.45 - rm -rf "$1/var/lib/tazpkg/installed/pytz" 24.46 -}
25.1 --- a/python-requests/receipt Sat Jun 10 12:36:39 2017 +0300 25.2 +++ b/python-requests/receipt Sat Jun 10 21:12:27 2017 +0300 25.3 @@ -1,26 +1,24 @@ 25.4 -# SliTaz package receipt. 25.5 +# SliTaz package receipt v2. 25.6 25.7 PACKAGE="python-requests" 25.8 -VERSION="2.3.0" 25.9 +VERSION="2.17.3" 25.10 CATEGORY="network" 25.11 SHORT_DESC="Python HTTP Requests for Humans" 25.12 MAINTAINER="al.bobylev@gmail.com" 25.13 LICENSE="Apache" 25.14 -WEB_SITE="http://python-requests.org/" 25.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 25.16 -WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz" 25.17 +WEB_SITE="https://pypi.python.org/pypi/requests" 25.18 25.19 -DEPENDS="python" 25.20 -BUILD_DEPENDS="python wget" 25.21 +BUILD_DEPENDS="python-urllib3 python-idna python-certifi python-chardet" 25.22 25.23 # Rules to configure and make the package. 25.24 compile_rules() 25.25 { 25.26 - python setup.py install --no-compile --root=$install 25.27 + pip install --no-compile --root=$DESTDIR requests 25.28 } 25.29 25.30 # Rules to gen a SliTaz package suitable for Tazpkg. 25.31 genpkg_rules() 25.32 { 25.33 - cp -a $install/* $fs 25.34 + copy @std 25.35 + DEPENDS="$BUILD_DEPENDS" 25.36 }
26.1 --- a/python-six/receipt Sat Jun 10 12:36:39 2017 +0300 26.2 +++ b/python-six/receipt Sat Jun 10 21:12:27 2017 +0300 26.3 @@ -1,29 +1,25 @@ 26.4 -# SliTaz package receipt. 26.5 +# SliTaz package receipt v2. 26.6 26.7 PACKAGE="python-six" 26.8 -SOURCE="six" 26.9 VERSION="1.10.0" 26.10 CATEGORY="development" 26.11 -SHORT_DESC="Six is a Python 2 and 3 compatibility library." 26.12 +SHORT_DESC="Six is a Python 2 and 3 compatibility library" 26.13 MAINTAINER="claudinei@slitaz.org" 26.14 LICENSE="MIT" 26.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 26.16 -WEB_SITE="http://packages.python.org/six/" 26.17 -WGET_URL="https://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" 26.18 +WEB_SITE="https://pypi.python.org/pypi/six" 26.19 HOST_ARCH="i486 arm" 26.20 26.21 -DEPENDS="python" 26.22 -BUILD_DEPENDS="wget cacerts python-dev" 26.23 +BUILD_DEPENDS="python" 26.24 26.25 # Rules to configure and make the package. 26.26 compile_rules() 26.27 { 26.28 - python setup.py install --root=$DESTDIR 26.29 + pip install --no-compile --root=$DESTDIR six 26.30 } 26.31 26.32 # Rules to gen a SliTaz package suitable for Tazpkg. 26.33 genpkg_rules() 26.34 { 26.35 - cp -a $install/usr $fs 26.36 + copy @std 26.37 + DEPENDS="python" 26.38 } 26.39 -
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 27.2 +++ b/python-urllib3/receipt Sat Jun 10 21:12:27 2017 +0300 27.3 @@ -0,0 +1,24 @@ 27.4 +# SliTaz package receipt v2. 27.5 + 27.6 +PACKAGE="python-urllib3" 27.7 +VERSION="1.21.1" 27.8 +CATEGORY="network" 27.9 +SHORT_DESC="HTTP library with thread-safe connection pooling, file post, and more" 27.10 +MAINTAINER="al.bobylev@gmail.com" 27.11 +LICENSE="MIT" 27.12 +WEB_SITE="https://pypi.python.org/pypi/urllib3" 27.13 + 27.14 +BUILD_DEPENDS="python" 27.15 + 27.16 +# Rules to configure and make the package. 27.17 +compile_rules() 27.18 +{ 27.19 + pip install --no-compile --root=$DESTDIR urllib3 27.20 +} 27.21 + 27.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 27.23 +genpkg_rules() 27.24 +{ 27.25 + copy @std 27.26 + DEPENDS="python" 27.27 +}
28.1 --- a/python-wcwidth/receipt Sat Jun 10 12:36:39 2017 +0300 28.2 +++ b/python-wcwidth/receipt Sat Jun 10 21:12:27 2017 +0300 28.3 @@ -1,28 +1,24 @@ 28.4 # SliTaz package receipt. 28.5 28.6 PACKAGE="python-wcwidth" 28.7 -SOURCE="wcwidth" 28.8 -VERSION="0.1.6" 28.9 +VERSION="0.1.7" 28.10 CATEGORY="development" 28.11 -SHORT_DESC="Measures number of Terminal column cells of wide-character codes." 28.12 +SHORT_DESC="Measures number of Terminal column cells of wide-character codes" 28.13 MAINTAINER="paul@slitaz.org" 28.14 LICENSE="MIT" 28.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 28.16 -WEB_SITE="https://github.com/jquast/wcwidth" 28.17 -WGET_URL="https://pypi.python.org/packages/source/w/$SOURCE/$TARBALL" 28.18 +WEB_SITE="https://pypi.python.org/pypi/wcwidth" 28.19 28.20 -DEPENDS="python" 28.21 -BUILD_DEPENDS="wget setuptools python-dev" 28.22 +BUILD_DEPENDS="python" 28.23 28.24 # Rules to configure and make the package. 28.25 compile_rules() 28.26 { 28.27 - python setup.py install --root=$DESTDIR 28.28 + pip install --no-compile --root=$DESTDIR wcwidth 28.29 } 28.30 28.31 # Rules to gen a SliTaz package suitable for Tazpkg. 28.32 genpkg_rules() 28.33 { 28.34 - cp -a $install/usr $fs 28.35 + copy @std 28.36 + DEPENDS="python" 28.37 } 28.38 -
29.1 --- a/python/receipt Sat Jun 10 12:36:39 2017 +0300 29.2 +++ b/python/receipt Sat Jun 10 21:12:27 2017 +0300 29.3 @@ -1,22 +1,21 @@ 29.4 -# SliTaz package receipt. 29.5 +# SliTaz package receipt v2. 29.6 29.7 PACKAGE="python" 29.8 -VERSION="2.7.5" 29.9 +VERSION="2.7.13" 29.10 CATEGORY="development" 29.11 -SHORT_DESC="The Python programming language." 29.12 +SHORT_DESC="The Python programming language" 29.13 MAINTAINER="pankso@slitaz.org" 29.14 LICENSE="PSL" 29.15 -WEB_SITE="http://www.python.org/" 29.16 +WEB_SITE="https://www.python.org/" 29.17 HOST_ARCH="i486 arm" 29.18 COOKOPTS="!menus" 29.19 29.20 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 29.21 -WGET_URL="https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.bz2" 29.22 +TARBALL="$PACKAGE-$VERSION.tar.xz" 29.23 +WGET_URL="https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.xz" 29.24 29.25 -DEPENDS="openssl bzlib readline sqlite zlib ncurses gdbm libffi" 29.26 BUILD_DEPENDS="openssl-dev bzip2-dev readline-dev sqlite-dev zlib-dev \ 29.27 -ncurses-dev tcl-dev tk-dev db-dev gdbm-dev libffi-dev" 29.28 -SPLIT="python-idle" 29.29 +ncurses-dev tcl-dev tk-dev db-dev gdbm-dev libffi-dev expat-dev" 29.30 +SPLIT="python-idle python-tcltk python python-dev" 29.31 29.32 # Rules to configure and make the package. 29.33 compile_rules() 29.34 @@ -48,7 +47,6 @@ 29.35 rm -f $CONFIG_SITE 29.36 # Second pass for host tools 29.37 . /etc/slitaz/cook.conf 29.38 - #patch -p1 < $stuff/python-2.7.3-xcompile.patch || exit 1 29.39 cp -f $CONFIG_SITE . 29.40 CONFIG_SITE="$(pwd)/cook.site" 29.41 cat >> $CONFIG_SITE << EOT 29.42 @@ -73,28 +71,44 @@ 29.43 ;; 29.44 i?86) 29.45 ./configure \ 29.46 + --prefix=/usr \ 29.47 --enable-shared \ 29.48 - --build=${HOST_SYSTEM} \ 29.49 - --host=${HOST_SYSTEM} && 29.50 - make && make DESTDIR=$DESTDIR install 29.51 + --with-system-expat \ 29.52 + --with-system-ffi \ 29.53 + --with-ensurepip=yes \ 29.54 + --enable-unicode=ucs4 \ 29.55 + --build=$HOST_SYSTEM \ 29.56 + --host=$HOST_SYSTEM && 29.57 + make && make DESTDIR=$DESTDIR install && 29.58 + chmod -v 755 $install/usr/lib/libpython2.7.so.1.0 29.59 ;; 29.60 esac 29.61 - 29.62 - cp -a $stuff/applications $install/usr/share 29.63 } 29.64 29.65 # Rules to gen a SliTaz package suitable for Tazpkg. 29.66 genpkg_rules() 29.67 { 29.68 - python_version=${VERSION:0:3} 29.69 - mkdir -p $fs/usr/include/${PACKAGE}$python_version 29.70 - cp -a $install/usr/bin $fs/usr 29.71 - cp -a $install/usr/lib $fs/usr 29.72 - # needed for mercurial to work now 29.73 - cp -a $install/usr/include/${PACKAGE}$python_version/pyconfig.h \ 29.74 - $fs/usr/include/${PACKAGE}$python_version 29.75 - rm -f $fs/usr/bin/*-config 29.76 - # Split IDLE with TK dep 29.77 - rm -f $fs/usr/bin/idle 29.78 - rm -rf $fs/usr/lib/python2.7/idlelib 29.79 + case $PACKAGE in 29.80 + *-idle) 29.81 + copy idle idlelib/ python-idle.desktop 29.82 + CAT="development|GUI IDE using TK Toolkit" 29.83 + DEPENDS="python-tcltk tcl tk" 29.84 + ;; 29.85 + *-tcltk) 29.86 + copy _tkinter.so lib-tk/ 29.87 + CAT="development|Tcl/Tk files" 29.88 + DEPENDS="python tcl tk xorg-libX11" 29.89 + ;; 29.90 + python) 29.91 + # pyconfig.h needed for mercurial to work now 29.92 + copy @std pyconfig.h 29.93 + remove_already_packed 29.94 + DEPENDS="bzlib expat gdbm libcrypto libffi libsqlite libssl \ 29.95 + ncurses ncurses-libpanel readline zlib" 29.96 + ;; 29.97 + *-dev) 29.98 + copy @dev 29.99 + remove_already_packed 29.100 + ;; 29.101 + esac 29.102 }