wok view py3k-dbus/receipt @ rev 24647

updated hp15c (4.0.00 -> 4.3.00)
author Hans-G?nter Theisgen
date Thu Mar 10 11:23:00 2022 +0100 (2022-03-10)
parents 209f25cbe29f
children 0262035dc1e7
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 }