wok-next rev 20921

flake8 -> python-flake8
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 11:18:36 2018 +0300 (2018-08-22)
parents 030937efd233
children 034d1fefb1c3
files flake8/receipt python-configparser/receipt python-dulwich/receipt python-enum34/receipt python-flake8/receipt python-mccabe/receipt python-pycodestyle/receipt python-pycodestyle23/receipt python-pyflakes/receipt python-pyflakes16/.bdeps python-pyflakes16/receipt
line diff
     1.1 --- a/flake8/receipt	Wed Aug 22 09:21:31 2018 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,29 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="flake8"
     1.7 -VERSION="2.2.4"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="The modular source code checker for python."
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="MIT"
    1.12 -WEB_SITE="https://pypi.python.org/pypi/flake8"
    1.13 -REPOLOGY="python:flake8"
    1.14 -
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="https://pypi.python.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
    1.17 -
    1.18 -DEPENDS="python"
    1.19 -BUILD_DEPENDS="python"
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	python setup.py build &&
    1.25 -	python setup.py install --root=$DESTDIR
    1.26 -}
    1.27 -
    1.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 -genpkg_rules()
    1.30 -{
    1.31 -	cp -a $install/usr $fs/
    1.32 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-configparser/receipt	Wed Aug 22 11:18:36 2018 +0300
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="python-configparser"
     2.7 +VERSION="latest"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Updated configparser from Python 3.5 to Python 2.7"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="MIT"
    2.12 +WEB_SITE="https://pypi.org/project/configparser/"
    2.13 +HOST_ARCH="any"
    2.14 +REPOLOGY="python:configparser"
    2.15 +
    2.16 +BUILD_DEPENDS="python"
    2.17 +
    2.18 +compile_rules() {
    2.19 +	pip install --no-compile --root=$DESTDIR configparser
    2.20 +}
    2.21 +
    2.22 +genpkg_rules() {
    2.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*configparser-||p' $LOGS/$PACKAGE.log)
    2.24 +	copy @std
    2.25 +	DEPENDS="python"
    2.26 +}
     3.1 --- a/python-dulwich/receipt	Wed Aug 22 09:21:31 2018 +0300
     3.2 +++ b/python-dulwich/receipt	Wed Aug 22 11:18:36 2018 +0300
     3.3 @@ -18,5 +18,5 @@
     3.4  genpkg_rules() {
     3.5  	VERSION=$(sed -n '/^Successfully installed/ s|.*dulwich-||p' $LOGS/$PACKAGE.log)
     3.6  	copy @std @dev
     3.7 -	DEPENDS="python"
     3.8 +	DEPENDS="python python-urllib3 python-certifi"
     3.9  }
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/python-enum34/receipt	Wed Aug 22 11:18:36 2018 +0300
     4.3 @@ -0,0 +1,23 @@
     4.4 +# SliTaz package receipt v2.
     4.5 +
     4.6 +PACKAGE="python-enum34"
     4.7 +VERSION="latest"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Python 3.4 Enum backported to 2.7"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="BSD"
    4.12 +WEB_SITE="https://pypi.org/project/enum34/"
    4.13 +HOST_ARCH="any"
    4.14 +REPOLOGY="python:enum34"
    4.15 +
    4.16 +BUILD_DEPENDS="python"
    4.17 +
    4.18 +compile_rules() {
    4.19 +	pip install --no-compile --root=$DESTDIR enum34
    4.20 +}
    4.21 +
    4.22 +genpkg_rules() {
    4.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*enum34-||p' $LOGS/$PACKAGE.log)
    4.24 +	copy @std
    4.25 +	DEPENDS="python"
    4.26 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/python-flake8/receipt	Wed Aug 22 11:18:36 2018 +0300
     5.3 @@ -0,0 +1,25 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="python-flake8"
     5.7 +VERSION="latest"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="The modular source code checker for Python"
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="MIT"
    5.12 +WEB_SITE="https://pypi.org/project/flake8/"
    5.13 +HOST_ARCH="any"
    5.14 +REPOLOGY="python:flake8"
    5.15 +
    5.16 +BUILD_DEPENDS="python python-enum34 python-configparser python-mccabe \
    5.17 +python-pyflakes16 python-pycodestyle23"
    5.18 +
    5.19 +compile_rules() {
    5.20 +	pip install --no-compile --root=$DESTDIR flake8
    5.21 +}
    5.22 +
    5.23 +genpkg_rules() {
    5.24 +	VERSION=$(sed -n '/^Successfully installed/ s|.*flake8-||p' $LOGS/$PACKAGE.log)
    5.25 +	copy @std
    5.26 +	DEPENDS="python python-enum34 python-configparser python-mccabe \
    5.27 +	python-pyflakes16 python-pycodestyle23"
    5.28 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/python-mccabe/receipt	Wed Aug 22 11:18:36 2018 +0300
     6.3 @@ -0,0 +1,23 @@
     6.4 +# SliTaz package receipt v2.
     6.5 +
     6.6 +PACKAGE="python-mccabe"
     6.7 +VERSION="latest"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="McCabe checker, plugin for flake8"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="MIT"
    6.12 +WEB_SITE="https://pypi.org/project/mccabe/"
    6.13 +HOST_ARCH="any"
    6.14 +REPOLOGY="python:mccabe"
    6.15 +
    6.16 +BUILD_DEPENDS="python"
    6.17 +
    6.18 +compile_rules() {
    6.19 +	pip install --no-compile --root=$DESTDIR mccabe
    6.20 +}
    6.21 +
    6.22 +genpkg_rules() {
    6.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*mccabe-||p' $LOGS/$PACKAGE.log)
    6.24 +	copy @std
    6.25 +	DEPENDS="python"
    6.26 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/python-pycodestyle/receipt	Wed Aug 22 11:18:36 2018 +0300
     7.3 @@ -0,0 +1,23 @@
     7.4 +# SliTaz package receipt v2.
     7.5 +
     7.6 +PACKAGE="python-pycodestyle"
     7.7 +VERSION="latest"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="Python style guide checker"
    7.10 +MAINTAINER="al.bobylev@gmail.com"
    7.11 +LICENSE="MIT"
    7.12 +WEB_SITE="https://pypi.org/project/pycodestyle/"
    7.13 +HOST_ARCH="any"
    7.14 +REPOLOGY="python:pycodestyle"
    7.15 +
    7.16 +BUILD_DEPENDS="python"
    7.17 +
    7.18 +compile_rules() {
    7.19 +	pip install --no-compile --root=$DESTDIR pycodestyle
    7.20 +}
    7.21 +
    7.22 +genpkg_rules() {
    7.23 +	VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log)
    7.24 +	copy @std
    7.25 +	DEPENDS="python"
    7.26 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/python-pycodestyle23/receipt	Wed Aug 22 11:18:36 2018 +0300
     8.3 @@ -0,0 +1,25 @@
     8.4 +# SliTaz package receipt v2.
     8.5 +
     8.6 +PACKAGE="python-pycodestyle23"
     8.7 +VERSION="latest2.3"
     8.8 +CATEGORY="development"
     8.9 +SHORT_DESC="Python style guide checker (for python-flake8)"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="MIT"
    8.12 +WEB_SITE="https://pypi.org/project/pycodestyle/"
    8.13 +HOST_ARCH="any"
    8.14 +REPOLOGY="python:pycodestyle"
    8.15 +
    8.16 +BUILD_DEPENDS="python"
    8.17 +
    8.18 +LEGACY_OF="python-pycodestyle" # python-flake8 requres 'pycodestyle<2.4.0,>=2.0.0' while latest is 2.4.0
    8.19 +
    8.20 +compile_rules() {
    8.21 +	pip install --no-compile --root=$DESTDIR 'pycodestyle<2.4.0,>=2.0.0'
    8.22 +}
    8.23 +
    8.24 +genpkg_rules() {
    8.25 +	VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log)
    8.26 +	copy @std
    8.27 +	DEPENDS="python"
    8.28 +}
     9.1 --- a/python-pyflakes/receipt	Wed Aug 22 09:21:31 2018 +0300
     9.2 +++ b/python-pyflakes/receipt	Wed Aug 22 11:18:36 2018 +0300
     9.3 @@ -1,30 +1,23 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="python-pyflakes"
     9.8 -VERSION="1.0.0"
     9.9 +VERSION="latest"
    9.10  CATEGORY="development"
    9.11 -SHORT_DESC="A simple program which checks Python source files for errors."
    9.12 +SHORT_DESC="A simple program which checks Python source files for errors"
    9.13  MAINTAINER="paul@slitaz.org"
    9.14  LICENSE="MIT"
    9.15 -WEB_SITE="https://github.com/pyflakes/pyflakes"
    9.16 +WEB_SITE="https://pypi.org/project/pyflakes/"
    9.17 +HOST_ARCH="any"
    9.18  REPOLOGY="python:pyflakes"
    9.19  
    9.20 -SOURCE="pyflakes"
    9.21 -TARBALL="$SOURCE-$VERSION.tar.gz"
    9.22 -WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
    9.23 -
    9.24 -DEPENDS="python"
    9.25  BUILD_DEPENDS="python-dev"
    9.26  
    9.27 -# Rules to configure and make the package.
    9.28 -compile_rules()
    9.29 -{
    9.30 -	python setup.py install --root=$DESTDIR
    9.31 +compile_rules() {
    9.32 +	pip install --no-compile --root=$DESTDIR pyflakes
    9.33  }
    9.34  
    9.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.36 -genpkg_rules()
    9.37 -{
    9.38 -	cp -a $install/usr $fs
    9.39 +genpkg_rules() {
    9.40 +	VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log)
    9.41 +	copy @std
    9.42 +	DEPENDS="python"
    9.43  }
    9.44 -
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/python-pyflakes16/.bdeps	Wed Aug 22 11:18:36 2018 +0300
    10.3 @@ -0,0 +1,9 @@
    10.4 +python-dev
    10.5 +python-idle
    10.6 +python-tcltk
    10.7 +tcl
    10.8 +tk
    10.9 +xorg-libX11
   10.10 +xorg-libXau
   10.11 +xorg-libXdmcp
   10.12 +xorg-libxcb
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/python-pyflakes16/receipt	Wed Aug 22 11:18:36 2018 +0300
    11.3 @@ -0,0 +1,25 @@
    11.4 +# SliTaz package receipt v2.
    11.5 +
    11.6 +PACKAGE="python-pyflakes16"
    11.7 +VERSION="latest1.6"
    11.8 +CATEGORY="development"
    11.9 +SHORT_DESC="Passive checker of Python programs (for python-flake8)"
   11.10 +MAINTAINER="al.bobylev@gmail.com"
   11.11 +LICENSE="MIT"
   11.12 +WEB_SITE="https://pypi.org/project/pyflakes/"
   11.13 +HOST_ARCH="any"
   11.14 +REPOLOGY="python:pyflakes"
   11.15 +
   11.16 +BUILD_DEPENDS="python-dev"
   11.17 +
   11.18 +LEGACY_OF="python-pyflakes" # python-flake8 requres 'pyflakes<1.7.0,>=1.5.0' while latest is 2.0.0
   11.19 +
   11.20 +compile_rules() {
   11.21 +	pip install --no-compile --root=$DESTDIR 'pyflakes<1.7.0,>=1.5.0'
   11.22 +}
   11.23 +
   11.24 +genpkg_rules() {
   11.25 +	VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log)
   11.26 +	copy @std
   11.27 +	DEPENDS="python"
   11.28 +}