wok-6.x diff python-reportlab/receipt @ rev 23861

xvkbd: fix fetch,compile,and genpkg
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 01:26:32 2020 -0400 (2020-06-19)
parents 8dd8bab3f0ca
children 1df6fa555414
line diff
     1.1 --- a/python-reportlab/receipt	Thu Jan 24 14:51:04 2019 +0100
     1.2 +++ b/python-reportlab/receipt	Fri Jun 19 01:26:32 2020 -0400
     1.3 @@ -1,24 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-reportlab"
     1.7 -VERSION="2_3"
     1.8 +VERSION="3.5.42"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="PDF generation solution."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 -SOURCE="ReportLab"
    1.14 -TARBALL="${SOURCE}_$VERSION.tar.gz"
    1.15 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.16 -WGET_URL="${WEB_SITE}ftp/$TARBALL"
    1.17 +WEB_SITE="https://pypi.org/project/reportlab/"
    1.18  
    1.19 -DEPENDS="python freetype"
    1.20 +SOURCE="reportlab"
    1.21 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.23 +
    1.24 +DEPENDS="freetype python"
    1.25  BUILD_DEPENDS="python python-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	ln -s ${SOURCE}_$VERSION $src
    1.31 -	cd $src
    1.32  	python setup.py build &&
    1.33  	python setup.py install --root=$DESTDIR
    1.34  }
    1.35 @@ -26,12 +25,7 @@
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	cp -a $install/usr $fs
    1.40 -}
    1.41 -
    1.42 -clean_wok()
    1.43 -{
    1.44 -	rm -rf ${PACKAGE}_$VERSION
    1.45 +	cp -a $install/usr	$fs
    1.46  }
    1.47  
    1.48  # Remove old package.
    1.49 @@ -40,4 +34,3 @@
    1.50  	[ ! -d "$1/var/lib/tazpkg/installed/reportlab" ] ||
    1.51  	rm -rf "$1/var/lib/tazpkg/installed/reportlab"
    1.52  }
    1.53 -