wok-current annotate python-pyajam/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (6 days ago)
parents 9aa1f88b45db
children
rev   line source
pascal@20295 1 # SliTaz package receipt.
pascal@20295 2
pascal@20295 3 PACKAGE="python-pyajam"
pascal@24890 4 VERSION="0.2"
pascal@20295 5 CATEGORY="development"
Hans-G?nter@25222 6 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol."
pascal@20295 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20295 8 LICENSE="GPL3"
Hans-G?nter@25222 9 WEB_SITE="https://pypi.org/project/PyAjam/"
Hans-G?nter@25222 10 REPOLOGY="python:pyajam"
Hans-G?nter@25222 11
Hans-G?nter@25222 12 SOURCE="PyAjam"
Hans-G?nter@25222 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25222 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@20295 15
pascal@20295 16 DEPENDS="python"
pascal@21582 17 BUILD_DEPENDS="python-setuptools"
pascal@20295 18
pascal@24476 19 # What is the latest version available today?
pascal@24476 20 current_version()
pascal@24476 21 {
pascal@24890 22 wget -O - https://raw.githubusercontent.com/gbour/PyAjam/master/CHANGES 2>/dev/null | \
pascal@24699 23 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
pascal@24476 24 }
pascal@24476 25
pascal@20295 26 # Rules to configure and make the package.
pascal@20295 27 compile_rules()
pascal@20295 28 {
pascal@20295 29 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20295 30 }
pascal@20295 31
pascal@20295 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20295 33 genpkg_rules()
pascal@20295 34 {
Hans-G?nter@25222 35 cp -a $install/usr $fs
pascal@20295 36 }