# HG changeset patch # User Hans-G?nter Theisgen # Date 1586018755 -3600 # Node ID 99b982c720a79d38fedf886c77b7f3a409179bee # Parent 907a77dcc2a77492d9c7b41edc0e9e69c0ad234d updated pyradio (0.7.4 -> 0.8.7.2) diff -r 907a77dcc2a7 -r 99b982c720a7 pyradio/receipt --- a/pyradio/receipt Sat Apr 04 17:37:50 2020 +0100 +++ b/pyradio/receipt Sat Apr 04 17:45:55 2020 +0100 @@ -1,31 +1,31 @@ # SliTaz package receipt. PACKAGE="pyradio" -VERSION="0.7.4" +VERSION="0.8.7.2" CATEGORY="multimedia" SHORT_DESC="Ncurses internet radio player." MAINTAINER="paul@slitaz.org" LICENSE="MIT" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.coderholic.com/pyradio/" -WGET_URL="git|git://github.com/coderholic/pyradio.git" -BRANCH="$VERSION" +WEB_SITE="https://www.coderholic.com/pyradio/" -DEPENDS="ncurses mplayer python" -BUILD_DEPENDS="git python-setuptools" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/coderholic/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="mplayer ncurses python" +BUILD_DEPENDS="python-setuptools" # Rules to configure and make the package. compile_rules() { - sed -i '1a\# -*- coding: utf-8 -*-' pyradio/radio.py - python setup.py build + sed -i '1a\# -*- coding: utf-8 -*-' \ + pyradio/radio.py + + python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + cp -a $install/* $fs } - -