wok-current annotate python-xdg/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | 52910d6235cf |
children | 2e2732e7e234 |
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 |
pascal@24459 | 18 # What is the latest version available today? |
pascal@24459 | 19 current_version() |
pascal@24459 | 20 { |
pascal@24459 | 21 wget -O - https://github.com/takluyver/pyxdg/tags 2>/dev/null | \ |
pascal@24459 | 22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24459 | 23 } |
pascal@24459 | 24 |
paul@3942 | 25 # Rules to configure and make the package. |
paul@3942 | 26 compile_rules() |
paul@3942 | 27 { |
paul@3942 | 28 python setup.py build && |
pascal@15376 | 29 python setup.py install --root=$DESTDIR |
paul@3942 | 30 } |
paul@3942 | 31 |
paul@3942 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3942 | 33 genpkg_rules() |
paul@3942 | 34 { |
Hans-G?nter@23585 | 35 cp -a $install/usr $fs |
paul@3942 | 36 } |