# HG changeset patch # User Hans-G?nter Theisgen # Date 1586239234 -3600 # Node ID bc7cbcc495b3e33df66f7416f0535ac111a5ff02 # Parent a32589fd69e7c0a05fda6b496f7309b5f2e37236 updated python-reportlab (2_3 -> 3.5.42) diff -r a32589fd69e7 -r bc7cbcc495b3 python-reportlab/receipt --- a/python-reportlab/receipt Tue Apr 07 06:52:37 2020 +0100 +++ b/python-reportlab/receipt Tue Apr 07 07:00:34 2020 +0100 @@ -1,24 +1,23 @@ # SliTaz package receipt. PACKAGE="python-reportlab" -VERSION="2_3" +VERSION="3.5.42" CATEGORY="development" SHORT_DESC="PDF generation solution." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -SOURCE="ReportLab" -TARBALL="${SOURCE}_$VERSION.tar.gz" -WEB_SITE="https://pypi.org/project/$SOURCE/" -WGET_URL="${WEB_SITE}ftp/$TARBALL" +WEB_SITE="https://pypi.org/project/reportlab/" -DEPENDS="python freetype" +SOURCE="reportlab" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="freetype python" BUILD_DEPENDS="python python-dev" # Rules to configure and make the package. compile_rules() { - ln -s ${SOURCE}_$VERSION $src - cd $src python setup.py build && python setup.py install --root=$DESTDIR } @@ -26,12 +25,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs -} - -clean_wok() -{ - rm -rf ${PACKAGE}_$VERSION + cp -a $install/usr $fs } # Remove old package. @@ -40,4 +34,3 @@ [ ! -d "$1/var/lib/tazpkg/installed/reportlab" ] || rm -rf "$1/var/lib/tazpkg/installed/reportlab" } -