wok-current view pygobject3/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (5 months ago)
parents 73f36875e5a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pygobject3"
4 SOURCE="pygobject"
5 VERSION="3.42.0"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for the GObject3 library"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://live.gnome.org/PyGObject"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
14 PROVIDE="python-gi"
15 DEPENDS="python3 pycairo glib libffi libgio gtk-girepository"
16 BUILD_DEPENDS="$DEPENDS python3-pip python3-dev python3-setuptools \
17 pkg-config glib-dev libgio-dev pycairo-dev cairo-dev \
18 libffi-dev gobject-introspection-dev"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 pip3 install --no-compile --root=$install PyGObject==$VERSION
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }