wok-current annotate python-pyyaml/receipt @ rev 23419
updated perl-xml-writer (0.612 -> 0.625)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:51:47 2020 +0100 (2020-04-01) |
parents | 6e8b1bcb30e2 |
children | 8196165b108a |
rev | line source |
---|---|
rocky@3575 | 1 # SliTaz package receipt. |
rocky@3575 | 2 |
rocky@3575 | 3 PACKAGE="python-pyyaml" |
rocky@3575 | 4 VERSION="3.08" |
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" |
rocky@3575 | 9 SOURCE="PyYAML" |
rocky@3575 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20881 | 11 WEB_SITE="https://pyyaml.org/wiki/PyYAML" |
pascal@20671 | 12 WGET_URL="https://pyyaml.org/download/pyyaml/$TARBALL" |
rocky@3575 | 13 |
pascal@15092 | 14 DEPENDS="python" |
pascal@15092 | 15 BUILD_DEPENDS="python python-dev yaml-dev" |
pascal@15092 | 16 |
rocky@3575 | 17 # Rules to configure and make the package. |
rocky@3575 | 18 compile_rules() |
rocky@3575 | 19 { |
al@18086 | 20 python setup.py install --root=$DESTDIR |
rocky@3575 | 21 } |
rocky@3575 | 22 |
rocky@3575 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3575 | 24 genpkg_rules() |
rocky@3575 | 25 { |
al@18086 | 26 mkdir -p $fs/usr |
al@18086 | 27 cp -a $install/usr $fs |
rocky@3575 | 28 } |