wok rev 23552
updated python-reportlab (2_3 -> 3.5.42)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 07:00:34 2020 +0100 (2020-04-07) |
parents | a32589fd69e7 |
children | 6d05491c304a |
files | python-reportlab/receipt |
line diff
1.1 --- a/python-reportlab/receipt Tue Apr 07 06:52:37 2020 +0100 1.2 +++ b/python-reportlab/receipt Tue Apr 07 07:00:34 2020 +0100 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 -