# HG changeset patch # User Aleksej Bobylev # Date 1537621526 -10800 # Node ID c9a7a7b42a86e2e06c2c6378ae581b5b8a47157a # Parent d8fcbb8246ef5767c13b7c3049773ce371f80b17 Improve Python packages: update, also provide Python3 packages where available diff -r d8fcbb8246ef -r c9a7a7b42a86 cromfs/receipt --- a/cromfs/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/cromfs/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -6,10 +6,10 @@ SHORT_DESC="Compressed read only filesystem implemented with FUSE" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="http://bisqwit.iki.fi/source/cromfs.html" +WEB_SITE="https://bisqwit.iki.fi/source/cromfs.html" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="http://bisqwit.iki.fi/src/arch/$TARBALL" +WGET_URL="https://bisqwit.iki.fi/src/arch/$TARBALL" BUILD_DEPENDS="fuse2-dev lzo-dev coreutils-file-format perl" diff -r d8fcbb8246ef -r c9a7a7b42a86 efl/receipt --- a/efl/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/efl/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="efl" -VERSION="1.20.7" +VERSION="1.21.1" CATEGORY="base-system" SHORT_DESC="Enlightenment Foundation Libraries" MAINTAINER="domcox@slitaz.org" diff -r d8fcbb8246ef -r c9a7a7b42a86 gnome-commander/receipt --- a/gnome-commander/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/gnome-commander/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -6,7 +6,7 @@ SHORT_DESC="A full featured, twin-panel file manager for Gnome2" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" -WEB_SITE="http://gcmd.github.io/" +WEB_SITE="https://gcmd.github.io/" TARBALL="$PACKAGE-$VERSION.tar.xz" #WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" diff -r d8fcbb8246ef -r c9a7a7b42a86 gnome-themes-standard/receipt --- a/gnome-themes-standard/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/gnome-themes-standard/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -6,7 +6,7 @@ SHORT_DESC="Various components of the default GNOME theme" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="https://github.com/GNOME/gnome-themes-standard" +WEB_SITE="https://github.com/GNOME/gnome-themes-extra" LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gnome-themes-standard.html" TARBALL="$PACKAGE-$VERSION.tar.xz" diff -r d8fcbb8246ef -r c9a7a7b42a86 gource/receipt --- a/gource/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/gource/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -7,7 +7,7 @@ MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://gource.io/" +WEB_SITE="https://gource.io/" WGET_URL="http://gource.googlecode.com/files/$TARBALL" DEPENDS="freetype glew glu boost-filesystem boost-system libpcre libsdl \ diff -r d8fcbb8246ef -r c9a7a7b42a86 mixxx/receipt --- a/mixxx/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/mixxx/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -16,7 +16,7 @@ BUILD_DEPENDS="libsndfile-dev libogg-dev libid3tag-dev libmad-dev \ libvorbis-dev taglib-dev libshout-dev portaudio-dev qt4-phonon \ Qt4-dev alsa-lib-dev jack-dev mesa-dev scons \ -flac-dev portmidi" +flac-dev portmidi-dev" # Rules to configure and make the package. compile_rules() diff -r d8fcbb8246ef -r c9a7a7b42a86 mysql/receipt --- a/mysql/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/mysql/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -104,9 +104,11 @@ pre_install_mysql() { # Cleanup old files - rm -f "$1/usr/libexec/mysql"* + rm -f "$1"/usr/libexec/mysql* # Move old config - [ -f "$1/etc/my.cnf" ] && mv -f "$1/etc/my.cnf" "$1/etc/mysql/my.cnf" + if [ -f "$1/etc/my.cnf" ]; then + mv -f "$1/etc/my.cnf" "$1/etc/mysql/my.cnf" + fi } post_install_mysql() { @@ -130,7 +132,12 @@ #chroot "$1/" /bin/chown $user.$group $(cat "$1/$INSTALLED/$PACKAGE/files.list") mkdir -p "$1/var/lib/mysql" chroot "$1/" /bin/chown -R $user.$group /var/lib/mysql - chroot "$1/" mysql_install_db --user=$user --basedir=/usr + + if [ -n "$quiet" ]; then + chroot "$1/" mysql_install_db --user=$user --basedir=/usr >/dev/null 2>&1 + else + chroot "$1/" mysql_install_db --user=$user --basedir=/usr + fi [ -n "$quiet" ] || cat < 644 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-docopt $py-future $py-lxml $py-pyyaml $py-requests \ + $py-six $py-xattr" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ldap/.icon.png --- a/python-ldap/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ldap/receipt --- a/python-ldap/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-ldap" -VERSION="2.4.9" -CATEGORY="development" -SHORT_DESC="An object-oriented API to access LDAP directory servers." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="PSL" -WEB_SITE="http://www.python-ldap.org/" -REPOLOGY="python:ldap3" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/p/$PACKAGE/$TARBALL" - -DEPENDS="openldap openssl cyrus-sasl python" -BUILD_DEPENDS="openldap-dev openssl-dev cyrus-sasl-dev python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ldap3/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ldap3/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ldap3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ldap3/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="ldap3" +PACKAGE="python-ldap3" +VERSION="2.5.1" +CATEGORY="python" +SHORT_DESC="A strictly RFC 4510 conforming LDAP V3 pure Python client library" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:ldap3" + +BUILD_DEPENDS="python python-pyasn1 python3 python3-pyasn1 \ +openldap-dev openssl-dev cyrus-sasl-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-pyasn1 openldap openssl cyrus-sasl" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-libvirt/receipt --- a/python-libvirt/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-libvirt/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,25 +1,34 @@ # SliTaz package receipt v2. +ORIGIN="libvirt-python" PACKAGE="python-libvirt" -VERSION="latest" +VERSION="4.7.0" CATEGORY="python" SHORT_DESC="Python bindings for libvirt" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2 LGPL2.1" -WEB_SITE="https://pypi.org/project/libvirt-python/" +#WEB_SITE="https://pypi.org/project/$ORIGIN/" # not in hurry: 4.6.0 +WEB_SITE="https://libvirt.org/" +#HOST_ARCH REPOLOGY="python:libvirt-python" -BUILD_DEPENDS="libvirt-dev python-dev" +TARBALL="$ORIGIN-$VERSION.tar.gz" +WGET_URL="https://libvirt.org/sources/python/$TARBALL" + +BUILD_DEPENDS="python-dev python3-dev libvirt-dev" +SPLIT="${PACKAGE/python/python3}:3" # Python packages name should start with "python-", but "python-libvirt-python" # is pretty ugly name, so strip it to "python-libvirt" compile_rules() { - pip install --no-compile --root=$DESTDIR libvirt-python +# pip$SET install --no-compile --root=$install $ORIGIN==$VERSION + + python$SET -B setup.py install --root=$install } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*libvirt-python-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="libvirt python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py libvirt" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-linecache2/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-linecache2/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-linecache2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-linecache2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="linecache2" +PACKAGE="python-linecache2" +VERSION="1.0.0" +CATEGORY="python" +SHORT_DESC="Backports of the traceback module" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="PSFL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:linecache2" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-llfuse/receipt --- a/python-llfuse/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-llfuse/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,26 +1,29 @@ # SliTaz package receipt v2. +ORIGIN="llfuse" PACKAGE="python-llfuse" -VERSION="1.3.2" -CATEGORY="development" +VERSION="1.3.5" +CATEGORY="python" SHORT_DESC="Python bindings for the low level FUSE API" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2" -WEB_SITE="https://github.com/python-llfuse/python-llfuse" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:llfuse" -SOURCE="llfuse" -TARBALL="llfuse-$VERSION.tar.bz2" -WGET_URL="https://bitbucket.org/nikratio/python-llfuse/downloads/$TARBALL" - -BUILD_DEPENDS="python-dev fuse2-dev attr-dev" +BUILD_DEPENDS="python-dev python-contextlib2 python3-dev \ +fuse2-dev attr-dev" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - python setup.py build && - python setup.py install --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { copy @std - DEPENDS="fuse2 python" + py=${PACKAGE%%-*} # python/python3 + case $PACKAGE in + python-*) DEPENDS="$py $py-contextlib2 fuse2";; + python3-*) DEPENDS="$py fuse2";; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-lxml/receipt --- a/python-lxml/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-lxml/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="lxml" PACKAGE="python-lxml" -VERSION="2.3" +VERSION="4.2.5" CATEGORY="development" -SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.." +SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD GPL PSL" -WEB_SITE="https://lxml.de/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH="" REPOLOGY="python:lxml" -SOURCE="lxml" -TARBALL="$SOURCE-$VERSION.tgz" -WGET_URL="${WEB_SITE}${TARBALL}" +BUILD_DEPENDS="python python3 libxml2-dev libxslt-dev" +SPLIT="$PACKAGE-dev \ +${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" -DEPENDS="python libxml2 libxslt zlib" -BUILD_DEPENDS="python-dev libxml2 libxml2-dev libxslt libxslt-dev" - -# Rules to configure and make the package. -compile_rules() -{ - make && python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + case $PACKAGE in + *-dev) + copy @dev + DEPENDS="${PACKAGE%%-dev}" + ;; + *) + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py libxml2 libxslt" + ;; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mako/receipt --- a/python-mako/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mako/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Mako" PACKAGE="python-mako" -VERSION="1.0.4" -CATEGORY="development" +VERSION="1.0.7" +CATEGORY="python" SHORT_DESC="Fast template library" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.makotemplates.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:mako" -SOURCE="Mako" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/M/Mako/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-markupsafe python3 python3-markupsafe" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-markupsafe" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-markdown/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-markdown/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-markdown/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-markdown/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="Markdown" +PACKAGE="python-markdown" +VERSION="2.6.11" +CATEGORY="python" +SHORT_DESC="Python implementation of Markdown" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:markdown" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-markupsafe/receipt --- a/python-markupsafe/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-markupsafe/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="MarkupSafe" PACKAGE="python-markupsafe" -VERSION="latest" +VERSION="1.0" CATEGORY="python" SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/MarkupSafe/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:markupsafe" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR MarkupSafe + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*MarkupSafe-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mccabe/receipt --- a/python-mccabe/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mccabe/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="mccabe" PACKAGE="python-mccabe" -VERSION="latest" -CATEGORY="development" +VERSION="0.6.1" +CATEGORY="python" SHORT_DESC="McCabe checker, plugin for flake8" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/mccabe/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:mccabe" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR mccabe + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*mccabe-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mechanize/receipt --- a/python-mechanize/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mechanize/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="mechanize" PACKAGE="python-mechanize" -VERSION="0.2.5" +VERSION="0.3.7" CATEGORY="network" -SHORT_DESC="Stateful programmatic web browsing in Python." +SHORT_DESC="Stateful programmatic web browsing" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="http://wwwsearch.sourceforge.net/mechanize/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:mechanize" -SOURCE="mechanize" -TARBALL="${SOURCE}-${VERSION}.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/m/mechanize/$TARBALL" +BUILD_DEPENDS="python python-html5lib" -DEPENDS="python" -BUILD_DEPENDS="python-dev python-distribute" +compile_rules() { + # Python3 based compilation produce error: 'mechanize only works on python 2.x' -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root="$DESTDIR" --optimize=1 + pip install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + DEPENDS="python python-html5lib" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mock/receipt --- a/python-mock/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mock/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="mock" PACKAGE="python-mock" -VERSION="1.0.1" -CATEGORY="development" -SHORT_DESC="A library for testing in Python." +VERSION="2.0.0" +CATEGORY="python" +SHORT_DESC="A library for testing in Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/pypi/mock/" +WEB_SITE="https://pypi.org/pypi/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:mock" -SOURCE="mock" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-funcsigs python-pbr python-six \ +python3 python3-pbr python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + case $PACKAGE in + python-*) DEPENDS="$py $py-funcsigs $py-pbr $py-six";; + python3-*) DEPENDS="$py $py-pbr $py-six";; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-more-itertools/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-more-itertools/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-more-itertools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-more-itertools/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="more-itertools" +PACKAGE="python-more-itertools" +VERSION="4.3.0" +CATEGORY="python" +SHORT_DESC="More routines for operating on iterables, beyond itertools" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:more-itertools" + +BUILD_DEPENDS="python python-six \ +python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-six" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mpd/receipt --- a/python-mpd/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mpd/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="python-mpd" PACKAGE="python-mpd" VERSION="0.3.0" CATEGORY="multimedia" SHORT_DESC="Python MPD client library" MAINTAINER="jozee@slitaz.org" LICENSE="LGPL3" -WEB_SITE="https://pypi.org/project/python-mpd/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:mpd" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="https://files.pythonhosted.org/packages/source/p/python-mpd/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --prefix=/usr --root="$DESTDIR" +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mygpoclient/receipt --- a/python-mygpoclient/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mygpoclient/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="mygpoclient" PACKAGE="python-mygpoclient" -VERSION="1.5" -CATEGORY="development" -SHORT_DESC="Python interface to the gpodder.net web services." +VERSION="1.8" +CATEGORY="python" +SHORT_DESC="gpodder.net API Client Library" MAINTAINER="claudinei@slitaz.org" LICENSE="GPL3" -WEB_SITE="http://thpinfo.com/2010/mygpoclient" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:mygpoclient" -SOURCE="mygpoclient" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-simplejson" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-mysql/receipt --- a/python-mysql/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-mysql/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,40 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="MySQL-python" PACKAGE="python-mysql" -VERSION="1.2.3" -CATEGORY="development" -SHORT_DESC="A Python interface to MySQL ." +VERSION="1.2.5" +CATEGORY="python" +SHORT_DESC="Python interface to MySQL" MAINTAINER="claudinei@slitaz.org" LICENSE="GPL" -WEB_SITE="http://mysql-python.sourceforge.net/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:mysql-python" -SOURCE="MySQL-python" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/mysql-python/$TARBALL" - -DEPENDS="python libmysqlclient zlib openssl" BUILD_DEPENDS="python-dev mysql-dev" -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg - python setup.py build - python setup.py install --root=$DESTDIR +# Python packages name should start with "python-", but "python-mysql-python" +# is pretty ugly name, so strip it to "python-mysql" + +compile_rules() { + # Python3 based compilation produce error and currently unsupported + pip install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + DEPENDS="python libmysqlclient" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/mysql-python" ] || - rm -rf "$1/var/lib/tazpkg/installed/mysql-python" -} - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-netaddr/receipt --- a/python-netaddr/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-netaddr/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="netaddr" PACKAGE="python-netaddr" -VERSION="0.7.10" -CATEGORY="development" -SHORT_DESC="A network address representation and manipulation library." +VERSION="0.7.19" +CATEGORY="python" +SHORT_DESC="A network address manipulation library for Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://github.com/drkjam/netaddr" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:netaddr" -SOURCE="netaddr" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python wget" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-netifaces/receipt --- a/python-netifaces/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-netifaces/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="netifaces" PACKAGE="python-netifaces" -VERSION="0.8" -CATEGORY="development" -SHORT_DESC="Portable access to network interfaces from Python." +VERSION="0.10.7" +CATEGORY="python" +SHORT_DESC="Portable network interface information" MAINTAINER="monghitri@aruba.it" LICENSE="MIT" -WEB_SITE="https://alastairs-place.net/projects/netifaces/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:netifaces" -SOURCE="netifaces" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-nose/receipt --- a/python-nose/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-nose/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="nose" PACKAGE="python-nose" -VERSION="0.11.3" -CATEGORY="development" +VERSION="1.3.7" +CATEGORY="python" SHORT_DESC="Unittest extension" MAINTAINER="taziden@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="http://pylonshq.com" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:nose" -SOURCE="nose" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/download/1.0/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's|man/man|share/&|' setup.py - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-numpy/receipt --- a/python-numpy/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-numpy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="numpy" PACKAGE="python-numpy" -VERSION="latest" +VERSION="1.15.1" CATEGORY="development" SHORT_DESC="NumPy: array processing for numbers, strings, records, and objects" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.numpy.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:numpy" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR numpy + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*numpy-||p' $LOGS/$PACKAGE.log) copy @std @dev - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-oauth2/receipt --- a/python-oauth2/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-oauth2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="oauth2" PACKAGE="python-oauth2" -VERSION="1.5.211" -CATEGORY="development" -SHORT_DESC="Library for OAuth version 1.0." +VERSION="1.9.0.post1" +CATEGORY="python" +SHORT_DESC="Library for OAuth version 1.9" MAINTAINER="paul@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/simplegeo/python-oauth2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:oauth2" -SOURCE="oauth2" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/o/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-httplib2 python3 python3-httplib2" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std @dev + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-httplib2" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-oauthlib/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-oauthlib/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-oauthlib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-oauthlib/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="oauthlib" +PACKAGE="python-oauthlib" +VERSION="2.1.0" +CATEGORY="python" +SHORT_DESC="A generic, spec-compliant, thorough implementation of the OAuth \ +request-signing logic" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:oauthlib" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ofxparse/receipt --- a/python-ofxparse/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-ofxparse/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="ofxparse" PACKAGE="python-ofxparse" -VERSION="0.14" -CATEGORY="development" -SHORT_DESC="Tools for working with the OFX (Open Financial Exchange) file format." +VERSION="0.19" +CATEGORY="python" +SHORT_DESC="Tools for working with the OFX (Open Financial Exchange) file format" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/ofxparse/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:ofxparse" -SOURCE="ofxparse" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-beautifulsoup4 python-lxml python-six \ +python3 python3-beautifulsoup4 python3-lxml python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-beautifulsoup4" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std @dev + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-beautifulsoup4 $py-lxml $py-six" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ooop/receipt --- a/python-ooop/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-ooop/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="ooop" PACKAGE="python-ooop" VERSION="0.2.3" -CATEGORY="development" -SHORT_DESC="OpenObject on Python, a library to connect with Open ERP." +CATEGORY="python" +SHORT_DESC="OpenObject on Python, a library to connect with Open ERP" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="https://pypi.org/project/ooop/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:ooop" -SOURCE="${PACKAGE#*-}" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-opengl-accelerate/.icon.png --- a/python-opengl-accelerate/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-opengl-accelerate/receipt --- a/python-opengl-accelerate/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-opengl-accelerate" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Cross platform Python binding to OpenGL." -MAINTAINER="yuripourre@gmail.com" -LICENSE="BSD" -WEB_SITE="http://pyopengl.sf.net" -REPOLOGY="python:opengl-accelerate" - -SOURCE="PyOpenGL-accelerate" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" - -DEPENDS="python python-opengl" -BUILD_DEPENDS="python python-dev python-opengl" - -# Rules to configure and make the package. -compile_rules() -{ - { - python setup.py build && - python setup.py install --root=$DESTDIR - } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-opengl/.icon.png --- a/python-opengl/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-opengl/receipt --- a/python-opengl/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-opengl" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Cross platform Python binding to OpenGL." -MAINTAINER="yuripourre@gmail.com" -LICENSE="BSD" -WEB_SITE="http://pyopengl.sf.net" -REPOLOGY="python:pyopengl" - -SOURCE="PyOpenGL" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" - -DEPENDS="python python-numpy python-pil freeglut" -BUILD_DEPENDS="python python-dev freeglut-dev" - -# Rules to configure and make the package. -compile_rules() -{ - { - python setup.py build && - python setup.py install --root=$DESTDIR - } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-openid/receipt --- a/python-openid/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-openid/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="python-openid" # and python3-openid PACKAGE="python-openid" -VERSION="2.2.4" -CATEGORY="development" -SHORT_DESC="OpenID libraries for Python." +VERSION="3.1.0" # Python3 package python3-openid version +VERSION2="2.2.5" # Python2 package python-openid version +CATEGORY="python" +SHORT_DESC="OpenID support for servers and consumers" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" -WEB_SITE="http://www.janrain.com/openid-enabled/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:openid" -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" -WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" +BUILD_DEPENDS="python python3 python3-defusedxml" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + case $SET in + '') VERSION="$VERSION2";; + esac + pip$SET install --no-compile --root=$install python$SET-openid==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + case $PACKAGE in + python-*) + VERSION="$VERSION2" + DEPENDS="$py" + ;; + python3-*) + DEPENDS="$py $py-defusedxml" + ;; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-packaging/receipt --- a/python-packaging/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-packaging/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="packaging" PACKAGE="python-packaging" -VERSION="latest" +VERSION="17.1" CATEGORY="python" SHORT_DESC="Core utilities for Python packages" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/packaging/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:packaging" -BUILD_DEPENDS="python-six python-pyparsing" +BUILD_DEPENDS="python python-pyparsing python-six \ +python3 python3-pyparsing python3-six" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR packaging + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*packaging-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-pyparsing $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-paramiko/receipt --- a/python-paramiko/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-paramiko/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,25 +1,28 @@ # SliTaz package receipt v2. +ORIGIN="paramiko" PACKAGE="python-paramiko" -VERSION="latest" -CATEGORY="development" +VERSION="2.4.2" +CATEGORY="python" SHORT_DESC="SSH2 protocol library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://pypi.org/project/paramiko/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:paramiko" -BUILD_DEPENDS="python python-pyasn1 python-bcrypt python-cryptography \ -python-pynacl" +BUILD_DEPENDS="python python-bcrypt python-cryptography python-pyasn1 \ +python-pynacl \ +python3 python3-bcrypt python3-cryptography python3-pyasn1 python3-pynacl" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR paramiko + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*paramiko-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python python-pyasn1 python-bcrypt python-cryptography \ - python-pynacl" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-bcrypt $py-cryptography $py-pyasn1 $py-pynacl" TAGS="ssh" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-parso/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-parso/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-parso/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-parso/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="parso" +PACKAGE="python-parso" +VERSION="0.3.1" +CATEGORY="python" +SHORT_DESC="A Python Parser" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:parso" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-passlib/receipt --- a/python-passlib/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-passlib/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="passlib" PACKAGE="python-passlib" -VERSION="1.6.2" +VERSION="1.7.1" CATEGORY="misc" -SHORT_DESC="comprehensive password hashing framework supporting over 30 schemes." +SHORT_DESC="Comprehensive password hashing framework supporting over 30 schemes" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/passlib/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:passlib" -SOURCE="passlib" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="wget python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs/ +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-paste/receipt --- a/python-paste/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-paste/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Paste" PACKAGE="python-paste" -VERSION="1.7.2" -CATEGORY="development" -SHORT_DESC="Tools for using a Web Server Gateway Interface stack." +VERSION="2.0.3" +CATEGORY="python" +SHORT_DESC="Tools for using a Web Server Gateway Interface stack" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="http://pythonpaste.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:paste" -SOURCE="Paste" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-six python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-six" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pastedeploy/receipt --- a/python-pastedeploy/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pastedeploy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PasteDeploy" PACKAGE="python-pastedeploy" -VERSION="1.3.3" -CATEGORY="development" -SHORT_DESC="Load, configure, and compose WSGI applications and servers." +VERSION="1.5.2" +CATEGORY="python" +SHORT_DESC="Load, configure, and compose WSGI applications and servers" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="http://pythonpaste.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pastedeploy" -SOURCE="PasteDeploy" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-paste" -BUILD_DEPENDS="$DEPENDS python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pastescript/receipt --- a/python-pastescript/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pastescript/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PasteScript" PACKAGE="python-pastescript" -VERSION="1.7.3" -CATEGORY="development" -SHORT_DESC="A pluggable command-line frontend, including commands to setup package file layouts." +VERSION="2.0.2" +CATEGORY="python" +SHORT_DESC="A pluggable command-line frontend, including commands to setup \ +package file layouts" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="http://pythonpaste.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pastescript" -SOURCE="PasteScript" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-paste python-pastedeploy python-six \ +python3 python3-paste python3-pastedeploy python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-paste python-pastedeploy" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-paste $py-pastedeploy $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pathlib2/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pathlib2/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pathlib2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pathlib2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,29 @@ +# SliTaz package receipt v2. + +ORIGIN="pathlib2" +PACKAGE="python-pathlib2" +VERSION="2.3.2" +CATEGORY="python" +SHORT_DESC="Object-oriented filesystem paths" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pathlib2" + +BUILD_DEPENDS="python python-scandir python-six \ +python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + case $PACKAGE in + python-*) DEPENDS="$py $py-scandir $py-six";; + python3-*) DEPENDS="$py $py-six";; + esac +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pbr/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pbr/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pbr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pbr/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pbr" +PACKAGE="python-pbr" +VERSION="4.2.0" +CATEGORY="python" +SHORT_DESC="Python Build Reasonableness" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="Apache" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pbr" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-peak-rules/receipt --- a/python-peak-rules/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-peak-rules/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PEAK-Rules" PACKAGE="python-peak-rules" VERSION="0.5a1.dev-r2713" CATEGORY="misc" SHORT_DESC="Generic functions and business rules support systems" MAINTAINER="al.bobylev@gmail.com" LICENSE="ZPL2.1" -WEB_SITE="https://pypi.org/project/PEAK-Rules" +WEB_SITE="https://pypi.org/project/$ORIGIN" +HOST_ARCH="any" REPOLOGY="python:peak-rules" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" +WGET_URL="http://peak.telecommunity.com/snapshots/$ORIGIN-$VERSION.tar.gz" -DEPENDS="python" BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$install +compile_rules() { + # Python3 based compilation produce error + python -B setup.py install --root=$install + + find $install -type f -exec chmod g-w '{}' \; # 664 -> 644 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs +genpkg_rules() { + copy @std + DEPENDS="python" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-phonenumbers/receipt --- a/python-phonenumbers/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-phonenumbers/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="phonenumbers" PACKAGE="python-phonenumbers" -VERSION="5.4b1" -CATEGORY="development" -SHORT_DESC="common library for parsing, formatting, storing and validating international phone numbers." +VERSION="8.9.13" +CATEGORY="python" +SHORT_DESC="Parsing, formatting, storing and validating international phone numbers" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" -WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers" -#https://pypi.org/project/phonenumbers/ +WEB_SITE="https://pypi.org/project/$ORIGIN" +HOST_ARCH="any" REPOLOGY="python:phonenumbers" -SOURCE="phonenumbers" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-picamera/receipt --- a/python-picamera/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-picamera/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="picamera" PACKAGE="picamera" -VERSION="latest" +VERSION="1.13" CATEGORY="multimedia" SHORT_DESC="A pure Python interface for the Raspberry Pi camera module" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/picamera/" +WEB_SITE="https://pypi.org/project/$ORIGIN" HOST_ARCH="arm" REPOLOGY="python:picamera" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR picamera + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*picamera-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pil/receipt --- a/python-pil/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pil/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,38 +1,35 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PIL" PACKAGE="python-pil" -VERSION="1.1.6" -CATEGORY="development" -SHORT_DESC="Python Imaging Library." +VERSION="1.1.7" +CATEGORY="python" +SHORT_DESC="Python Imaging Library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.pythonware.com/products/pil/" -REPOLOGY="python:imaging" +WEB_SITE="https://pypi.org/project/$ORIGIN" +#HOST_ARCH +REPOLOGY="python:pil" -SOURCE="Imaging" -TARBALL="$SOURCE-$VERSION.tar.gz" +# pypi.org didn't provide downloads for such old project (2006) and we can't +# use pip to install it. +# Get sources from the project's homepage (also, updated from 1.1.6 to 1.1.7) +TARBALL="Imaging-$VERSION.tar.gz" WGET_URL="http://effbot.org/downloads/$TARBALL" -DEPENDS="python jpeg zlib freetype tk" -BUILD_DEPENDS="python python-dev jpeg-dev zlib-dev tk-dev tcl-dev" +BUILD_DEPENDS="python-dev tcl-dev tk-dev libjpeg-turbo-dev zlib-dev \ +freetype-dev lcms-dev" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + # Python3 based compilation produce error + python -B setup.py install --root=$install + + # *** Warning: zlib 1.2.11 may contain a security vulnerability. + # *** Consider upgrading to zlib 1.2.3 or newer. + # :-D } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="python freetype lcms libjpeg-turbo tcl tk zlib" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/pil" ] || - rm -rf "$1/var/lib/tazpkg/installed/pil" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pillow/receipt --- a/python-pillow/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pillow/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Pillow" PACKAGE="python-pillow" -VERSION="2.3.0" -CATEGORY="development" -SHORT_DESC="Python Imaging Library (Fork)." +VERSION="5.2.0" +CATEGORY="python" +SHORT_DESC="Python Imaging Library (Fork)" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PSL" -WEB_SITE="https://pypi.org/project/Pillow/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pillow" -SOURCE="Pillow" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3 tiff-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev tiff-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pluggy/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pluggy/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pluggy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pluggy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pluggy" +PACKAGE="python-pluggy" +VERSION="0.7.1" +CATEGORY="python" +SHORT_DESC="Plugin and hook calling mechanisms for Python" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pluggy" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-portend/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-portend/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-portend/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-portend/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="portend" +PACKAGE="python-portend" +VERSION="2.3" +CATEGORY="python" +SHORT_DESC="TCP port monitoring utilities" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:portend" + +BUILD_DEPENDS="python python-tempora \ +python3 python3-tempora" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-tempora" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-prettytable/receipt --- a/python-prettytable/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-prettytable/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PrettyTable" PACKAGE="python-prettytable" -VERSION="0.6.1" +VERSION="0.7.2" CATEGORY="system-tools" -SHORT_DESC="Python library for easily displaying tabular data in ASCII." +SHORT_DESC="Python library for easily displaying tabular data in ASCII" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/projects/PrettyTable/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:prettytable" -SOURCE="prettytable" -TARBALL="${SOURCE}-${VERSION}.tar.bz2" -WGET_URL="https://files.pythonhosted.org/packages/source/P/PrettyTable/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python-distribute" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root="$DESTDIR" +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-prompt-toolkit/receipt --- a/python-prompt-toolkit/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-prompt-toolkit/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="prompt_toolkit" PACKAGE="python-prompt-toolkit" -VERSION="0.57" -CATEGORY="development" -SHORT_DESC="Library for building powerful interactive command lines in Python." +VERSION="2.0.4" +CATEGORY="python" +SHORT_DESC="Library for building powerful interactive command lines in Python" MAINTAINER="paul@slitaz.org" -WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:prompt-toolkit" -SOURCE="prompt_toolkit" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-six python-wcwidth \ +python3 python3-six python3-wcwidth" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-six python-pygments python-wcwidth" -BUILD_DEPENDS="python-dev python-six python-pygments python-wcwidth" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-six $py-wcwidth" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-psutil/receipt --- a/python-psutil/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-psutil/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,41 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="psutil" PACKAGE="python-psutil" -VERSION="0.6.1" -CATEGORY="development" -SHORT_DESC="A process and system utilities module for Python." +VERSION="5.4.7" +CATEGORY="python" +SHORT_DESC="Cross-platform lib for process and system monitoring in Python" MAINTAINER="paul@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/psutil/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:psutil" -SOURCE="psutil" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://psutil.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - # Cross compilation hack - case "$ARCH" in - arm*) - mv /usr/bin/i486-slitaz-linux-gcc /tmp && - ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ - /usr/bin/i486-slitaz-linux-gcc ;; - esac && - python setup.py install --root=$DESTDIR - case "$ARCH" in - arm*) - rm /usr/bin/i486-slitaz-linux-gcc && - mv /tmp/i486-slitaz-linux-gcc /usr/bin ;; - esac +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-psycopg2/receipt --- a/python-psycopg2/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-psycopg2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="psycopg2" PACKAGE="python-psycopg2" -VERSION="latest" -CATEGORY="development" +VERSION="2.7.5" +CATEGORY="python" SHORT_DESC="PostgreSQL database adapter for the Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL ZPL" -WEB_SITE="https://pypi.org/project/psycopg2/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:psycopg2" -BUILD_DEPENDS="python-dev" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR psycopg2 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*psycopg2-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ptyprocess/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ptyprocess/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-ptyprocess/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-ptyprocess/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="ptyprocess" +PACKAGE="python-ptyprocess" +VERSION="0.6.0" +CATEGORY="python" +SHORT_DESC="Run a subprocess in a pseudo terminal" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="ISCL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:ptyprocess" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-punjab/receipt --- a/python-punjab/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-punjab/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,24 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="punjab" PACKAGE="python-punjab" -VERSION="latest" +VERSION="0.15" CATEGORY="network" SHORT_DESC="HTTP jabber proxy allowing persistent client connections" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://pypi.org/project/punjab/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:punjab" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR punjab + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*punjab-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python twisted pyopenssl" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$python twisted $py-pyopenssl" CONFIG_FILES="/etc/punjab.tac" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-py-restclient/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-py-restclient/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-py-restclient/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-py-restclient/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="py-restclient" +PACKAGE="python-py-restclient" +VERSION="1.3.3" +CATEGORY="python" +SHORT_DESC="Python REST client" +MAINTAINER="claudinei@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:py-restclient" + +BUILD_DEPENDS="python python-httplib2 python3 python3-httplib2" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-httplib2" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-py/receipt --- a/python-py/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-py/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="py" PACKAGE="python-py" -VERSION="1.4.13" -CATEGORY="development" -SHORT_DESC="Library with cross-python path, ini-parsing, io, code, log facilities." +VERSION="1.6.0" +CATEGORY="python" +SHORT_DESC="Library with cross-python path, ini-parsing, io, code, log facilities" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/py/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:py" -SOURCE="py" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py test - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyalsaaudio/receipt --- a/python-pyalsaaudio/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyalsaaudio/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pyalsaaudio" PACKAGE="python-pyalsaaudio" -VERSION="0.5" +VERSION="0.8.4" CATEGORY="multimedia" -SHORT_DESC="ALSA wrapper for Python." +SHORT_DESC="ALSA bindings" MAINTAINER="pankso@slitaz.org" LICENSE="PSL" -WEB_SITE="https://sourceforge.net/projects/pyalsaaudio/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pyalsaaudio" -SOURCE="pyalsaaudio" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python-dev python3-dev alsa-lib-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="alsa-lib python" -BUILD_DEPENDS="python python-dev alsa-lib-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py alsa-lib" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyasn1-modules/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyasn1-modules/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyasn1-modules/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyasn1-modules/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pyasn1-modules" +PACKAGE="python-pyasn1-modules" +VERSION="0.2.2" +CATEGORY="python" +SHORT_DESC="A collection of ASN.1-based protocols modules" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyasn1-modules" + +BUILD_DEPENDS="python python-pyasn1 python3 python3-pyasn1" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-pyasn1" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyasn1/receipt --- a/python-pyasn1/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyasn1/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="pyasn1" PACKAGE="python-pyasn1" -VERSION="latest" -CATEGORY="development" +VERSION="0.4.4" +CATEGORY="python" SHORT_DESC="ASN.1 types and codecs" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/pyasn1/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:pyasn1" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR pyasn1 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pyasn1-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyaudio/receipt --- a/python-pyaudio/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyaudio/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="PyAudio" PACKAGE="python-pyaudio" -VERSION="latest" -CATEGORY="development" -SHORT_DESC="PyAudio provides Python bindings for PortAudio" +VERSION="0.2.11" +CATEGORY="python" +SHORT_DESC="Bindings for PortAudio v19, the cross-platform audio input/output \ +stream library" MAINTAINER="paul@slitaz.org" LICENSE="unknown" -WEB_SITE="https://pypi.org/project/PyAudio/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pyaudio" -BUILD_DEPENDS="python-dev portaudio-dev" +BUILD_DEPENDS="python-dev python3-dev portaudio-dev" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR PyAudio + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*PyAudio-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python portaudio" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py portaudio" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pybarcode/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pybarcode/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pybarcode/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pybarcode/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pyBarcode" +PACKAGE="python-pybarcode" +VERSION="0.7" +CATEGORY="development" +SHORT_DESC="Create standard barcodes" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pybarcode" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pybluez/receipt --- a/python-pybluez/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pybluez/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PyBluez" PACKAGE="python-pybluez" -VERSION="0.18" -CATEGORY="development" -SHORT_DESC="Python wrappers around system Bluetooth." +VERSION="0.22" +CATEGORY="python" +SHORT_DESC="Python wrappers around system Bluetooth" MAINTAINER="pankso@slitaz.org" LICENSE="GPL" -WEB_SITE="https://pypi.org/project/PyBluez/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pybluez" -SOURCE="PyBluez" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://pybluez.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python-dev python3-dev bluez-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python bluez" -BUILD_DEPENDS="$DEPENDS python-dev bluez-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py bluez" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycairo/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycairo/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycairo/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycairo/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +ORIGIN="pycairo" +PACKAGE="python-pycairo" +VERSION="1.17.1" +CATEGORY="python" +SHORT_DESC="Python interface for cairo" +MAINTAINER="erjo@slitaz.org" +LICENSE="MPL LGPL2.1" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:pycairo" + +BUILD_DEPENDS="python-dev python3-dev cairo-dev" +SPLIT="$PACKAGE-dev ${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + case $PACKAGE in + *-dev) + copy @dev + DEPENDS="${PACKAGE%%-dev} cairo-dev" + ;; + *) + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py cairo" + ;; + esac +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pychart/receipt --- a/python-pychart/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pychart/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,39 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +# pypi.org didn't provide downloads for PyChart, but we can use Python-Chart +ORIGIN="Python-Chart" PACKAGE="python-pychart" VERSION="1.39" -CATEGORY="development" -SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG." +CATEGORY="python" +SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG" MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL" -WEB_SITE="https://pypi.org/project/PyChart/" +LICENSE="GPL2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pychart" -SOURCE="PyChart" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://download.gna.org/pychart/$TARBALL" # FIXME +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/pychart" ] || - rm -rf "$1/var/lib/tazpkg/installed/pychart" -} - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycodestyle/receipt --- a/python-pycodestyle/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pycodestyle/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,38 @@ # SliTaz package receipt v2. +ORIGIN="pycodestyle" PACKAGE="python-pycodestyle" -VERSION="latest" -CATEGORY="development" +VERSION="2.4.0" +VERSION23="2.3.1" # python-flake8 requres 'pycodestyle<2.4.0,>=2.0.0' +CATEGORY="python" SHORT_DESC="Python style guide checker" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pycodestyle/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:pycodestyle" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="python3-pycodestyle:3 \ +python-pycodestyle23:23 python3-pycodestyle23:233" compile_rules() { - pip install --no-compile --root=$DESTDIR pycodestyle + case $SET in + '') pip install --no-compile --root=$install $ORIGIN==$VERSION;; + 3) pip3 install --no-compile --root=$install $ORIGIN==$VERSION;; + 23) pip install --no-compile --root=$install $ORIGIN==$VERSION23;; + 233) pip3 install --no-compile --root=$install $ORIGIN==$VERSION23;; + esac } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log) + case $PACKAGE in + *-pycodestyle23) + VERSION="$VERSION23" + CAT="python|legacy version $VERSION23" + ;; + esac copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycodestyle23/.icon.png --- a/python-pycodestyle23/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycodestyle23/receipt --- a/python-pycodestyle23/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="python-pycodestyle23" -VERSION="latest2.3" -CATEGORY="development" -SHORT_DESC="Python style guide checker (for python-flake8)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pycodestyle/" -HOST_ARCH="any" -REPOLOGY="python:pycodestyle" - -BUILD_DEPENDS="python" - -LEGACY_OF="python-pycodestyle" # python-flake8 requres 'pycodestyle<2.4.0,>=2.0.0' while latest is 2.4.0 - -compile_rules() { - pip install --no-compile --root=$DESTDIR 'pycodestyle<2.4.0,>=2.0.0' -} - -genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log) - copy @std - DEPENDS="python" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycparser/receipt --- a/python-pycparser/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pycparser/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="pycparser" PACKAGE="python-pycparser" -VERSION="latest" +VERSION="2.18" CATEGORY="python" SHORT_DESC="C parser in Python" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pycparser/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:pycparser" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR pycparser + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pycparser-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycryptopp/receipt --- a/python-pycryptopp/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pycryptopp/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pycryptopp" PACKAGE="python-pycryptopp" -VERSION="0.6.0" -CATEGORY="development" -SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519." +VERSION="0.7.1" +RANDOM_NUM="869544967005693312591928092448767568728501330214" +CATEGORY="python" +SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="https://pypi.org/project/pycryptopp/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pycryptopp" -SOURCE="pycryptopp" -TARBALL="$SOURCE-$VERSION.1206569328141510525648634803928199668821045408958.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" - -DEPENDS="python" BUILD_DEPENDS="python-dev" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + # Python3 based compilation produce error + pip install --no-compile --root=$install $ORIGIN==$VERSION.$RANDOM_NUM } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + DEPENDS="python" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycups/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycups/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pycups/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycups/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pycups" +PACKAGE="python-pycups" +VERSION="1.9.73" +CATEGORY="python" +SHORT_DESC="Python bindings for libcups" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:pycups" + +BUILD_DEPENDS="python-dev python3-dev cups-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py libcups" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pydot/receipt --- a/python-pydot/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pydot/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,39 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pydot" PACKAGE="python-pydot" -VERSION="1.0.2" -CATEGORY="development" -SHORT_DESC="Python interface to Graphviz's dot language." +VERSION="1.2.4" +CATEGORY="python" +SHORT_DESC="Python interface to Graphviz's Dot" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pydot/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pydot" -SOURCE="pydot" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python-dev python-pyparsing python3-dev python3-pyparsing" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-pyparsing graphviz" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-pyparsing graphviz" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/pydot" ] || - rm -rf "$1/var/lib/tazpkg/installed/pydot" -} - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyexiv2/receipt --- a/python-pyexiv2/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyexiv2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="python-pyexiv2" VERSION="0.3.2" -CATEGORY="development" -SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata." +CATEGORY="python" +SHORT_DESC="Python binding for manipulation of EXIF, IPTC and XMP metadata" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://web.archive.org/web/20170823035430/http://tilloy.net/dev/pyexiv2/" +WEB_SITE="https://launchpad.net/pyexiv2" REPOLOGY="pyexiv2" # python:pyexiv2 -SOURCE="pyexiv2" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="https://launchpad.net/$SOURCE/${VERSION%?}x/$VERSION/+download/$TARBALL" +TARBALL="pyexiv2-$VERSION.tar.bz2" +WGET_URL="https://launchpad.net/pyexiv2/${VERSION%?}x/$VERSION/+download/$TARBALL" -DEPENDS="python exiv2 boost-python" -BUILD_DEPENDS="python-dev wget scons exiv2-dev boost-dev boost-python" +BUILD_DEPENDS="python-dev scons exiv2-dev boost-dev boost-python" -# Rules to configure and make the package. -compile_rules() -{ - scons PREFIX=/usr +compile_rules() { +# broken + scons PREFIX=/usr && scons -k DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="python exiv2 boost-python" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyflakes/receipt --- a/python-pyflakes/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyflakes/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,38 @@ # SliTaz package receipt v2. +ORIGIN="pyflakes" PACKAGE="python-pyflakes" -VERSION="latest" -CATEGORY="development" +VERSION="2.0.0" +VERSION16="1.6.0" # python-flake8 requres 'pyflakes<1.7.0,>=1.5.0' +CATEGORY="python" SHORT_DESC="A simple program which checks Python source files for errors" MAINTAINER="paul@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pyflakes/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:pyflakes" -BUILD_DEPENDS="python-dev" +BUILD_DEPENDS="python python3" +SPLIT="python3-pyflakes:3 \ +python-pyflakes16:16 python3-pyflakes16:163" compile_rules() { - pip install --no-compile --root=$DESTDIR pyflakes + case $SET in + '') pip install --no-compile --root=$install $ORIGIN==$VERSION;; + 3) pip3 install --no-compile --root=$install $ORIGIN==$VERSION;; + 16) pip install --no-compile --root=$install $ORIGIN==$VERSION16;; + 163) pip3 install --no-compile --root=$install $ORIGIN==$VERSION16;; + esac } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log) + case $PACKAGE in + *-pyflakes16) + VERSION="$VERSION16" + CAT="python|legacy version $VERSION16" + ;; + esac copy @std - DEPENDS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyflakes16/.icon.png --- a/python-pyflakes16/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyflakes16/receipt --- a/python-pyflakes16/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="python-pyflakes16" -VERSION="latest1.6" -CATEGORY="development" -SHORT_DESC="Passive checker of Python programs (for python-flake8)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pyflakes/" -HOST_ARCH="any" -REPOLOGY="python:pyflakes" - -BUILD_DEPENDS="python-dev" - -LEGACY_OF="python-pyflakes" # python-flake8 requres 'pyflakes<1.7.0,>=1.5.0' while latest is 2.0.0 - -compile_rules() { - pip install --no-compile --root=$DESTDIR 'pyflakes<1.7.0,>=1.5.0' -} - -genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log) - copy @std - DEPENDS="python" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygame/receipt --- a/python-pygame/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygame/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,54 +1,46 @@ # SliTaz package receipt v2. +ORIGIN="Pygame" PACKAGE="python-pygame" -VERSION="1.9.1release" -CATEGORY="development" -SHORT_DESC="Python game library" +VERSION="1.9.4" +CATEGORY="python" +SHORT_DESC="Python Game Development" MAINTAINER="claudinei@slitaz.org" LICENSE="LGPL" -WEB_SITE="http://www.pygame.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pygame" -TARBALL="pygame-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/ftp/$TARBALL" +# pip version include all the external dependencies (like png, sdl, ...) +# inside the package. Use native compilation with external dependencies +# to save some space: +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/pygame/pygame/archive/$VERSION.tar.gz" -BUILD_DEPENDS="python-dev libsmpeg-dev libsdl-dev libsdl-image-dev \ -libsdl-mixer-dev libsdl-ttf-dev v4l-utils-dev" -SPLIT="python-pygame-dev" +BUILD_DEPENDS="python-dev python3-dev \ +libsdl-dev libsdl-ttf-dev libsdl-image-dev libsdl-mixer-dev libpng16-dev \ +libjpeg-turbo-dev xorg-libX11-dev portmidi-dev freetype-dev" +SPLIT="$PACKAGE-dev $PACKAGE \ +${PACKAGE/python/python3}-dev:3 ${PACKAGE/python/python3}:3" compile_rules() { - sed -i "s|linux/videodev.h|libv4l1-videodev.h|" src/camera.h - python config.py -auto && - python setup.py install --root=$DESTDIR + PORTMIDI_INC_PORTTIME=True \ + python$SET -B setup.py install --root=$install + + find $install -type f -exec chmod g-w '{}' \; # 664 -> 644 } genpkg_rules() { + py="${PACKAGE%%-*}" # python/python3 case $PACKAGE in - python-pygame) - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf - # examples and tests in python-pygame-dev - rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/examples - rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/tests - DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf \ - python-numpy libsmpeg gcc-lib-base" + *-dev) + copy @dev pygame/examples/ pygame/tests/ + DEPENDS="${PACKAGE%%-dev}" ;; - *-dev) - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \ - $fs/usr/lib/$PYTHON_LIB/site-packages/pygame - cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \ - $fs/usr/lib/$PYTHON_LIB/site-packages/pygame + *) + copy @std @rm + DEPENDS="$py freetype libjpeg-turbo libpng16 libsdl libsdl-image \ + libsdl-mixer libsdl-ttf portmidi xorg-libX11" ;; esac } - -# Remove old package. -post_install_python_pygame() { - [ ! -d "$1/var/lib/tazpkg/installed/pygame/examples" ] || - rm -rf "$1/var/lib/tazpkg/installed/pygame/examples" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygame/stuff/patches/config.patch --- a/python-pygame/stuff/patches/config.patch Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -Index: config_unix.py -=================================================================== ---- config_unix.py (revision 2567) -+++ config_unix.py (working copy) -@@ -174,7 +174,7 @@ - - for d in DEPS[1:]: - if not d.found: -- if not confirm(""" -+ if "-auto" not in sys.argv and not confirm(""" - Warning, some of the pygame dependencies were not found. Pygame can still - compile and install, but games that depend on those missing dependencies - will not run. Would you like to continue the configuration?"""): -Index: config_msys.py -=================================================================== ---- config_msys.py (revision 2567) -+++ config_msys.py (working copy) -@@ -283,7 +283,7 @@ - - for d in DEPS[1:]: - if not d.found: -- if not confirm(""" -+ if "-auto" not in sys.argv and not confirm(""" - Warning, some of the pygame dependencies were not found. Pygame can still - compile and install, but games that depend on those missing dependencies - will not run. Would you like to continue the configuration?"""): diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygame/stuff/patches/series --- a/python-pygame/stuff/patches/series Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ --Np0|config.patch diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyglow/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyglow/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyglow/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyglow/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +PACKAGE="python-pyglow" +VERSION="0.2" +CATEGORY="system-tools" +SHORT_DESC="Controlling the PiGlow from Python" +MAINTAINER="pankso@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://github.com/benleb/PyGlow" +HOST_ARCH="any" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/benleb/PyGlow/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="python-dev python-rpi.gpio python3-dev python3-rpi.gpio git" +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + python$SET -B setup.py install --root=$install || return 1 + + mkdir -p $install/usr/share/ + cp -r $src/examples $install/usr/share/pyglow + install -Dm755 $stuff/vortex.py $install/usr/share/pyglow/vortex.py + install -Dm755 $stuff/pyglow $install/usr/bin/pyglow +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-smbus $py-psutil $py-rpi.gpio" + TAGS="raspberrypi rpi" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyglow/stuff/pyglow --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyglow/stuff/pyglow Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Tiny wrapper to Python Pimorini (vortex.py) and Pyglow examples +# + +ex="/usr/share/pyglow" + +# Make sure we have i2c-* module loaded +if ! lsmod | grep -q 'i2c_dev'; then + modprobe i2c-bcm2708 + modprobe i2c-dev +fi + +case "$1" in + 'test') + python ${ex}/test.py ;; + cpu) + python ${ex}/cpu.py ;; + clock) + python ${ex}/clock.py ;; + set-leds) + python ${ex}/set_leds.py ;; + vortex) + python ${ex}/vortex.py ;; + *) + echo "Usage: $(basename $0) [test|cpu|clock|set-leds|vortex]" ;; +esac + +exit 0 diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyglow/stuff/vortex.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyglow/stuff/vortex.py Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,71 @@ +# Sample script for PiGlow that creates a continuous whirly vortex animation +# +# Official Pimorini example modified by Christophe Lincoln for SliTaz ARM +# See our GitHub repository for more information: https://github.com/pimoroni/piglow +# + +import time +from smbus import SMBus + +# command register addresses for the SN3218 IC used in PiGlow +CMD_ENABLE_OUTPUT = 0x00 +CMD_ENABLE_LEDS = 0x13 +CMD_SET_PWM_VALUES = 0x01 +CMD_UPDATE = 0x16 + +class PiGlow: + i2c_addr = 0x54 # fixed i2c address of SN3218 ic + bus = None + + def __init__(self, i2c_bus=1): + self.bus = SMBus(i2c_bus) + + # first we tell the SN3218 to enable output (turn on) + self.write_i2c(CMD_ENABLE_OUTPUT, 0x01) + + # then we ask it to enable each bank of LEDs (0-5, 6-11, and 12-17) + self.write_i2c(CMD_ENABLE_LEDS, [0xFF, 0xFF, 0xFF]) + + def update_leds(self, values): + self.write_i2c(CMD_SET_PWM_VALUES, values) + self.write_i2c(CMD_UPDATE, 0xFF) + + # a helper that writes the given value or list of values to the SN3218 IC + # over the i2c protocol + def write_i2c(self, reg_addr, value): + # if a single value is provided then wrap it in a list so we can treat + # all writes in teh same way + if not isinstance(value, list): + value = [value]; + + # write the data to the SN3218 + self.bus.write_i2c_block_data(self.i2c_addr, reg_addr, value) + +# a list of 18 values between 0 - 255 that represent each LED on the PiGlow. +# to change the LEDs we set the values in this array and then pass it to the +# update_leds() function to actually update the LDEs +values = [0x01,0x02,0x04,0x08,0x10,0x18,0x20,0x30,0x40,0x50,0x60,0x70,0x80,0x90,0xA0,0xC0,0xE0,0xFF] + +# create an instance of our PiGlow class and tell it that "1" is the I2C bus +# index (should be 0 for old old old Pis) +piglow = PiGlow(1) + +# loop forever, i mean why would we ever want to stop now the party has started? +# you can however use Ctrl+C to stop the script and reset the LEDs to off state +try: + print "Use Ctrl-C to stop" + while True: + # pop the first value off then drop it back on again - this just cycles the values around + values.append(values.pop(0)) + + # update the piglow with current values + piglow.update_leds(values) + + # sleep for a bit, don't go too fast! + time.sleep(0.1) + +except KeyboardInterrupt: + # set all the LEDs to "off" when Ctrl+C is pressed before exiting + values = [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00] + piglow.update_leds(values) + diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygments/receipt --- a/python-pygments/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygments/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="Pygments" PACKAGE="python-pygments" -VERSION="latest" +VERSION="2.2.0" CATEGORY="development" SHORT_DESC="Generic syntax highlighter" MAINTAINER="claudinei@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/Pygments/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pygments" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR Pygments + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*Pygments-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygobject/receipt --- a/python-pygobject/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygobject/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,35 @@ # SliTaz package receipt v2. +ORIGIN="PyGObject" PACKAGE="python-pygobject" -VERSION="latest" -CATEGORY="development" +VERSION="3.30.1" +CATEGORY="python" SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+" MAINTAINER="psychomaniak@xakep.ru" LICENSE="LGPL2.1" -WEB_SITE="https://pypi.org/project/PyGObject/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pygobject3" -BUILD_DEPENDS="python-dev pycairo-dev gobject-introspection-dev" -SPLIT="$PACKAGE-dev" +BUILD_DEPENDS="python-dev python-pycairo-dev python3-dev python3-pycairo-dev \ +glib-dev gobject-introspection-dev cairo-dev" +SPLIT="$PACKAGE-dev \ +${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" compile_rules() { - pip install --no-compile --root=$DESTDIR PyGObject + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*PyGObject-||p' $LOGS/${PACKAGE%-dev}.log) case $PACKAGE in - python-pygobject) - copy @std - DEPENDS="cairo glib gobject-introspection libffi python" - PROVIDE="python-gi" - ;; *-dev) copy @dev - DEPENDS="python-pygobject glib-dev libffi-dev" + DEPENDS="${PACKAGE%%-dev} glib-dev libffi-dev" + ;; + *) + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py cairo glib gobject-introspection libffi" ;; esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygobject2/receipt --- a/python-pygobject2/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygobject2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,39 +1,50 @@ # SliTaz package receipt v2. +ORIGIN="PyGObject" PACKAGE="python-pygobject2" VERSION="2.28.7" -CATEGORY="development" -SHORT_DESC="Python bindings for the GObject library" +CATEGORY="python" +SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pygobject2" +# pip drops 2.x branch, get it from GNOME mirror: TARBALL="pygobject-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/pygobject/${VERSION%.*}/$TARBALL" -BUILD_DEPENDS="python python-dev glib-dev pycairo-dev \ -cairo-dev libffi-dev util-linux-mount-dev" -SPLIT="$PACKAGE-dev" +BUILD_DEPENDS="python-dev python-pycairo-dev python3-dev python3-pycairo-dev \ +glib-dev gobject-introspection-dev cairo-dev" +BUILD_DEPENDS="python-dev python3-dev glib-dev" +SPLIT="$PACKAGE-dev \ +${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" compile_rules() { + export PYTHON=/usr/bin/python$SET + + # enabling introspection leads to compiling errors ./configure \ --disable-introspection \ $CONFIGURE_ARGS && fix libtool && make && - make install + make install || return 1 + + find $install -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete } genpkg_rules() { case $PACKAGE in - python-pygobject2) - copy @std - DEPENDS="python pycairo glib libffi" - ;; *-dev) copy @dev - DEPENDS="python-pygobject2 libffi-dev" + DEPENDS="${PACKAGE%%-dev} glib-dev libffi-dev" + ;; + *) + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py glib libffi" ;; esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygraphviz/receipt --- a/python-pygraphviz/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygraphviz/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pygraphviz" PACKAGE="python-pygraphviz" -VERSION="0.99.1" -CATEGORY="development" -SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure." +VERSION="1.5" +CATEGORY="python" +SHORT_DESC="Python interface to Graphviz" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/pygraphviz/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pygraphviz" -SOURCE="pygraphviz" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL" +BUILD_DEPENDS="python-dev python3-dev graphviz-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="graphviz python" -BUILD_DEPENDS="graphviz-dev python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py graphviz" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygtk/receipt --- a/python-pygtk/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pygtk/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,19 +1,22 @@ # SliTaz package receipt v2. +ORIGIN="PyGTK" PACKAGE="python-pygtk" VERSION="2.24.0" -CATEGORY="development" +CATEGORY="python" SHORT_DESC="GTK+ for Python" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="http://www.pygtk.org/" +WEB_SITE="https://pygobject.readthedocs.io/en/latest/" +#HOST_ARCH REPOLOGY="python:pygtk" TARBALL="pygtk-$VERSION.tar.bz2" WGET_URL="$GNOME_MIRROR/pygtk/${VERSION%.*}/$TARBALL" -BUILD_DEPENDS="python-dev pycairo-dev python-pygobject2-dev expat-dev gtk+-dev \ -libglade-dev libxml2-dev libffi-dev python-numpy" +# using Python3 produce errors +BUILD_DEPENDS="python-dev python-pygobject2-dev python-pycairo-dev \ +python-numpy glib-dev atk-dev pango-dev gtk+-dev libglade-dev" SPLIT="$PACKAGE-demos $PACKAGE $PACKAGE-dev" compile_rules() { @@ -22,23 +25,25 @@ $CONFIGURE_ARGS && fix libtool && make $MAKEFLAGS && - make install + make install || return 1 + + find $install -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete } genpkg_rules() { case $PACKAGE in *-demos) copy demos/ pygtk-demo pygtk-demo.py + DEPENDS="python-pygtk" CAT="development|demos" ;; - python-pygtk) - copy @std @rm - rm -r $fs/usr/lib/pygtk/ - DEPENDS="atk cairo gdk-pixbuf glib gtk+ libglade pango python" - ;; *-dev) copy @dev DEPENDS="python-pygtk gtk+-dev python-pygobject2-dev" ;; + *) + copy @std @rm + DEPENDS="python atk cairo gdk-pixbuf glib gtk+ libglade pango" + ;; esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygtk/stuff/patches/python27.patch --- a/python-pygtk/stuff/patches/python27.patch Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -https://bugzilla.gnome.org/show_bug.cgi?id=623965 - -diff --git a/gtk/gtkmodule.c b/gtk/gtkmodule.c -index c0e1493..aa8cf10 100644 ---- a/gtk/gtkmodule.c -+++ b/gtk/gtkmodule.c -@@ -227,8 +227,12 @@ init_gtk(void) - pygtk_add_stock_items(d); - - /* extension API */ -- PyDict_SetItemString(d, "_PyGtk_API", -- o=PyCObject_FromVoidPtr(&functions, NULL)); -+#if PY_VERSION_HEX >= 0x02070000 -+ o = PyCapsule_New(&functions, "gtk._gtk._PyGtk_API", NULL); -+#else -+ o = PyCObject_FromVoidPtr(&functions, NULL); -+#endif -+ PyDict_SetItemString(d, "_PyGtk_API", o); - Py_DECREF(o); - - PyGtkDeprecationWarning = PyErr_NewException("gtk.GtkDeprecationWarning", -diff --git a/gtk/pygtk.h b/gtk/pygtk.h -index 573c3b9..e4c680f 100644 ---- a/gtk/pygtk.h -+++ b/gtk/pygtk.h -@@ -60,6 +60,18 @@ struct _PyGtk_FunctionStruct *_PyGtk_API; - - - /* a function to initialise the pygtk functions */ -+ -+/* Python 2.7 introduced the PyCapsule API and deprecated the CObject API */ -+#if PY_VERSION_HEX >= 0x02070000 -+#define init_pygtk() G_STMT_START { \ -+ void *capsule = PyCapsule_Import("gtk._gtk._PyGtk_API", 0); \ -+ if (!capsule) { \ -+ return; \ -+ } \ -+ _PyGtk_API = (struct _PyGtk_FunctionStruct*)capsule; \ -+} G_STMT_END -+#else /* PY_VERSION_HEX */ -+/* Python 2.6 and earlier use the CObject API */ - #define init_pygtk() G_STMT_START { \ - PyObject *pygtk = PyImport_ImportModule("gtk"); \ - if (pygtk != NULL) { \ -@@ -79,6 +91,7 @@ struct _PyGtk_FunctionStruct *_PyGtk_API; - return; \ - } \ - } G_STMT_END -+#endif /* PY_VERSION_HEX */ - - #endif - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pygtk/stuff/patches/series --- a/python-pygtk/stuff/patches/series Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -python27.patch diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyhamcrest/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyhamcrest/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyhamcrest/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyhamcrest/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="PyHamcrest" +PACKAGE="python-pyhamcrest" +VERSION="1.9.0" +CATEGORY="python" +SHORT_DESC="Hamcrest framework for matcher objects" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyhamcrest" + +BUILD_DEPENDS="python python-six python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-six" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyliblzma/receipt --- a/python-pyliblzma/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyliblzma/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,24 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pyliblzma" PACKAGE="python-pyliblzma" VERSION="0.5.3" CATEGORY="development" SHORT_DESC="A Python wrapper for the liblzma library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL3" -WEB_SITE="https://pypi.org/project/pyliblzma/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pyliblzma" -SOURCE="pyliblzma" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python-dev xz-dev" -DEPENDS="liblzma python" -BUILD_DEPENDS="xz-dev python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + # Python3 based compilation produce error + pip install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + DEPENDS="python liblzma" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pylons/receipt --- a/python-pylons/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pylons/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,38 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Pylons" PACKAGE="python-pylons" -VERSION="1.0" -CATEGORY="development" -SHORT_DESC="Lightweight web framework" +VERSION="1.0.3" +CATEGORY="python" +SHORT_DESC="Pylons Web Framework" MAINTAINER="taziden@slitaz.org" LICENSE="BSD" -WEB_SITE="http://pylonshq.com" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pylons" -SOURCE="Pylons" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://cdn.pylonshq.com/download/$VERSION/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-beaker python-decorator python-formencode \ +python-mako python-markupsafe python-nose python-paste python-pastedeploy \ +python-pastescript python-routes python-simplejson python-tempita \ +python-weberror python-webhelpers python-webob python-webtest \ +python3 python3-beaker python3-decorator python3-formencode python3-mako \ +python3-markupsafe python3-nose python3-paste python3-pastedeploy \ +python3-pastescript python3-routes python3-simplejson python3-tempita \ +python3-weberror python3-webhelpers python3-webob python3-webtest" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR + # '--no-compile' used, but these files still installed... + find $install -type f -name '*.pyc' -delete } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-beaker $py-decorator $py-formencode $py-mako \ + $py-markupsafe $py-nose $py-paste $py-pastedeploy $py-pastescript \ + $py-routes $py-simplejson $py-tempita $py-weberror $py-webhelpers \ + $py-webob $py-webtest" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pynacl/receipt --- a/python-pynacl/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pynacl/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="PyNaCl" PACKAGE="python-pynacl" -VERSION="latest" +VERSION="1.2.1" CATEGORY="python" SHORT_DESC="Python binding to the Networking and Cryptography library (NaCl)" MAINTAINER="al.bobylev@gmail.com" LICENSE="Apache2" -WEB_SITE="https://pypi.org/project/PyNaCl/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pynacl" -BUILD_DEPENDS="python python-cffi python-six" +BUILD_DEPENDS="python python-cffi python-six \ +python3 python3-cffi python3-six" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR PyNaCl + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*PyNaCl-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python python-cffi python-six" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-cffi $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopengl-accelerate/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopengl-accelerate/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopengl-accelerate/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopengl-accelerate/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="PyOpenGL-accelerate" +PACKAGE="python-pyopengl-accelerate" +VERSION="3.1.0" +CATEGORY="python" +SHORT_DESC="Acceleration code for PyOpenGL" +MAINTAINER="yuripourre@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:opengl-accelerate" + +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-pyopengl" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopengl/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopengl/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopengl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopengl/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="PyOpenGL" +PACKAGE="python-pyopengl" +VERSION="3.1.0" +CATEGORY="python" +SHORT_DESC="Standard OpenGL bindings for Python" +MAINTAINER="yuripourre@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyopengl" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopenssl/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopenssl/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyopenssl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyopenssl/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt v2. + +ORIGIN="pyOpenSSL" +PACKAGE="python-pyopenssl" +VERSION="18.0.0" +CATEGORY="python" +SHORT_DESC="OpenSSL library subset wrapper for Python" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyopenssl" + +BUILD_DEPENDS="python python-cryptography python-six \ +python3 python3-cryptography python3-six \ +openssl-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-cryptography $py-six openssl" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyparsing/receipt --- a/python-pyparsing/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyparsing/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="pyparsing" PACKAGE="python-pyparsing" -VERSION="latest" -CATEGORY="development" +VERSION="2.2.1" +CATEGORY="python" SHORT_DESC="Python parsing module" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pyparsing/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pyparsing" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR pyparsing + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*pyparsing-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pypdf/receipt --- a/python-pypdf/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pypdf/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,37 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pyPdf" PACKAGE="python-pypdf" -VERSION="1.12" -CATEGORY="development" -SHORT_DESC="A Pure-Python library built as a PDF tookit." +VERSION="1.13" +CATEGORY="python" +SHORT_DESC="PDF toolkit" MAINTAINER="claudinei@slitaz.org" LICENSE="BSD" -WEB_SITE="http://pybrary.net/pyPdf" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pypdf" -SOURCE="pyPdf" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/$TARBALL" +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/pypdf" ] || - rm -rf "$1/var/lib/tazpkg/installed/pypdf" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyprotocols/.icon.png --- a/python-pyprotocols/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyprotocols/receipt --- a/python-pyprotocols/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-pyprotocols" -VERSION="0.9.3" -CATEGORY="development" -SHORT_DESC="PEP 246 and a whole lot more." -MAINTAINER="pankso@slitaz.org" -LICENSE="PSL" -WEB_SITE="http://peak.telecommunity.com/PyProtocols.html" -REPOLOGY="python:pyprotocols" - -SOURCE="PyProtocols" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://peak.telecommunity.com/dist/$TARBALL" -TAGS="python" - -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pypubsub/receipt --- a/python-pypubsub/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pypubsub/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,28 @@ # SliTaz package receipt v2. +ORIGIN="PyPubSub" PACKAGE="python-pypubsub" -VERSION="latest" +VERSION="4.0.0" CATEGORY="python" SHORT_DESC="Python Publish-Subscribe Package" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/PyPubSub/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:pypubsub" -BUILD_DEPENDS="python python-typing" +BUILD_DEPENDS="python-dev python-typing python3-dev" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR PyPubSub + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*PyPubSub-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python python-typing" + py="${PACKAGE%%-*}" # python/python3 + case $PACKAGE in + python-*) DEPENDS="$py $py-typing";; + python3-*) DEPENDS="$py";; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyrex/receipt --- a/python-pyrex/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyrex/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -2,29 +2,25 @@ PACKAGE="python-pyrex" VERSION="0.9.9" -CATEGORY="development" -SHORT_DESC="Language for Writing Python Extension Modules." +CATEGORY="python" +SHORT_DESC="Language for Writing Python Extension Modules" MAINTAINER="pankso@slitaz.org" LICENSE="Apache" WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/" REPOLOGY="python:pyrex" -SOURCE="Pyrex" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE$TARBALL" -TAGS="python" +# pip didn't provide downloads for Pyrex +TARBALL="Pyrex-$VERSION.tar.gz" +WGET_URL="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/$TARBALL" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="python-dev" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root="$DESTDIR" --prefix=/usr +compile_rules() { + # Python3 based compilation produce error + python -B setup.py install --root=$install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="python" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyserial/receipt --- a/python-pyserial/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyserial/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,28 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN=pyserial PACKAGE="python-pyserial" -VERSION="2.7" -CATEGORY="development" -SHORT_DESC="Python Serial Port Extension." +VERSION="3.4" +CATEGORY="python" +SHORT_DESC="Python Serial Port Extension" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PSL" -WEB_SITE="https://pypi.org/project/pyserial/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pyserial" -SOURCE="pyserial" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR + # option '--no-compile' provided, but these files still exists + find $install -type f -name '*.pyc' -delete } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pysocks/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pysocks/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pysocks/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pysocks/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="PySocks" +PACKAGE="python-pysocks" +VERSION="1.6.8" +CATEGORY="python" +SHORT_DESC="A Python SOCKS client module" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pysocks" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pysqlite/receipt --- a/python-pysqlite/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pysqlite/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pysqlite" PACKAGE="python-pysqlite" -VERSION="2.6.0" -CATEGORY="development" -SHORT_DESC="Python interface for the SQLite database" +VERSION="2.8.3" +CATEGORY="python" +SHORT_DESC="DB-API 2.0 interface for SQLite 3.x" MAINTAINER="sygne@ombres.eu" LICENSE="zlib/libpng" -WEB_SITE="https://pypi.org/project/pysqlite/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pysqlite" -SOURCE="pysqlite" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python-dev sqlite3-dev" -DEPENDS="sqlite3 python" -BUILD_DEPENDS="python python-dev sqlite3-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cp $stuff/setup.cfg . - python setup.py install --root=$DESTDIR +compile_rules() { + # Python3 based compilation produce error: + # pysqlite is not supported on Python 3. When using Python 3, use the + # sqlite3 module from the standard library. + pip install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + DEPENDS="python libsqlite3" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pysqlite/stuff/setup.cfg --- a/python-pysqlite/stuff/setup.cfg Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -[build_ext] -define= -include_dirs=/usr/include -library_dirs=/usr/lib -libraries=sqlite3 diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyte/receipt --- a/python-pyte/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyte/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pyte" PACKAGE="python-pyte" -VERSION="0.5.1" -CATEGORY="development" -SHORT_DESC="Simple VTXXX-compatible terminal emulator." +VERSION="0.8.0" +CATEGORY="python" +SHORT_DESC="Simple VTXXX-compatible terminal emulator" MAINTAINER="paul@slitaz.org" LICENSE="LGPL3" -WEB_SITE="http://pyte.readthedocs.org/en/latest/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pyte" -SOURCE="pyte" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-wcwidth python3 python3-wcwidth" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-wcwidth" -BUILD_DEPENDS="python-dev python-wcwidth" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-wcwidth" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pytest/receipt --- a/python-pytest/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pytest/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="pytest" PACKAGE="python-pytest" -VERSION="2.3.4" -CATEGORY="development" +VERSION="3.8.0" +CATEGORY="python" SHORT_DESC="A simple powerful testing with Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pytest/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pytest" -SOURCE="pytest" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-atomicwrites python-attrs python-funcsigs \ +python-more-itertools python-pathlib2 python-pluggy python-py python-six \ +python3 python3-atomicwrites python3-attrs python3-more-itertools \ +python3-pluggy python3-py python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + case $PACKAGE in + python-*) + DEPENDS="$py $py-atomicwrites $py-attrs $py-funcsigs \ + $py-more-itertools $py-pathlib2 $py-pluggy $py-py $py-six" + ;; + python3-*) + DEPENDS="$py $py-atomicwrites $py-attrs $py-more-itertools \ + $py-pluggy $py-py $py-six" + ;; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pytz/receipt --- a/python-pytz/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pytz/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="pytz" PACKAGE="python-pytz" -VERSION="latest" -CATEGORY="development" +VERSION="2018.5" +CATEGORY="python" SHORT_DESC="World Timezone Definitions for Python" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/pytz/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pytz" BUILD_DEPENDS="python python3" -SPLIT="python3-pytz:py3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - case $SET in - '') pip='pip';; - py3) pip='pip3';; - esac - $pip install --no-compile --root=$DESTDIR pytz + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(find $install -type d -name 'pytz-*.dist-info' -exec basename '{}' \; \ - | sed 's|pytz-\(.*\)\.dist-info|\1|') copy @std - case $PACKAGE in - python-pytz) DEPENDS="python";; - python3-pytz) DEPENDS="python3";; - esac + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyusb/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyusb/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyusb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyusb/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pyusb" +PACKAGE="python-pyusb" +VERSION="1.0.2" +CATEGORY="python" +SHORT_DESC="Python USB access module" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyusb" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyutil/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyutil/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyutil/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyutil/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pyutil" +PACKAGE="python-pyutil" +VERSION="3.1.0" +CATEGORY="python" +SHORT_DESC="A collection of utilities for Python programmers" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyutil" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyweb/.icon.png --- a/python-pyweb/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyweb/receipt --- a/python-pyweb/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-pyweb" -VERSION="0.37" -CATEGORY="development" -SHORT_DESC="A web framework for Python." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="PublicDomain" -WEB_SITE="http://webpy.org/" -REPOLOGY="python:web.py" # python:webpy - -SOURCE="web.py" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}static/$TARBALL" - -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pywebdav/receipt --- a/python-pywebdav/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pywebdav/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PyWebDAV" PACKAGE="python-pywebdav" VERSION="0.9.8" -CATEGORY="development" -SHORT_DESC="A WebDAV client library for Python." +CATEGORY="python" +SHORT_DESC="WebDAV library including a standalone server for Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://pypi.org/project/PyWebDAV/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:pywebdav" -SOURCE="PyWebDAV" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://pywebdav.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" +compile_rules() { + fix utf-8; export LC_ALL=en_US.UTF-8 -# Rules to configure and make the package. -compile_rules() -{ - python setup.py develop && - python setup.py install --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyxdg/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyxdg/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyxdg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyxdg/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="pyxdg" +PACKAGE="python-pyxdg" +VERSION="0.26" +CATEGORY="python" +SHORT_DESC="Implementations of freedesktop.org standards" +MAINTAINER="paul@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:pyxdg" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyxml/receipt --- a/python-pyxml/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyxml/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,37 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PyXML" PACKAGE="python-pyxml" -VERSION="0.8.4" -CATEGORY="development" -SHORT_DESC="Pythonic binding for xml..." +VERSION="0.8.4" # no longer maintained since 2004 +CATEGORY="python" +SHORT_DESC="Pythonic binding for xml" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://pyxml.sourceforge.net/" +#HOST_ARCH REPOLOGY="python:pyxml" -SOURCE="PyXML" -TARBALL="$SOURCE-$VERSION.tar.gz" +TARBALL="$ORIGIN-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/pyxml/$TARBALL" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="python-dev" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build --with-xslt - python setup.py install --root=$DESTDIR +compile_rules() { + python setup.py build --with-xslt && + python -B setup.py install --root=$install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="python" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/pyxml" ] || - rm -rf "$1/var/lib/tazpkg/installed/pyxml" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyxml/stuff/patches/fix-python2.6.patch --- a/python-pyxml/stuff/patches/fix-python2.6.patch Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -diff -ur a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py ---- a/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2003-03-11 15:01:34.000000000 +0100 -+++ b/xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2009-05-25 16:32:26.000000000 +0200 -@@ -24,8 +24,8 @@ - self._rel = rel - nt = ParsedNodeTest.ParsedNodeTest('node', '') - ppl = ParsedPredicateList.ParsedPredicateList([]) -- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') -- self._step = ParsedStep.ParsedStep(as, nt, ppl) -+ asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') -+ self._step = ParsedStep.ParsedStep(asp, nt, ppl) - return - - def evaluate(self, context): -diff -ur a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py ---- a/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2003-03-11 15:01:34.000000000 +0100 -+++ b/xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2009-05-25 16:27:55.000000000 +0200 -@@ -28,8 +28,8 @@ - self._right = right - nt = ParsedNodeTest.ParsedNodeTest('node','') - ppl = ParsedPredicateList.ParsedPredicateList([]) -- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') -- self._middle = ParsedStep.ParsedStep(as, nt, ppl) -+ asp = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') -+ self._middle = ParsedStep.ParsedStep(asp, nt, ppl) - - def evaluate(self, context): - res = [] diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyxml/stuff/patches/series --- a/python-pyxml/stuff/patches/series Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -fix-python2.6.patch diff -r d8fcbb8246ef -r c9a7a7b42a86 python-pyyaml/receipt --- a/python-pyyaml/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-pyyaml/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="PyYAML" PACKAGE="python-pyyaml" -VERSION="3.08" -CATEGORY="development" -SHORT_DESC="YAML parser and emitter for the Python programming language." +VERSION="3.13" +CATEGORY="python" +SHORT_DESC="YAML parser and emitter for Python" MAINTAINER="rocky@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pyyaml.org/wiki/PyYAML/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:pyyaml" -SOURCE="PyYAML" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://pyyaml.org/download/pyyaml/$TARBALL" +BUILD_DEPENDS="python-dev python3-dev yaml-dev" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev yaml-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py yaml" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-qrcode/receipt --- a/python-qrcode/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-qrcode/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="qrcode" PACKAGE="python-qrcode" -VERSION="4.0.4" -CATEGORY="development" -SHORT_DESC="Python QR Code image generator." +VERSION="6.0" +CATEGORY="python" +SHORT_DESC="QR Code image generator" MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="PSL" -WEB_SITE="https://pypi.org/project/qrcode/" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:qrcode" -SOURCE="qrcode" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python-dev python-six python3-dev python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-pil python-six" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-reportlab/receipt --- a/python-reportlab/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-reportlab/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,45 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="reportlab" PACKAGE="python-reportlab" -VERSION="2_3" -CATEGORY="development" -SHORT_DESC="PDF generation solution." +VERSION="3.5.6" +CATEGORY="python" +SHORT_DESC="The Reportlab Toolkit" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/reportlab/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:reportlab" -SOURCE="ReportLab" -TARBALL="${SOURCE}_$VERSION.tar.gz" -WGET_URL="${WEB_SITE}ftp/$TARBALL" # FIXME +BUILD_DEPENDS="python python-pillow python3 python3-pillow" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python freetype" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - ln -s ${SOURCE}_$VERSION $src - cd $src - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-pillow" } - -clean_wok() -{ - rm -rf ${PACKAGE}_$VERSION -} - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/reportlab" ] || - rm -rf "$1/var/lib/tazpkg/installed/reportlab" -} - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-repoze.lru/receipt --- a/python-repoze.lru/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-repoze.lru/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="repoze.lru" PACKAGE="python-repoze.lru" -VERSION="latest" -CATEGORY="development" +VERSION="0.7" +CATEGORY="python" SHORT_DESC="A tiny LRU cache implementation and decorator" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/repoze.lru/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:repoze.lru" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR repoze.lru + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*repoze.lru-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-requests-oauthlib/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-requests-oauthlib/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-requests-oauthlib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-requests-oauthlib/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="requests-oauthlib" +PACKAGE="python-requests-oauthlib" +VERSION="1.0.0" +CATEGORY="python" +SHORT_DESC="OAuthlib authentication support for Requests" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:requests-oauthlib" + +BUILD_DEPENDS="python python-oauthlib python-requests \ +python3 python3-oauthlib python3-requests" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-oauthlib $py-requests" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-requests/receipt --- a/python-requests/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-requests/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="requests" PACKAGE="python-requests" -VERSION="latest" +VERSION="2.19.1" CATEGORY="network" SHORT_DESC="Python HTTP Requests for Humans" MAINTAINER="al.bobylev@gmail.com" LICENSE="Apache" -WEB_SITE="https://pypi.org/project/requests/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:requests" -BUILD_DEPENDS="python-urllib3 python-idna python-certifi python-chardet" +BUILD_DEPENDS="python python-urllib3 python-idna python-certifi python-chardet \ +python3 python3-urllib3 python3-idna python3-certifi python3-chardet" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR requests + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*requests-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="$BUILD_DEPENDS" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-urllib3 $py-idna $py-certifi $py-chardet" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-restclient/.icon.png --- a/python-restclient/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-restclient/receipt --- a/python-restclient/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-restclient" -VERSION="1.3.2" -CATEGORY="development" -SHORT_DESC="A simple REST client for python" -MAINTAINER="claudinei@slitaz.org" -LICENSE="MIT" -WEB_SITE="https://bitbucket.org/benoitc/py-restclient" -REPOLOGY="python:py-restclient" - -SOURCE="py-restclient" -TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="$WEB_SITE/get/$VERSION.gz" - -DEPENDS="python python-httplib2" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr - rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* - rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-restkit/receipt --- a/python-restkit/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-restkit/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,28 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="restkit" PACKAGE="python-restkit" -VERSION="4.2.1" -CATEGORY="development" -SHORT_DESC="An HTTP resource kit for Python" +VERSION="4.2.2" +CATEGORY="python" +SHORT_DESC="Python REST kit" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" -WEB_SITE="http://restkit.readthedocs.org" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:restkit" -SOURCE="restkit" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" +BUILD_DEPENDS="python-dev python-http-parser python-socketpool \ +python3-dev python3-http-parser python3-socketpool" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-http-parser python-socketpool" -BUILD_DEPENDS="python-dev" +compile_rules() { + fix utf-8; export LC_ALL=en_US.UTF-8 -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - rm -rf $install/usr/restkit - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-http-parser $py-socketpool" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-routes/receipt --- a/python-routes/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-routes/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Routes" PACKAGE="python-routes" -VERSION="1.12.3" -CATEGORY="development" +VERSION="2.4.1" +CATEGORY="python" SHORT_DESC="Routing Recognition and Generation Tools" MAINTAINER="taziden@slitaz.org" LICENSE="BSD" -WEB_SITE="http://pylonshq.com" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:routes" -SOURCE="Routes" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://cdn.pylonshq.com/download/1.0/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-repoze.lru python-six \ +python3 python3-repoze.lru python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-repoze.lru $py-six" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-adafruit/.icon.png --- a/python-rpi-adafruit/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-adafruit/receipt --- a/python-rpi-adafruit/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-rpi-adafruit" -GITHASH="99a2955eb6ddc81998ade7359ebb505fb70919d0" -VERSION=${GITHASH:0:6} -CATEGORY="system-tools" -SHORT_DESC="Adafruit Industries Python code for the RPi" -MAINTAINER="pankso@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://www.adafruit.com/" -HOST_ARCH="arm" - -SOURCE="python-adafruit-code" -TARBALL="$PACKAGE-$VERSION.tar.zip" -WGET_URL="https://codeload.github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/zip/$GITHASH" - -# Leds support for now -DEPENDS="python python-smbus i2c-tools slitaz-arm-rpi" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - python="$fs/usr/lib/python2.7" - mkdir -p ${python} ${fs}/usr/share/adafruit - cp -a ${src}/Adafruit_LEDBackpack ${fs}/usr/share/adafruit/LEDBackpack - # Can be imported to write custom code - cp ${src}/Adafruit_I2C/* ${python} - mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_7Segment.py ${python} - mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_8x8.py ${python} - mv ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_LEDBackpack.py ${python} - rm ${fs}/usr/share/adafruit/LEDBackpack/Adafruit_I2C.py -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-gpio/.icon.png --- a/python-rpi-gpio/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-gpio/receipt --- a/python-rpi-gpio/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-rpi-gpio" -VERSION="0.5.5" -CATEGORY="system-tools" -SHORT_DESC="Python class to control the GPIO on a Raspberry Pi." -MAINTAINER="pankso@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://pypi.org/project/RPi.GPIO/" -REPOLOGY="python:rpi-gpio" -HOST_ARCH="arm" - -SOURCE="RPi.GPIO" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/R/$SOURCE/$TARBALL" -TAGS="raspberrypi rpi" - -DEPENDS="python python-smbus" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - # Cross compilation hack - case "$ARCH" in - arm*) - mv /usr/bin/i486-slitaz-linux-gcc /tmp && - ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ - /usr/bin/i486-slitaz-linux-gcc ;; - esac && - python setup.py install --root=$DESTDIR - case "$ARCH" in - arm*) - rm /usr/bin/i486-slitaz-linux-gcc && - mv /tmp/i486-slitaz-linux-gcc /usr/bin ;; - esac -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-pyglow/.icon.png --- a/python-rpi-pyglow/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-pyglow/receipt --- a/python-rpi-pyglow/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-rpi-pyglow" -VERSION="git-1" -CATEGORY="system-tools" -SHORT_DESC="Controlling the PiGlow from Python." -MAINTAINER="pankso@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://github.com/benleb/PyGlow" -HOST_ARCH="arm" - -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="git|git://github.com/benleb/PyGlow.git" -TAGS="raspberrypi rpi" - -DEPENDS="python python-smbus python-psutil python-rpi-gpio" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - pylibs="/usr/lib/python2.7" - mkdir -p $fs/${pylibs} $fs/usr/share $fs/usr/bin - cp -a ${src}/pyglow.py $fs/${pylibs} - cp -a ${src}/examples $fs/usr/share/pyglow - cp ${stuff}/vortex.py $fs/usr/share/pyglow - cp ${stuff}/pyglow $fs/usr/bin -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-pyglow/stuff/pyglow --- a/python-rpi-pyglow/stuff/pyglow Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -#!/bin/sh -# -# Tiny wrapper to Python Pimorini (vortex.py) and Pyglow examples -# - -ex="/usr/share/pyglow" - -# Make sure we have i2c-* module loaded -if ! lsmod | grep -q 'i2c_dev'; then - modprobe i2c-bcm2708 - modprobe i2c-dev -fi - -case "$1" in - 'test') - python ${ex}/test.py ;; - cpu) - python ${ex}/cpu.py ;; - clock) - python ${ex}/clock.py ;; - set-leds) - python ${ex}/set_leds.py ;; - vortex) - python ${ex}/vortex.py ;; - *) - echo "Usage: $(basename $0) [test|cpu|clock|set-leds|vortex]" ;; -esac - -exit 0 diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi-pyglow/stuff/vortex.py --- a/python-rpi-pyglow/stuff/vortex.py Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -# Sample script for PiGlow that creates a continuous whirly vortex animation -# -# Official Pimorini example modified by Christophe Lincoln for SliTaz ARM -# See our GitHub repository for more information: https://github.com/pimoroni/piglow -# - -import time -from smbus import SMBus - -# command register addresses for the SN3218 IC used in PiGlow -CMD_ENABLE_OUTPUT = 0x00 -CMD_ENABLE_LEDS = 0x13 -CMD_SET_PWM_VALUES = 0x01 -CMD_UPDATE = 0x16 - -class PiGlow: - i2c_addr = 0x54 # fixed i2c address of SN3218 ic - bus = None - - def __init__(self, i2c_bus=1): - self.bus = SMBus(i2c_bus) - - # first we tell the SN3218 to enable output (turn on) - self.write_i2c(CMD_ENABLE_OUTPUT, 0x01) - - # then we ask it to enable each bank of LEDs (0-5, 6-11, and 12-17) - self.write_i2c(CMD_ENABLE_LEDS, [0xFF, 0xFF, 0xFF]) - - def update_leds(self, values): - self.write_i2c(CMD_SET_PWM_VALUES, values) - self.write_i2c(CMD_UPDATE, 0xFF) - - # a helper that writes the given value or list of values to the SN3218 IC - # over the i2c protocol - def write_i2c(self, reg_addr, value): - # if a single value is provided then wrap it in a list so we can treat - # all writes in teh same way - if not isinstance(value, list): - value = [value]; - - # write the data to the SN3218 - self.bus.write_i2c_block_data(self.i2c_addr, reg_addr, value) - -# a list of 18 values between 0 - 255 that represent each LED on the PiGlow. -# to change the LEDs we set the values in this array and then pass it to the -# update_leds() function to actually update the LDEs -values = [0x01,0x02,0x04,0x08,0x10,0x18,0x20,0x30,0x40,0x50,0x60,0x70,0x80,0x90,0xA0,0xC0,0xE0,0xFF] - -# create an instance of our PiGlow class and tell it that "1" is the I2C bus -# index (should be 0 for old old old Pis) -piglow = PiGlow(1) - -# loop forever, i mean why would we ever want to stop now the party has started? -# you can however use Ctrl+C to stop the script and reset the LEDs to off state -try: - print "Use Ctrl-C to stop" - while True: - # pop the first value off then drop it back on again - this just cycles the values around - values.append(values.pop(0)) - - # update the piglow with current values - piglow.update_leds(values) - - # sleep for a bit, don't go too fast! - time.sleep(0.1) - -except KeyboardInterrupt: - # set all the LEDs to "off" when Ctrl+C is pressed before exiting - values = [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00] - piglow.update_leds(values) - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi.gpio/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-rpi.gpio/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-rpi.gpio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-rpi.gpio/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="RPi.GPIO" +PACKAGE="python-rpi.gpio" +VERSION="0.6.3" +CATEGORY="system-tools" +SHORT_DESC="A module to control Raspberry Pi GPIO channels" +MAINTAINER="pankso@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:rpi-gpio" + +BUILD_DEPENDS="python-dev python3-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" + TAGS="raspberrypi rpi" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-scandir/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-scandir/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-scandir/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-scandir/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="scandir" +PACKAGE="python-scandir" +VERSION="1.9.0" +CATEGORY="python" +SHORT_DESC="A better directory iterator and faster os.walk()" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:scandir" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-serial/.icon.png --- a/python-serial/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-serial/receipt --- a/python-serial/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-serial" # this == python-pyserial, to remove -VERSION="2.7" -CATEGORY="development" -SHORT_DESC="Multiplataform serial port module for python" -MAINTAINER="claudinei@slitaz.org" -LICENSE="BSD" -WEB_SITE="http://pyserial.sourceforge.net" -REPOLOGY="python:pyserial" - -SOURCE="pyserial" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/p/pyserial/$TARBALL" - -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - for file in `find $install | grep 'pyc$'`; do - rm $file - done - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr -} - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-service_identity/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-service_identity/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-service_identity/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-service_identity/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt v2. + +ORIGIN="service_identity" +PACKAGE="python-service_identity" +VERSION="17.0.0" +CATEGORY="python" +SHORT_DESC="Service identity verification for pyOpenSSL" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:service-identity" + +BUILD_DEPENDS="python python-attrs python-pyasn1 python-pyasn1-modules \ +python-pyopenssl \ +python3 python3-attrs python3-pyasn1 python3-pyasn1-modules python3-pyopenssl" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-attrs $py-pyasn1 $py-pyasn1-modules $py-pyopenssl" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-shapely/receipt --- a/python-shapely/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-shapely/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Shapely" PACKAGE="python-shapely" -VERSION="1.3.2" -CATEGORY="development" -SHORT_DESC="Manipulation and analysis of geometric objects in the Cartesian plane." +VERSION="1.6.4.post2" +CATEGORY="python" +SHORT_DESC="Geometric objects, predicates, and operations" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/Shapely/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:shapely" -SOURCE="Shapely" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python geos" -BUILD_DEPENDS="python-dev wget geos-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-simplejson/receipt --- a/python-simplejson/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-simplejson/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,51 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="simplejson" PACKAGE="python-simplejson" -VERSION="2.1.1" -CATEGORY="development" -SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for python." +VERSION="3.16.0" +CATEGORY="python" +SHORT_DESC="Simple, fast, extensible JSON encoder/decoder for Python" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/simplejson/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:simplejson" -SOURCE="simplejson" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/s/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - # Cross compilation hack to avoid using compiler wich build python - # itself. - case "$ARCH" in - arm*) - mv /usr/bin/i486-slitaz-linux-gcc /tmp && - ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ - /usr/bin/i486-slitaz-linux-gcc ;; - esac && - python setup.py build && - python setup.py install --root=$DESTDIR && - case "$ARCH" in - arm*) - rm /usr/bin/i486-slitaz-linux-gcc && - mv /tmp/i486-slitaz-linux-gcc /usr/bin ;; - esac +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - -# Remove old package. -post_install() -{ - [ ! -d "$1/var/lib/tazpkg/installed/simplejson" ] || - rm -rf "$1/var/lib/tazpkg/installed/simplejson" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-singledispatch/receipt --- a/python-singledispatch/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-singledispatch/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="singledispatch" PACKAGE="python-singledispatch" -ORIGIN="singledispatch" -VERSION="latest" +VERSION="3.4.0.3" CATEGORY="python" SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://pypi.org/project/$ORIGIN/" -REPOLOGY="${PACKAGE/-/:}" +HOST_ARCH="any" +REPOLOGY="python:singledispatch" -BUILD_DEPENDS="python python-six" +BUILD_DEPENDS="python python-six python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR $ORIGIN + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log) copy @std - DEPENDS="python python-six" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-six/receipt --- a/python-six/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-six/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="six" PACKAGE="python-six" -VERSION="latest" +VERSION="1.11.0" CATEGORY="python" SHORT_DESC="Six is a Python 2 and 3 compatibility library" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/six/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:six" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR six + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*six-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-smbus2/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-smbus2/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-smbus2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-smbus2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="smbus2" +PACKAGE="python-smbus2" +VERSION="0.2.1" +CATEGORY="system-tools" +SHORT_DESC="Drop-in replacement for smbus-cffi/smbus-python in pure Python" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:smbus2" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-smspdu/receipt --- a/python-smspdu/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-smspdu/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,24 @@ # SliTaz package receipt v2. +ORIGIN="smspdu" PACKAGE="python-smspdu" -ORIGIN="smspdu" -VERSION="latest" -CATEGORY="development" +VERSION="1.0" +CATEGORY="python" SHORT_DESC="SMS PDU encoding and decoding, including GSM-0338 character set" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/$SOURCE/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:smspdu" BUILD_DEPENDS="python" compile_rules() { - pip install --no-compile --root=$DESTDIR $ORIGIN + # Python3 based compilation produce error + pip install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGINd-||p" $LOGS/$PACKAGE.log) copy @std DEPENDS="python" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-snowballstemmer/receipt --- a/python-snowballstemmer/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-snowballstemmer/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="snowballstemmer" PACKAGE="python-snowballstemmer" -VERSION="latest" +VERSION="1.2.1" CATEGORY="python" SHORT_DESC="16 stemmer algorithms generated from Snowball algorithms" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/snowballstemmer/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:snowballstemmer" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR snowballstemmer + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*snowballstemmer-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-soappy/receipt --- a/python-soappy/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-soappy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,28 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="SOAPpy" PACKAGE="python-soappy" VERSION="0.12.22" -CATEGORY="development" -SHORT_DESC="SOAP services for python." +CATEGORY="python" +SHORT_DESC="SOAP services for Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/SOAPpy/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:soappy" -SOURCE="SOAPpy" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://files.pythonhosted.org/packages/source/S/SOAPpy/$TARBALL" +BUILD_DEPENDS="python python-defusedxml python-wstools \ +python3 python3-defusedxml python3-wstools" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" +compile_rules() { + fix utf-8; export LC_ALL=en_US.UTF-8 -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --prefix=/usr --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr/ $fs/ +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-defusedxml $py-wstools" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-socketpool/receipt --- a/python-socketpool/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-socketpool/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="socketpool" PACKAGE="python-socketpool" -VERSION="0.5.2" -CATEGORY="development" -SHORT_DESC="A simple python socket pool." +VERSION="0.5.3" +CATEGORY="python" +SHORT_DESC="Python socket pool" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/benoitc/socketpool/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:socketpool" -SOURCE="socketpool" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" +compile_rules() { + fix utf-8; export LC_ALL=en_US.UTF-8 -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - rm -rf $install/usr/socketpool - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-sphinx/receipt --- a/python-sphinx/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-sphinx/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,27 +1,44 @@ # SliTaz package receipt v2. +ORIGIN="Sphinx" PACKAGE="python-sphinx" -VERSION="latest" +VERSION="1.8.0" CATEGORY="python" -SHORT_DESC="Documentation Tool" +SHORT_DESC="Python documentation generator" MAINTAINER="claudinei@slitaz.org" LICENSE="BSD" -WEB_SITE="http://sphinx.pocoo.org" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:sphinx" -BUILD_DEPENDS="python-docutils python-jinja2 python-packaging python-imagesize \ -python-six python-alabaster python-snowballstemmer python-pygments \ -python-sphinxcontrib-websupport python-typing python-babel python-requests \ -python-markupsafe python-pyparsing python-pytz python-idna python-urllib3 \ -python-certifi python-chardet" +BUILD_DEPENDS="python python-alabaster python-babel python-docutils \ +python-imagesize python-jinja2 python-packaging python-pygments \ +python-requests python-six python-snowballstemmer \ +python-sphinxcontrib-websupport python-typing \ +python3 python3-alabaster python3-babel python3-docutils python3-imagesize \ +python3-jinja2 python3-packaging python3-pygments python3-requests python3-six \ +python3-snowballstemmer python3-sphinxcontrib-websupport" +SPLIT="${PACKAGE/python/python3}:3" + COOKOPTS="!pngquant" # error: Wrote palette index exceeding num_palette (libpng failed) compile_rules() { - pip install --no-compile --root=$DESTDIR Sphinx + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*Sphinx-||p' $LOGS/$PACKAGE.log) - copy @std @dev - DEPENDS="$BUILD_DEPENDS" + copy @std + py="${PACKAGE%%-*}" # python/python3 + case $PACKAGE in + python-*) + DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \ + $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \ + $py-snowballstemmer $py-sphinxcontrib-websupport $py-typing" + ;; + python3-*) + DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \ + $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \ + $py-snowballstemmer $py-sphinxcontrib-websupport" + ;; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-sphinxcontrib-websupport/receipt --- a/python-sphinxcontrib-websupport/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-sphinxcontrib-websupport/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="sphinxcontrib-websupport" PACKAGE="python-sphinxcontrib-websupport" -VERSION="latest" +VERSION="1.1.0" CATEGORY="python" SHORT_DESC="Sphinx API for Web Apps" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/sphinxcontrib-websupport/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:sphinxcontrib-websupport" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR sphinxcontrib-websupport + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*sphinxcontrib-websupport-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-sqlalchemy/receipt --- a/python-sqlalchemy/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-sqlalchemy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="SQLAlchemy" PACKAGE="python-sqlalchemy" -VERSION="0.7.10" -CATEGORY="development" +VERSION="1.2.11" +CATEGORY="python" SHORT_DESC="The Python SQL toolkit and Object Relational Mapper" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" -WEB_SITE="http://www.sqlalchemy.org" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:sqlalchemy" -SOURCE="SQLAlchemy" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/S/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -SUGGESTED="python-pysqlite" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" + SUGGESTED="$py-pysqlite" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-stdnum/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-stdnum/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-stdnum/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-stdnum/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="python-stdnum" +PACKAGE="python-stdnum" +VERSION="1.9" +CATEGORY="python" +SHORT_DESC="Python module to handle standardized numbers and codes" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:python-stdnum" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-tempita/receipt --- a/python-tempita/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-tempita/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Tempita" PACKAGE="python-tempita" -VERSION="0.5dev" -CATEGORY="development" +VERSION="0.5.2" +CATEGORY="python" SHORT_DESC="Small text templating language" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/Tempita/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:tempita" -SOURCE="Tempita" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/T/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-tempora/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-tempora/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-tempora/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-tempora/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="tempora" +PACKAGE="python-tempora" +VERSION="1.13" +CATEGORY="python" +SHORT_DESC="Objects and routines pertaining to date and time" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:portend" + +BUILD_DEPENDS="python python-jaraco.functools python-pytz python-six \ +python3 python3-jaraco.functools python3-pytz python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-jaraco.functools $py-pytz $py-six" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-terminado/receipt --- a/python-terminado/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-terminado/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,26 @@ # SliTaz package receipt v2. +ORIGIN="terminado" PACKAGE="python-terminado" -ORIGIN="terminado" -VERSION="latest" -CATEGORY="development" +VERSION="0.8.1" +CATEGORY="python" SHORT_DESC="Terminals served to xterm.js using Tornado websockets" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/terminado/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:terminado" -BUILD_DEPENDS="python python-tornado" +BUILD_DEPENDS="python python-ptyprocess python-tornado \ +python3 python3-ptyprocess python3-tornado" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR $ORIGIN + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log) copy @std - DEPENDS="python-tornado" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-ptyprocess $py-tornado" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-tornado/receipt --- a/python-tornado/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-tornado/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,25 +1,34 @@ # SliTaz package receipt v2. +ORIGIN="tornado" PACKAGE="python-tornado" -ORIGIN="tornado" -VERSION="latest" -CATEGORY="development" +VERSION="5.1.1" +CATEGORY="python" SHORT_DESC="A web framework and asynchronous networking library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" -WEB_SITE="http://www.tornadoweb.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:tornado" -BUILD_DEPENDS="python python-futures python-six python-singledispatch \ -python-backports_abc" +BUILD_DEPENDS="python python-backports_abc python-futures \ +python-singledispatch \ +python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR $ORIGIN + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log) copy @std - DEPENDS="python python-futures python-six python-singledispatch \ - python-backports_abc" + py=${PACKAGE%%-*} # python/python3 + case $PACKAGE in + python-*) + DEPENDS="$py $py-backports_abc $py-futures $py-singledispatch" + ;; + python3-*) + DEPENDS="$py" + ;; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-traceback2/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-traceback2/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-traceback2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-traceback2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="traceback2" +PACKAGE="python-traceback2" +VERSION="1.4.0" +CATEGORY="python" +SHORT_DESC="Backports of the traceback module" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="PSFL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:traceback2" + +BUILD_DEPENDS="python python-linecache2 python3 python3-linecache2" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-linecache2" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-turbogears/receipt --- a/python-turbogears/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-turbogears/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,24 +1,27 @@ # SliTaz package receipt v2. +ORIGIN="TurboGears2" PACKAGE="python-turbogears" -VERSION="latest" +VERSION="2.3.12" CATEGORY="network" SHORT_DESC="Python web application framework" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/TurboGears2/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:turbogears2" -BUILD_DEPENDS="python python-webob python-crank python-repoze.lru \ -python-markupsafe" +BUILD_DEPENDS="python python-crank python-markupsafe python-repoze.lru \ +python-webob17 \ +python3 python3-crank python3-markupsafe python3-repoze.lru python3-webob17" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR TurboGears2 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } 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" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-crank $py-markupsafe $py-repoze.lru $py-webob17" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-tweepy/receipt --- a/python-tweepy/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-tweepy/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="tweepy" PACKAGE="python-tweepy" -VERSION="1.10" -CATEGORY="development" -SHORT_DESC="Twitter library for python." +VERSION="3.6.0" +CATEGORY="python" +SHORT_DESC="Twitter library for Python" MAINTAINER="paul@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/tweepy/tweepy" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:tweepy" -SOURCE="tweepy" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/t/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-pysocks python-requests python-requests-oauthlib \ +python-six \ +python3 python3-pysocks python3-requests python3-requests-oauthlib python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-pysocks $py-requests $py-requests-oauthlib $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-twisted/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-twisted/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,30 @@ +# SliTaz package receipt v2. + +ORIGIN="Twisted" +PACKAGE="python-twisted" +VERSION="18.7.0" +CATEGORY="network" +SHORT_DESC="Event-driven networking for internet applications" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:twisted" + +BUILD_DEPENDS="python-dev python-attrs python-automat python-constantly \ +python-hyperlink python-incremental python-pyhamcrest python-zope.interface \ +python3-dev python3-attrs python3-automat python3-constantly python3-hyperlink \ +python3-incremental python3-pyhamcrest python3-zope.interface" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-attrs $py-automat $py-constantly $py-hyperlink \ + $py-incremental $py-pyhamcrest $py-zope.interface" + SUGGESTED="$py-service_identity" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-twodict/receipt --- a/python-twodict/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-twodict/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,23 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="twodict" PACKAGE="python-twodict" -VERSION="latest" +VERSION="1.2" CATEGORY="python" SHORT_DESC="Simple two way ordered dictionary for Python" MAINTAINER="al.bobylev@gmail.com" LICENSE="PublicDomain" -WEB_SITE="https://pypi.org/project/twodict/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" HOST_ARCH="any" REPOLOGY="python:twodict" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR twodict + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*twodict-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-typing/receipt --- a/python-typing/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-typing/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="typing" PACKAGE="python-typing" -VERSION="latest" +VERSION="3.6.6" CATEGORY="python" SHORT_DESC="Type Hints for Python" MAINTAINER="al.bobylev@gmail.com" LICENSE="PSF" -WEB_SITE="https://pypi.org/project/typing/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:typing" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR typing + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*typing-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-unicodecsv/receipt --- a/python-unicodecsv/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-unicodecsv/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="unicodecsv" PACKAGE="python-unicodecsv" -VERSION="0.9.4" -CATEGORY="development" -SHORT_DESC="A drop-in replacement of csv module which *does* support unicode." +VERSION="0.14.1" +CATEGORY="python" +SHORT_DESC="A drop-in replacement of csv module which *does* support Unicode" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/jdunck/python-unicodecsv" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:unicodecsv" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-unidecode/receipt --- a/python-unidecode/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-unidecode/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Unidecode" PACKAGE="python-unidecode" -VERSION="0.04.17" -CATEGORY="development" -SHORT_DESC="ASCII transliterations of Unicode text." +VERSION="1.0.22" +CATEGORY="python" +SHORT_DESC="ASCII transliterations of Unicode text" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://pypi.org/project/Unidecode/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:unidecode" -SOURCE="Unidecode" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-unittest2/receipt --- a/python-unittest2/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-unittest2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,32 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="unittest2" PACKAGE="python-unittest2" -VERSION="0.5.1" -CATEGORY="development" -SHORT_DESC="New features backport to the unittest testing framework." +VERSION="1.1.0" +CATEGORY="python" +SHORT_DESC="The new features in unittest backported to Python 2.4+" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/unittest2/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:unittest2" -SOURCE="unittest2" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python-argparse python-six python-traceback2 \ +python3 python3-argparse python3-six python3-traceback2" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py test - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-argparse $py-six $py-traceback2" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-urllib3/receipt --- a/python-urllib3/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-urllib3/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ # SliTaz package receipt v2. +ORIGIN="urllib3" PACKAGE="python-urllib3" -VERSION="latest" +VERSION="1.23" CATEGORY="network" SHORT_DESC="HTTP library with thread-safe connection pooling, file post, and more" MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/urllib3/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:urllib3" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR urllib3 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*urllib3-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-urwid/receipt --- a/python-urwid/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-urwid/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="urwid" PACKAGE="python-urwid" -VERSION="1.3.0" -CATEGORY="development" -SHORT_DESC="Console user interface library for Python." +VERSION="2.0.1" +CATEGORY="python" +SHORT_DESC="A full-featured console (xterm et al.) user interface library" MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="http://excess.org/urwid/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:urwid" -SOURCE="urwid" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/u/urwid/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev wget" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-usb/.icon.png --- a/python-usb/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-usb/receipt --- a/python-usb/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-usb" -VERSION="1.0.0b1" -CATEGORY="development" -SHORT_DESC="Python bindings for USB access." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://pyusb.github.io/pyusb/" -REPOLOGY="python:pyusb" - -SOURCE="pyusb" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WGET_URL="$SF_MIRROR/pyusb/$TARBALL" - -DEPENDS="python libusb" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-vatnumber/receipt --- a/python-vatnumber/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-vatnumber/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="vatnumber" PACKAGE="python-vatnumber" -VERSION="1.0" -CATEGORY="development" -SHORT_DESC="Validate VAT numbers for Python." +VERSION="1.2" +CATEGORY="python" +SHORT_DESC="Validate VAT numbers for Python [unmaintained]" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="https://pypi.org/project/vatnumber/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:vatnumber" -SOURCE="vatnumber" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://vatnumber.googlecode.com/files/$TARBALL" # FIXME +BUILD_DEPENDS="python python-stdnum python3 python3-stdnum" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-stdnum" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-vobject/receipt --- a/python-vobject/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-vobject/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="vobject" PACKAGE="python-vobject" -VERSION="0.8.1c" +VERSION="0.9.6.1" CATEGORY="development" -SHORT_DESC="Parse iCalendar and VCards in Python." +SHORT_DESC="Parse iCalendar and VCards in Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" -WEB_SITE="http://vobject.skyhouseconsulting.com/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:vobject" -SOURCE="vobject" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}$TARBALL" +BUILD_DEPENDS="python python-dateutil python-six \ +python3 python3-dateutil python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-dateutil" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-dateutil $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-waitress/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-waitress/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-waitress/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-waitress/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="waitress" +PACKAGE="python-waitress" +VERSION="1.1.0" +CATEGORY="python" +SHORT_DESC="Waitress WSGI server" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="ZPL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:waitress" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-wcwidth/receipt --- a/python-wcwidth/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-wcwidth/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,22 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="wcwidth" PACKAGE="python-wcwidth" -VERSION="latest" +VERSION="0.1.7" CATEGORY="development" SHORT_DESC="Measures number of Terminal column cells of wide-character codes" MAINTAINER="paul@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/wcwidth/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:wcwidth" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" compile_rules() { - pip install --no-compile --root=$DESTDIR wcwidth + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*wcwidth-||p' $LOGS/$PACKAGE.log) copy @std - DEPENDS="python" + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-web.py/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-web.py/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-web.py/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-web.py/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +ORIGIN="web.py" +PACKAGE="python-web.py" +VERSION="0.39" # for Python2 +VERSION3="0.40.dev1" # for Python3 (experimental) +CATEGORY="python" +SHORT_DESC="Makes web apps" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="PublicDomain" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:web.py" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + case $SET in + 3) VERSION="$VERSION3";; + esac + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + case $PACKAGE in + python3-*) VERSION="$VERSION3";; + esac + + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webdav/receipt --- a/python-webdav/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-webdav/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="webdav" PACKAGE="python-webdav" -VERSION="0.5" -CATEGORY="development" -SHORT_DESC="A WebDAV client library for Python." +VERSION="1.1.2" +CATEGORY="python" +SHORT_DESC="WebDAV client library" MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WEB_SITE="https://sourceforge.net/projects/python-webdav/" +LICENSE="GPL3" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:webdav" -TARBALL="${PACKAGE}_$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +BUILD_DEPENDS="python python-lxml python-requests \ +python3 python3-lxml python3-requests" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-lxml $py-requests" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webencodings/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-webencodings/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webencodings/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-webencodings/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="webencodings" +PACKAGE="python-webencodings" +VERSION="0.5.1" +CATEGORY="python" +SHORT_DESC="Character encoding aliases for legacy web content" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:webencodings" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-weberror/receipt --- a/python-weberror/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-weberror/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="WebError" PACKAGE="python-weberror" -VERSION="0.10.2" -CATEGORY="development" +VERSION="0.13.1" +CATEGORY="python" SHORT_DESC="Web Error handling and exception catching" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/WebError/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:weberror" -SOURCE="WebError" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/W/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-paste python-pygments python-tempita python-webob \ +python3 python3-paste python3-pygments python3-tempita python3-webob" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-paste $py-pygments $py-tempita $py-webob" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webhelpers/receipt --- a/python-webhelpers/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-webhelpers/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="WebHelpers" PACKAGE="python-webhelpers" -VERSION="1.2" -CATEGORY="development" -SHORT_DESC="Web Helpers" -MAINTAINER="taziden@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://pypi.org/project/WebHelpers/" +VERSION="1.3" +CATEGORY="python" +SHORT_DESC="Make HTML tags, process text, format numbers, and more" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:webhelpers" -SOURCE="WebHelpers" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source//W/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-markupsafe \ +python3 python3-markupsafe" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-markupsafe" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webhelpers2/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-webhelpers2/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webhelpers2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-webhelpers2/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="WebHelpers2" +PACKAGE="python-webhelpers2" +VERSION="2.0" +CATEGORY="python" +SHORT_DESC="Make HTML tags, process text, format numbers, and more" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:webhelpers2" + +BUILD_DEPENDS="python python-markupsafe python-six \ +python3 python3-markupsafe python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-markupsafe $py-six" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webob/receipt --- a/python-webob/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-webob/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,24 +1,38 @@ # SliTaz package receipt v2. +ORIGIN="WebOb" PACKAGE="python-webob" -VERSION="latest-1.7" -CATEGORY="development" +VERSION="1.8.2" +VERSION17="1.7.4" # python-turbogears require "WebOb<1.8.0,>=1.2" +CATEGORY="python" SHORT_DESC="WSGI request and response object" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/WebOb/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:webob" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python3" +SPLIT="python3-webob:3 \ +python-webob17:17 python3-webob17:173" compile_rules() { - # python-turbogears require "WebOb<1.8.0,>=1.2" - pip install --no-compile --root=$DESTDIR "WebOb<1.8.0,>=1.2" + case $SET in + '') pip install --no-compile --root=$install $ORIGIN==$VERSION;; + 3) pip3 install --no-compile --root=$install $ORIGIN==$VERSION;; + 17) pip install --no-compile --root=$install $ORIGIN==$VERSION17;; + 173) pip3 install --no-compile --root=$install $ORIGIN==$VERSION17;; + esac } genpkg_rules() { - VERSION=$(sed -n '/^Successfully installed/ s|.*WebOb-||p' $LOGS/$PACKAGE.log) + case $PACKAGE in + *-webob17) + VERSION="$VERSION17" + CAT="python|legacy version $VERSION17" + ;; + esac copy @std - DEPENDS="python" - TAGS="python" + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-webtest/receipt --- a/python-webtest/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-webtest/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,30 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="WebTest" PACKAGE="python-webtest" -VERSION="1.2.2" -CATEGORY="development" +VERSION="2.0.30" +CATEGORY="python" SHORT_DESC="Helper to test WSGI applications" MAINTAINER="taziden@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/WebTest/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:webtest" -SOURCE="WebTest" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/W/$SOURCE/$TARBALL" -TAGS="python" +BUILD_DEPENDS="python python-beautifulsoup4 python-six python-waitress \ +python-webob \ +python3 python3-beautifulsoup4 python3-six python3-waitress python3-webob" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-beautifulsoup4 $py-six $py-waitress $py-webob" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-werkzeug/receipt --- a/python-werkzeug/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-werkzeug/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,37 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Werkzeug" PACKAGE="python-werkzeug" -GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205" -VERSION=${GITHASH:0:7} -CATEGORY="development" -SHORT_DESC="WSGI utility modules" +VERSION="0.14.1" +CATEGORY="python" +SHORT_DESC="The comprehensive WSGI web application library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://werkzeug.pocoo.org/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:werkzeug" -TARBALL="$PACKAGE-$VERSION.tar.gz" -GIT_URL="https://github.com/mitsuhiko/werkzeug/tarball/$GITHASH" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - [ -s $SRC/$TARBALL ] || - wget --no-check-certificate -O $SRC/$TARBALL $GIT_URL - if [ ! -s $src ]; then - mkdir -p $(dirname $src) - tar xzf $SRC/$TARBALL && - mv mitsuhiko-werkzeug-$VERSION $src - fi - cd $src - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-whoosh/receipt --- a/python-whoosh/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-whoosh/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="Whoosh" PACKAGE="python-whoosh" -VERSION="2.5.7" -CATEGORY="development" -SHORT_DESC="Fast full text indexing, search, and spell checking library." +VERSION="2.7.4" +CATEGORY="python" +SHORT_DESC="Fast, pure-Python full text indexing, search, and spell checking \ +library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/Whoosh/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:whoosh" -SOURCE="Whoosh" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-wstools/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-wstools/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-wstools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-wstools/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="wstools" +PACKAGE="python-wstools" +VERSION="0.4.8" +CATEGORY="python" +SHORT_DESC="WSDL parsing services package for Web Services for Python" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:wstools" + +BUILD_DEPENDS="python python-pbr python-six python3 python3-pbr python3-six" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py $py-pbr $py-six" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xattr/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-xattr/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xattr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-xattr/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="xattr" +PACKAGE="python-xattr" +VERSION="0.9.6" +CATEGORY="python" +SHORT_DESC="Python wrapper for extended filesystem attributes" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH +REPOLOGY="python:xattr" + +BUILD_DEPENDS="python-dev python-cffi-dev \ +python3-dev python3-cffi-dev libffi-dev" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-cffi" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xdg/.icon.png --- a/python-xdg/.icon.png Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xdg/receipt --- a/python-xdg/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-xdg" -VERSION="0.19" -CATEGORY="development" -SHORT_DESC="Python library to access freedesktop.org standards." -MAINTAINER="paul@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://www.freedesktop.org/wiki/Software/pyxdg" -REPOLOGY="python:pyxdg" - -SOURCE="pyxdg" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://www.freedesktop.org/~lanius/$TARBALL" - -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xlib/receipt --- a/python-xlib/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-xlib/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,28 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="xlib" PACKAGE="python-xlib" -VERSION="0.15rc1" -CATEGORY="development" -SHORT_DESC="X client library for Python programs." +VERSION="0.23" +CATEGORY="python" +SHORT_DESC="Python X Library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="http://$PACKAGE.sourceforge.net/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:xlib" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +BUILD_DEPENDS="python python-six python3 python3-six" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" +compile_rules() { + # latest version on pypi is 0.21, while 0.23 isn't pushed yet + # pip$SET install --no-compile --root=$install $ORIGIN==$VERSION -# Rules to configure and make the package. -compile_rules() -{ - python ./setup.py install --root=$DESTDIR + pip$SET install --no-compile --root=$install \ + https://github.com/python-xlib/python-xlib/releases/download/0.23/python_xlib-0.23-py2.py3-none-any.whl } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py $py-six" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xlwt/receipt --- a/python-xlwt/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-xlwt/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="xlwt" PACKAGE="python-xlwt" -VERSION="0.7.2" -CATEGORY="development" +VERSION="1.3.0" +CATEGORY="python" SHORT_DESC="Python module for reading/writing Microsoft Excel spreadsheet files" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.janrain.com/openid-enabled/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:xlwt" -SOURCE="xlwt" -TARBALL="${SOURCE}_$VERSION.orig.tar.gz" -WGET_URL="http://ftp.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python python-antlr" -BUILD_DEPENDS="python-dev python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-xmlutils/receipt --- a/python-xmlutils/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-xmlutils/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="xmlutils" PACKAGE="python-xmlutils" -VERSION="1.1" -CATEGORY="development" -SHORT_DESC="Convert XML documents to SQL, CSV or JSON." +VERSION="1.4" +CATEGORY="python" +SHORT_DESC="Processing XML documents and converting to other formats" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://pypi.org/project/xmlutils/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:xmlutils" -SOURCE="xmlutils" -TARBALL="$SOURCE-$VERSION.zip" -WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" } - diff -r d8fcbb8246ef -r c9a7a7b42a86 python-youtube-dl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-youtube-dl/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt v2. + +ORIGIN="youtube_dl" +PACKAGE="python-youtube-dl" +VERSION="2018.09.18" +VERSION_PIP="2018.9.18" # some inconsistancy in the pipy version +CATEGORY="utilities" +SHORT_DESC="Downloads videos from various streaming websites" +MAINTAINER="gokhlayeh@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://rg3.github.io/youtube-dl/" +HOST_ARCH="any" +REPOLOGY="youtube-dl" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION_PIP +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" + PROVIDE="youtube-dl" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-youtube-dlg/.icon.png Binary file python-youtube-dlg/.icon.png has changed diff -r d8fcbb8246ef -r c9a7a7b42a86 python-youtube-dlg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-youtube-dlg/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,28 @@ +# SliTaz package receipt v2. + +ORIGIN="youtube-dlg" +PACKAGE="python-youtube-dlg" +VERSION="0.4" +CATEGORY="multimedia" +SHORT_DESC="Front-end GUI of the popular youtube-dl written in wxPython" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="PublicDomain" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="youtube-dl-gui" + +BUILD_DEPENDS="python python-wxpython3-dev python-twodict gettext" +COOKOPTS="!pixmaps" + +compile_rules() { + # Python3 based compilation produce error + pip install --no-compile --root=$install $ORIGIN==$VERSION || return 1 + + install -Dm644 $stuff/youtube-dl-gui.desktop $install/usr/share/applications/youtube-dl-gui.desktop +} + +genpkg_rules() { + copy @std + DEPENDS="python python-youtube-dl python-wxpython3 python-twodict" + PROVIDE="youtube-dl-gui" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-youtube-dlg/stuff/youtube-dl-gui.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-youtube-dlg/stuff/youtube-dl-gui.desktop Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Youtube-DLG +Exec=youtube-dl-gui +Icon=youtube-dl-gui +Categories=Network;FileTransfer; diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zc.lockfile/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-zc.lockfile/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zc.lockfile/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-zc.lockfile/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +ORIGIN="zc.lockfile" +PACKAGE="python-zc.lockfile" +VERSION="1.3.0" +CATEGORY="python" +SHORT_DESC="Basic inter-process locks" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="ZPL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:zc.lockfile" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + DEPENDS="$py" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zfec/receipt --- a/python-zfec/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-zfec/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,31 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. +ORIGIN="zfec" PACKAGE="python-zfec" -VERSION="1.4.24" -CATEGORY="development" -SHORT_DESC="A fast erasure codec." +VERSION="1.5.3" +CATEGORY="python" +SHORT_DESC="An efficient, portable erasure coding tool" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://pypi.org/project/zfec/" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +#HOST_ARCH REPOLOGY="python:zfec" -SOURCE="zfec" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://files.pythonhosted.org/packages/source/z/zfec/$TARBALL" +BUILD_DEPENDS="python-dev python-argparse python-pyutil \ +python3-dev python3-pyutil" +SPLIT="${PACKAGE/python/python3}:3" -DEPENDS="python" -BUILD_DEPENDS="wget python-dev" +compile_rules() { + fix utf-8; export LC_ALL=en_US.UTF-8 -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --prefix=/usr --root=$DESTDIR + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr/ - cp -a $install/usr/lib $fs/usr/ +genpkg_rules() { + copy @std + py="${PACKAGE%%-*}" # python/python3 + case $PACKAGE in + python-*) DEPENDS="$py $py-argparse $py-pyutil";; + python3-*) DEPENDS="$py $py-pyutil";; + esac } diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zope.interface/.icon.png --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-zope.interface/.icon.png Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,1 @@ +../python/.icon.png \ No newline at end of file diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zope.interface/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-zope.interface/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +ORIGIN="zope.interface" +PACKAGE="python-zope.interface" +VERSION="4.5.0" +CATEGORY="network" +SHORT_DESC="Zope 4 Interface Infrastructure" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="ZPL" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" +REPOLOGY="python:zope.interface" + +BUILD_DEPENDS="python python3" +SPLIT="${PACKAGE/python/python3}:3" + +compile_rules() { + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION +} + +genpkg_rules() { + copy @std + py=${PACKAGE%%-*} # python/python3 + DEPENDS="$py" + TAGS="webserver application-server appserver" +} diff -r d8fcbb8246ef -r c9a7a7b42a86 python-zsi/receipt --- a/python-zsi/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python-zsi/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,31 +1,29 @@ # SliTaz package receipt. +ORIGIN="ZSI" PACKAGE="python-zsi" VERSION="2.1-a1" CATEGORY="development" -SHORT_DESC="The Zolera Soap Infrastructure for Python." +SHORT_DESC="The Zolera Soap Infrastructure for Python" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://pywebsvcs.sourceforge.net/zsi.html" +WEB_SITE="https://pypi.org/project/$ORIGIN/" +HOST_ARCH="any" REPOLOGY="python:zsi" -SOURCE="ZSI" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/project/pywebsvcs/$SOURCE/$SOURCE-${VERSION/-/_}/$TARBALL" +# pypi didn't provide downloads; project is unmaintained since 2007; +# latest version is Alpha one +TARBALL="$ORIGIN-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/pywebsvcs/$TARBALL" -DEPENDS="python python-pyxml" -BUILD_DEPENDS="python-dev python" +BUILD_DEPENDS="python" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && - python setup.py install --root=$DESTDIR +compile_rules() { +# python setup.py build && + python -B setup.py install --root=$install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="python python-pyxml" } diff -r d8fcbb8246ef -r c9a7a7b42a86 python/receipt --- a/python/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -91,6 +91,9 @@ chmod -v 755 $install/usr/lib/libpython2.7.so.1.0 ;; esac + + # Upgrade pip unless it will throw noisy warnings on every pip-based package + pip install --upgrade --root=$install pip } genpkg_rules() { diff -r d8fcbb8246ef -r c9a7a7b42a86 python3/receipt --- a/python3/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/python3/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -31,6 +31,9 @@ chmod 755 $install/usr/lib/libpython${VERSION%.*}m.so chmod 755 $install/usr/lib/libpython${VERSION%%.*}.so + + # Upgrade pip unless it will throw noisy warnings on every pip-based package + pip3 install --upgrade --root=$install pip } genpkg_rules() { diff -r d8fcbb8246ef -r c9a7a7b42a86 twisted/receipt --- a/twisted/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="twisted" -VERSION="13.2.0" -CATEGORY="network" -SHORT_DESC="Event-driven networking for internet applications." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -SOURCE="Twisted" -TARBALL="$SOURCE-$VERSION.tar.bz2" -WEB_SITE="https://twistedmatrix.com/trac/" -WGET_URL="https://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL" - -DEPENDS="python zopeinterface" -BUILD_DEPENDS="python python-dev zopeinterface" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r d8fcbb8246ef -r c9a7a7b42a86 unhide/receipt --- a/unhide/receipt Fri Sep 14 11:37:28 2018 +0300 +++ b/unhide/receipt Sat Sep 22 16:05:26 2018 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="unhide" -VERSION="20121229" +VERSION="20130526" CATEGORY="security" SHORT_DESC="Forensic tool to find hidden processes and TCP/UDP ports" MAINTAINER="pascal.bellard@slitaz.org" @@ -19,6 +19,11 @@ mkdir -p $install/usr/sbin/ cp unhide unhide_rb unhide-tcp $install/usr/sbin/ + + cook_pick_manpages man/*.8 + mkdir -p $install/usr/share/man/es/man8/ $install/usr/share/man/fr/man8/ + cp man/es/*.8 $install/usr/share/man/es/man8/ + cp man/fr/*.8 $install/usr/share/man/fr/man8/ } genpkg_rules() { diff -r d8fcbb8246ef -r c9a7a7b42a86 youtube-dl-gui/.icon.png Binary file youtube-dl-gui/.icon.png has changed diff -r d8fcbb8246ef -r c9a7a7b42a86 youtube-dl-gui/receipt --- a/youtube-dl-gui/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="youtube-dl-gui" -VERSION="0.4" -CATEGORY="multimedia" -SHORT_DESC="A cross platform front-end GUI of the popular youtube-dl written in \ -wxPython" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="PublicDomain" -WEB_SITE="https://github.com/MrS0m30n3/youtube-dl-gui" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://github.com/MrS0m30n3/youtube-dl-gui/archive/$VERSION.tar.gz" - -BUILD_DEPENDS="python-wxpython3-dev python-twodict gettext" -COOKOPTS="!pixmaps" - -compile_rules() { - python setup.py build && - python setup.py install --root=$install -} - -genpkg_rules() { - copy @std - DEPENDS="youtube-dl wxpython" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 youtube-dl-gui/stuff/youtube-dl-gui.desktop --- a/youtube-dl-gui/stuff/youtube-dl-gui.desktop Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Youtube-DLG -Exec=python /usr/lib/python2.7/site-packages/youtube_dl_gui/__main__.py -Icon=youtube-dl-gui -Categories=Network;FileTransfer; diff -r d8fcbb8246ef -r c9a7a7b42a86 youtube-dl/receipt --- a/youtube-dl/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="youtube-dl" -VERSION="2018.03.14" -CATEGORY="utilities" -SHORT_DESC="Downloads videos from various streaming websites" -MAINTAINER="gokhlayeh@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://rg3.github.io/youtube-dl/" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://yt-dl.org/downloads/$VERSION/$TARBALL" - -BUILD_DEPENDS="python" - -compile_rules() { - chmod +x $src/youtube-dl - echo | $src/youtube-dl - - install -Dm755 $src/youtube-dl $install/usr/bin/youtube-dl -} - -genpkg_rules() { - copy @std - DEPENDS="python" -} diff -r d8fcbb8246ef -r c9a7a7b42a86 zopeinterface/receipt --- a/zopeinterface/receipt Fri Sep 14 11:37:28 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="zopeinterface" -VERSION="4.0.5" -CATEGORY="network" -SHORT_DESC="Zope 4 Interface Infrastructure." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="other" -SOURCE="zope.interface" -TARBALL="$SOURCE-$VERSION.zip" -WEB_SITE="https://pypi.org/project/zope.interface/" -WGET_URL="https://files.pythonhosted.org/packages/source/z/$SOURCE/$TARBALL" -TAGS="webserver application-server appserver" - -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - python setup.py build && python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -}