wok view python-peak-rules/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 | 104a2a2e5484 |
children |
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 SOURCE="PEAK-Rules"
10 WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE\/[0-9]/!d;s|.*$SOURCE/||;s|/.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }