# HG changeset patch # User Aleksej Bobylev # Date 1534925916 -10800 # Node ID d24f5052ae8ca7965859e9d0c398cd1349699ba5 # Parent 030937efd2333c1bb55813417051e82a350cd38e flake8 -> python-flake8 diff -r 030937efd233 -r d24f5052ae8c flake8/receipt --- a/flake8/receipt Wed Aug 22 09:21:31 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="flake8" -VERSION="2.2.4" -CATEGORY="development" -SHORT_DESC="The modular source code checker for python." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WEB_SITE="https://pypi.python.org/pypi/flake8" -REPOLOGY="python:flake8" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://pypi.python.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$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() -{ - cp -a $install/usr $fs/ -} diff -r 030937efd233 -r d24f5052ae8c python-configparser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-configparser/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,23 @@ +# SliTaz package receipt v2. + +PACKAGE="python-configparser" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="Updated configparser from Python 3.5 to Python 2.7" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/configparser/" +HOST_ARCH="any" +REPOLOGY="python:configparser" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR configparser +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*configparser-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 030937efd233 -r d24f5052ae8c python-dulwich/receipt --- a/python-dulwich/receipt Wed Aug 22 09:21:31 2018 +0300 +++ b/python-dulwich/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -18,5 +18,5 @@ genpkg_rules() { VERSION=$(sed -n '/^Successfully installed/ s|.*dulwich-||p' $LOGS/$PACKAGE.log) copy @std @dev - DEPENDS="python" + DEPENDS="python python-urllib3 python-certifi" } diff -r 030937efd233 -r d24f5052ae8c python-enum34/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-enum34/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,23 @@ +# SliTaz package receipt v2. + +PACKAGE="python-enum34" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="Python 3.4 Enum backported to 2.7" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="https://pypi.org/project/enum34/" +HOST_ARCH="any" +REPOLOGY="python:enum34" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR enum34 +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*enum34-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 030937efd233 -r d24f5052ae8c python-flake8/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-flake8/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,25 @@ +# SliTaz package receipt v2. + +PACKAGE="python-flake8" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="The modular source code checker for Python" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/flake8/" +HOST_ARCH="any" +REPOLOGY="python:flake8" + +BUILD_DEPENDS="python python-enum34 python-configparser python-mccabe \ +python-pyflakes16 python-pycodestyle23" + +compile_rules() { + pip install --no-compile --root=$DESTDIR flake8 +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*flake8-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python python-enum34 python-configparser python-mccabe \ + python-pyflakes16 python-pycodestyle23" +} diff -r 030937efd233 -r d24f5052ae8c python-mccabe/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-mccabe/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,23 @@ +# SliTaz package receipt v2. + +PACKAGE="python-mccabe" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="McCabe checker, plugin for flake8" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/mccabe/" +HOST_ARCH="any" +REPOLOGY="python:mccabe" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR mccabe +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*mccabe-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 030937efd233 -r d24f5052ae8c python-pycodestyle/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycodestyle/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,23 @@ +# SliTaz package receipt v2. + +PACKAGE="python-pycodestyle" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="Python style guide checker" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="https://pypi.org/project/pycodestyle/" +HOST_ARCH="any" +REPOLOGY="python:pycodestyle" + +BUILD_DEPENDS="python" + +compile_rules() { + pip install --no-compile --root=$DESTDIR pycodestyle +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r 030937efd233 -r d24f5052ae8c python-pycodestyle23/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pycodestyle23/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,25 @@ +# 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 030937efd233 -r d24f5052ae8c python-pyflakes/receipt --- a/python-pyflakes/receipt Wed Aug 22 09:21:31 2018 +0300 +++ b/python-pyflakes/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -1,30 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="python-pyflakes" -VERSION="1.0.0" +VERSION="latest" CATEGORY="development" -SHORT_DESC="A simple program which checks Python source files for errors." +SHORT_DESC="A simple program which checks Python source files for errors" MAINTAINER="paul@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/pyflakes/pyflakes" +WEB_SITE="https://pypi.org/project/pyflakes/" +HOST_ARCH="any" REPOLOGY="python:pyflakes" -SOURCE="pyflakes" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" - -DEPENDS="python" BUILD_DEPENDS="python-dev" -# Rules to configure and make the package. -compile_rules() -{ - python setup.py install --root=$DESTDIR +compile_rules() { + pip install --no-compile --root=$DESTDIR pyflakes } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" } - diff -r 030937efd233 -r d24f5052ae8c python-pyflakes16/.bdeps --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyflakes16/.bdeps Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,9 @@ +python-dev +python-idle +python-tcltk +tcl +tk +xorg-libX11 +xorg-libXau +xorg-libXdmcp +xorg-libxcb diff -r 030937efd233 -r d24f5052ae8c python-pyflakes16/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyflakes16/receipt Wed Aug 22 11:18:36 2018 +0300 @@ -0,0 +1,25 @@ +# 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" +}