wok view python-pyyaml/receipt @ rev 25249
updated python-websocket-client (0.57.0 -> 0.59.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:30:53 2022 +0100 (2022-07-14) |
parents | 8196165b108a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyyaml"
4 VERSION="5.3.1"
5 CATEGORY="development"
6 SHORT_DESC="YAML parser and emitter for the Python programming language."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pyyaml.org/wiki/PyYAML"
11 SOURCE="PyYAML"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://pyyaml.org/download/pyyaml/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev yaml-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr $fs
36 }