wok annotate python-xdg/receipt @ rev 24016
Up tazinst (113)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 12:03:41 2021 +0000 (2021-02-25) |
parents | 7390f8de9846 |
children | 2f230197370e |
rev | line source |
---|---|
paul@3942 | 1 # SliTaz package receipt. |
paul@3942 | 2 |
paul@3942 | 3 PACKAGE="python-xdg" |
Hans-G?nter@23585 | 4 VERSION="0.26" |
paul@3942 | 5 CATEGORY="development" |
paul@3942 | 6 SHORT_DESC="Python library to access freedesktop.org standards." |
paul@3942 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15376 | 8 LICENSE="LGPL2" |
Hans-G?nter@23585 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/pyxdg/" |
Hans-G?nter@23585 | 10 |
paul@3942 | 11 SOURCE="pyxdg" |
paul@3942 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23585 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
paul@3942 | 14 |
pascal@15376 | 15 DEPENDS="python" |
pascal@15376 | 16 BUILD_DEPENDS="python python-dev" |
pascal@15376 | 17 |
paul@3942 | 18 # Rules to configure and make the package. |
paul@3942 | 19 compile_rules() |
paul@3942 | 20 { |
paul@3942 | 21 python setup.py build && |
pascal@15376 | 22 python setup.py install --root=$DESTDIR |
paul@3942 | 23 } |
paul@3942 | 24 |
paul@3942 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3942 | 26 genpkg_rules() |
paul@3942 | 27 { |
Hans-G?nter@23585 | 28 cp -a $install/usr $fs |
paul@3942 | 29 } |