wok annotate python-gammu/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 5ea0ce1cecc0
children
rev   line source
pascal@19913 1 # SliTaz package receipt.
pascal@19913 2
pascal@19913 3 PACKAGE="python-gammu"
Hans-G?nter@23487 4 VERSION="2.12"
pascal@19913 5 CATEGORY="development"
Hans-G?nter@23487 6 SHORT_DESC="Python bindings for Gammu."
pascal@19913 7 MAINTAINER="pankso@slitaz.org"
pascal@19913 8 LICENSE="GPL2"
Hans-G?nter@23487 9 WEB_SITE="https://wammu.eu/python-gammu/"
Hans-G?nter@23487 10
pascal@19913 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19913 12 WGET_URL="https://github.com/gammu/$PACKAGE/archive/$VERSION.tar.gz"
pascal@19913 13
Hans-G?nter@23487 14 DEPENDS="gammu python"
Hans-G?nter@23489 15 BUILD_DEPENDS="gammu-dev pkg-config python python-dev python-setuptools"
pascal@19913 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@19913 23 # Rules to configure and make the package.
pascal@19913 24 compile_rules()
pascal@19913 25 {
pascal@19913 26 python setup.py build &&
pascal@19913 27 python setup.py install --root=$DESTDIR
pascal@19913 28 }
pascal@19913 29
pascal@19913 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19913 31 genpkg_rules()
pascal@19913 32 {
Hans-G?nter@23487 33 cp -a $install/usr $fs
pascal@19913 34 }