wok-6.x annotate xhtml2pdf/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (23 months ago)
parents 104a2a2e5484
children
rev   line source
claudinei@3253 1 # SliTaz package receipt.
claudinei@3253 2
claudinei@3253 3 PACKAGE="xhtml2pdf"
claudinei@3253 4 SOURCE="pisa"
claudinei@3253 5 VERSION="3.0.32"
claudinei@3253 6 CATEGORY="utilities"
claudinei@3253 7 SHORT_DESC="Converter for HTML/XHTML and CSS to PDF."
claudinei@3253 8 MAINTAINER="claudinei@slitaz.org"
pascal@15579 9 LICENSE="GPL2"
claudinei@3253 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3253 11 WEB_SITE="http://www.xhtml2pdf.com"
pascal@24975 12 WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
pascal@15579 13
pascal@21580 14 DEPENDS="python python-reportlab python-html5lib python-pypdf"
pascal@21580 15 BUILD_DEPENDS="$DEPENDS python-setuptools python-dev"
claudinei@3253 16
pascal@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@24391 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
claudinei@3253 24 # Rules to configure and make the package.
claudinei@3253 25 compile_rules()
claudinei@3253 26 {
pascal@15579 27 python setup.py install --root=$DESTDIR
claudinei@3253 28 }
claudinei@3253 29
claudinei@3253 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3253 31 genpkg_rules()
claudinei@3253 32 {
claudinei@3253 33 mkdir -p $fs/usr
pascal@15579 34 cp -a $install/usr $fs
claudinei@3253 35 }