wok annotate python-pyyaml/receipt @ rev 23982

dog: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 21 13:13:55 2020 +0000 (2020-11-21)
parents fbcc503400dc
children 241fb98cab1c
rev   line source
rocky@3575 1 # SliTaz package receipt.
rocky@3575 2
rocky@3575 3 PACKAGE="python-pyyaml"
Hans-G?nter@23550 4 VERSION="5.3.1"
rocky@3575 5 CATEGORY="development"
rocky@3575 6 SHORT_DESC="YAML parser and emitter for the Python programming language."
rocky@3575 7 MAINTAINER="rocky@slitaz.org"
pascal@15378 8 LICENSE="MIT"
Hans-G?nter@23550 9 WEB_SITE="https://pyyaml.org/wiki/PyYAML"
Hans-G?nter@23550 10
rocky@3575 11 SOURCE="PyYAML"
rocky@3575 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 13 WGET_URL="https://pyyaml.org/download/pyyaml/$TARBALL"
rocky@3575 14
pascal@15092 15 DEPENDS="python"
pascal@15092 16 BUILD_DEPENDS="python python-dev yaml-dev"
pascal@15092 17
rocky@3575 18 # Rules to configure and make the package.
rocky@3575 19 compile_rules()
rocky@3575 20 {
al@18086 21 python setup.py install --root=$DESTDIR
rocky@3575 22 }
rocky@3575 23
rocky@3575 24 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3575 25 genpkg_rules()
rocky@3575 26 {
al@18086 27 mkdir -p $fs/usr
Hans-G?nter@23550 28 cp -a $install/usr $fs
rocky@3575 29 }