wok-current view python-xdg/receipt @ rev 24662

updated imagemagick and imagemagick-dev (7.0.9.26 -> 7.1.0.27)
author Hans-G?nter Theisgen
date Fri Mar 11 14:03:06 2022 +0100 (2022-03-11)
parents 52910d6235cf
children 2e2732e7e234
line source
1 # SliTaz package receipt.
3 PACKAGE="python-xdg"
4 VERSION="0.26"
5 CATEGORY="development"
6 SHORT_DESC="Python library to access freedesktop.org standards."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/pyxdg/"
11 SOURCE="pyxdg"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/takluyver/pyxdg/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }