wok-6.x view py3k-dbus/receipt @ rev 25553
Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 14:47:24 2023 +0000 (19 months ago) |
parents | 209f25cbe29f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-dbus"
4 VERSION="1.2.18"
5 CATEGORY="development"
6 SHORT_DESC="Python3 bindings for dbus."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/DBusBindings/"
10 REPOLOGY="python:dbus-python"
12 SOURCE="dbus-python"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="py3k"
17 BUILD_DEPENDS="dbus-dev py3k-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/freedesktop/dbus-python/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python3 setup.py build &&
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make &&
33 python3 setup.py install --skip-build --root=$DESTDIR &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders lib
41 }