SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "py3k-dbus"

# SliTaz package receipt.

PACKAGE="py3k-dbus"
VERSION="1.2.18"
CATEGORY="development"
SHORT_DESC="Python3 bindings for dbus."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.freedesktop.org/wiki/Software/DBusBindings/"
REPOLOGY="python:dbus-python"

SOURCE="dbus-python"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"

DEPENDS="py3k"
BUILD_DEPENDS="dbus-dev py3k-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/freedesktop/dbus-python/tags 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python3 setup.py build &&
    ./configure        \
        $CONFIGURE_ARGS &&
    make &&
    python3 setup.py install --skip-build --root=$DESTDIR &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)