wok view python-formencode/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (17 months ago)
parents e717a4953b0e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-formencode"
4 VERSION="2.0.1"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="FormEncode is a validation and form generation package."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/FormEncode/"
11 REPOLOGY="python:formencode"
13 SOURCE="FormEncode"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
24 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }