SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pygobject3"

# SliTaz package receipt.

PACKAGE="pygobject3"
SOURCE="pygobject"
VERSION="3.42.0"
CATEGORY="development"
SHORT_DESC="Python bindings for the GObject3 library"
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="LGPL2.1"
TARBALL="$SOURCE-$VERSION.tar.xz"
WEB_SITE="https://live.gnome.org/PyGObject"
WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"

PROVIDE="python-gi"
DEPENDS="python3 pycairo glib libffi libgio gtk-girepository"
BUILD_DEPENDS="$DEPENDS python3-pip python3-dev python3-setuptools \
pkg-config glib-dev libgio-dev pycairo-dev cairo-dev \
libffi-dev gobject-introspection-dev"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    pip3 install --no-compile --root=$install PyGObject==$VERSION
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)