wok-next diff python-six/receipt @ rev 20364

Up palemoon (27.6.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 24 05:32:16 2017 +0100 (2017-11-24)
parents d92c5c599d84
children 0e7893ac206d
line diff
     1.1 --- a/python-six/receipt	Thu Jan 14 19:18:43 2016 +0000
     1.2 +++ b/python-six/receipt	Fri Nov 24 05:32:16 2017 +0100
     1.3 @@ -1,29 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="python-six"
     1.8 -SOURCE="six"
     1.9  VERSION="1.10.0"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="Six is a Python 2 and 3 compatibility library."
    1.12 +SHORT_DESC="Six is a Python 2 and 3 compatibility library"
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://packages.python.org/six/"
    1.17 -WGET_URL="https://pypi.python.org/packages/source/s/$SOURCE/$TARBALL"
    1.18 +WEB_SITE="https://pypi.python.org/pypi/six"
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21 -DEPENDS="python"
    1.22 -BUILD_DEPENDS="wget cacerts python-dev"
    1.23 +BUILD_DEPENDS="python"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	python setup.py install --root=$DESTDIR
    1.29 +	pip install --no-compile --root=$DESTDIR six
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	cp -a $install/usr $fs
    1.36 +	copy @std
    1.37 +	DEPENDS="python"
    1.38  }
    1.39 -