wok diff python-flask/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (22 months ago)
parents d7522d21c4d3
children
line diff
     1.1 --- a/python-flask/receipt	Sat Feb 19 19:01:32 2022 +0000
     1.2 +++ b/python-flask/receipt	Fri Jul 01 17:16:59 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-flask"
     1.7 -VERSION="1.1.2"
     1.8 +VERSION="1.1.4"		# last version with support for Python 2
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A simple framework for building complex web applications."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,7 +10,7 @@
    1.13  
    1.14  SOURCE="Flask"
    1.15  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 -WGET_URL="https://files.pythonhosted.org/packages/source/F/$SOURCE/$TARBALL"
    1.17 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.18  
    1.19  DEPENDS="python-click python-itsdangerous"
    1.20  BUILD_DEPENDS="python python-setuptools"
    1.21 @@ -25,11 +25,15 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	python setup.py install --prefix=/usr --root=$DESTDIR
    1.26 +	python	setup.py	\
    1.27 +		install		\
    1.28 +		--prefix=/usr	\
    1.29 +		--root=$DESTDIR
    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 +	cook_copy_folders	bin
    1.37 +	cook_copy_folders	lib
    1.38  }