Package Details: pyradio-git 0.9.3.1-1

Git Clone URL: https://aur.archlinux.org/pyradio-git.git (read-only, click to copy)
Package Base: pyradio-git
Description: Internet radio player for the command line
Upstream URL: http://www.coderholic.com/pyradio/
Licenses: MIT
Conflicts: pyradio
Provides: pyradio
Submitter: aksr
Maintainer: willemw (sng)
Last Packager: sng
Votes: 28
Popularity: 0.000062
First Submitted: 2012-08-23 11:53 (UTC)
Last Updated: 2024-04-18 16:44 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

willemw commented on 2019-11-16 09:50 (UTC) (edited on 2019-12-23 14:02 (UTC) by willemw)

@blacktav: Thanks for the heads-up. Bumped the package with some minor changes.

Python 3 updated from 3.7 to 3.8. Everyone needs to rebuild and install the AUR packages which are in the "pacman -Qoq /usr/lib/python3.7" list when updating to Python 3.8.

blacktav commented on 2019-11-15 23:39 (UTC) (edited on 2019-11-15 23:41 (UTC) by blacktav)

Presumably some recent change in python updates broke pyradio with an error such as pkg_resources.DistributionNotFound: The 'pyradio==0.6.0' distribution was not found and is required by the application

Remove and Re-install cycle seems to sort things out Perhaps bumping the release would help

sng commented on 2019-03-02 10:15 (UTC)

@willemw: ok, thanks for making it clear

willemw commented on 2019-03-02 09:17 (UTC) (edited on 2019-03-02 09:59 (UTC) by willemw)

@sng: If the user is not actively following upstream project(s), then I think the normal procedure for the user is to regularly update/reinstall all his or her VCS packages (yay ... --devel, pikaur ... --devel, ...).

sng commented on 2019-03-02 08:57 (UTC) (edited on 2019-03-02 08:59 (UTC) by sng)

@willemw Yes, I know :)

I was under the impression that at least the pkgver should be updated (in the PKGBUILD) so that users get a notification or indication that something has changed, in order to reinstall the package. Otherwise, how would one know when to update?

Still, I don't really know how the whole thing works...

willemw commented on 2019-03-02 08:12 (UTC)

@sng: to update a VCS package (a package ending on -git, for example), you need to reinstall the package.

sng commented on 2019-03-02 01:54 (UTC) (edited on 2019-03-02 02:56 (UTC) by sng)

@willemw Updated upstream at pkgver=0.7.2-0-g1a5bed0

Can you please update here too?

sng commented on 2018-12-05 05:49 (UTC) (edited on 2018-12-05 05:57 (UTC) by sng)

@willemw

This PKGBUILD reflects the latest upstream changes

The man page (pyradio.1) is now in the repo; no need to keep it here any more

# Maintainer: willemw <willemw12@gmail.com>
# Contributor: sng <sng at hellug dot gr>
# Contributor: aksr <aksr at t-com dot me>

_pkgname=pyradio
pkgname=$_pkgname-git
pkgver=0.6.0.r0.gd13b7e3
pkgrel=1
pkgdesc="Command line internet radio player"
arch=('any')
url="http://www.coderholic.com/pyradio/"
license=('MIT')
depends=('ncurses' 'python')
optdepends=('mplayer: as backend' 'vlc: as backend' 'mpv: as backend' 'socat: if mpv is used')
makedepends=('git' 'python-setuptools')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::git://github.com/coderholic/pyradio.git)
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd $pkgname
  descr=$(git describe --long --tags)
  sed -i "s/git_description = ''/git_description = '${descr}'/" pyradio/radio.py
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/pyradio/LICENSE"
  install -Dm644 README.md "$pkgdir/usr/share/doc/pyradio/README.md"
  install -Dm644 README.html "$pkgdir/usr/share/doc/pyradio/README.html"
  install -Dm644 build.md "$pkgdir/usr/share/doc/pyradio/build.md"
  install -Dm644 build.html "$pkgdir/usr/share/doc/pyradio/build.html"
  gzip pyradio.1
  install -Dm644 pyradio.1.gz "$pkgdir/usr/share/man/man1/pyradio.1.gz"
  # we don't have to install stations.csv, it is already in the egg file
  #install -Dm644 pyradio/stations.csv "$pkgdir/usr/share/doc/pyradio/stations.csv"
} 

willemw commented on 2018-11-17 06:30 (UTC)

@aksr: Done.

aksr commented on 2018-11-17 03:45 (UTC)

Remove this stupid line: The man page was written by \fBaksr <aksr at t-com dot me>\fR for Arch Linux.