wok annotate python-mpd/receipt @ rev 25630

libssh, openssh, paramiko, proftpd, putty: CVE-2023-48795 fix, waiting for dropbear and tinyssh released.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 22 14:30:01 2023 +0000 (11 months ago)
parents e717a4953b0e
children
rev   line source
jozee@2676 1 # SliTaz package receipt.
jozee@2676 2
jozee@2676 3 PACKAGE="python-mpd"
slaxemulator@7743 4 VERSION="0.3.0"
jozee@2676 5 CATEGORY="multimedia"
jozee@2676 6 SHORT_DESC="Python MPD client library"
jozee@2676 7 MAINTAINER="jozee@slitaz.org"
pascal@15379 8 LICENSE="LGPL3"
jozee@2676 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16477 10 WEB_SITE="https://pypi.python.org/pypi/python-mpd/"
pascal@24975 11 WGET_URL="https://pypi.python.org/packages/source/p/python-mpd/$TARBALL"
pankso@16477 12 HOST_ARCH="i486 arm"
jozee@2676 13
pascal@15379 14 DEPENDS="python"
pascal@15379 15 BUILD_DEPENDS="python-dev"
pascal@15379 16
pascal@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@25608 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
pascal@25608 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
jozee@2676 24 # Rules to configure and make the package.
jozee@2676 25 compile_rules()
jozee@2676 26 {
al@18077 27 python setup.py install --prefix=/usr --root="$DESTDIR"
jozee@2676 28 }
jozee@2676 29
jozee@2676 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2676 31 genpkg_rules()
jozee@2676 32 {
jozee@2676 33 mkdir -p $fs/usr/lib
pascal@15379 34 cp -a $install/usr/lib $fs/usr
jozee@2676 35 }