mopidy-subidy icon indicating copy to clipboard operation
mopidy-subidy copied to clipboard

[Question] AUR - python2-pykka>=1.1

Open seniorm0ment opened this issue 4 years ago • 4 comments

==> Error: Could not find all required packages: python2-pykka>=1.1 (Wanted by: mopidy-subidy)

Newer to using Arch, this may be an obvious question, but was trying to install mopidy-subidy through AUR using Yay and am met with the above error. I have python2 installed and python3, I also tried doing pip install pykka and get

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pykka in /usr/lib/python3.8/site-packages (2.0.2)

So it seems pykka is already existent, so I'm confused as to what I am missing? I notice on the AUR, this dependency is listed as red, not sure if that means it is outdated or something? I wouldn't assume that to be the case seeing the mopidy-subidy AUR pack was updated like two months ago so all seems it should work, I assume this is a me issue. Was just looking for a little help, thanks.

seniorm0ment avatar Apr 30 '20 01:04 seniorm0ment

The AUR package is out of date. The AUR version 0.4.4, while the latest version is 1.0.0. Additionally, python2 is no longer supported and should not be used further, which is probably the reason the python2-pykka got removed from the AUR.

jheyens avatar Jun 21 '20 16:06 jheyens

Any chance we can get the AUR package to be updated?

seniorm0ment avatar Jun 21 '20 16:06 seniorm0ment

It has been [flagged out-of-date] on 10th of may, so the maintainer got a notification already. I'm not 100% sure that the AUR package maintainer ("prior") is the same person as the subidy author ("Prior99").

The PKGBUILD is very simple, though, so you should be able to adapt it to the new version by changing pkgver, the depends array and makedepends.

E.g. this PKGBUILD builds, though I did not try to test it:

pkgname=mopidy-subidy
pkgver=1.0.0
pkgrel=1
pkgdesc="Mopidy extension for playing music from Subsonic servers"
arch=('any')
url="https://github.com/Prior99/mopidy-subidy"
license=('BSD')
depends=(
  'mopidy'
  'python-pykka'
  'python-setuptools'
  'python-pysonic'
)
provides=('mopidy-subidy')
source=("https://github.com/prior99/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('b9a33af87751a19efd3defcbe20383ff4f8c900996b3eadee07ca26739c3a7fc')


package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

jheyens avatar Jun 22 '20 17:06 jheyens

I've recently taken over maintainership of the AUR package, and have just updated it to the latest version.

djmattyg007 avatar Feb 13 '21 23:02 djmattyg007