wok view python-html5lib/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 4a5922739788 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-html5lib"
4 VERSION="1.1"
5 CATEGORY="development"
6 SHORT_DESC="Standards-compliant library for parsing HTML documents in Python."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/html5lib/"
11 SOURCE="html5lib"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 REPOLOGY="python:html5lib"
16 DEPENDS="python python-six"
17 BUILD_DEPENDS="python-dev python-setuptools wget"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://github.com/html5lib/html5lib-python/tags 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }