wok view python-peak-rules/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 814362194a8d
children b81ceff0b056
line source
1 # SliTaz package receipt.
3 PACKAGE="python-peak-rules"
4 VERSION="0.5a1.dev-r2713"
5 CATEGORY="misc"
6 SHORT_DESC="Generic functions and business rules support systems"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="ZPL2.1"
9 WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
20 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }