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