Package Details: pyspotify-git 20130807-1

Package Base: pyspotify-git
Description: A Python Spotify library
Upstream URL: http://pyspotify.mopidy.com/
Category: lib
Licenses: Apache
Submitter: None
Maintainer: None
Last Packager: None
Votes: 9
First Submitted: 2010-11-30 07:35
Last Updated: 2013-08-06 23:35

Dependencies (3)

Required by (0)

Sources

Latest Comments

Comment by trygveaa

2013-10-31 00:51

Sorry for the absence. Now that a non-git version has been released, I will recommend using that instead (https://aur.archlinux.org/packages/pyspotify/). Therefore, I will not update this package.

Comment by geekmiki

2013-08-15 21:23

version in PKGBUILD needs to be updated
from pkgver=20130807
to pkgver=1.11.10.gef75737-1

Otherwise, yaourt/packer prompt for an update continuously.

Anonymous comment

2012-06-18 23:12

Build fails with this: while libspotify is installed, also installed is spotify ( https://aur.archlinux.org/packages.php?ID=38847 )


Command /usr/bin/python2 -c "import setuptools;__file__='/home/USERNAME/pyspotify-git/src/pyspotify/build/pyspotify/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8jnrNE-record/install-record.txt failed with error code 1 in /home/USERNAME/pyspotify-git/src/pyspotify/build/pyspotify

Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/bin/python2 -c "import setuptools;__file__='/home/USERNAME/pyspotify-git/src/pyspotify/build/pyspotify/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-8jnrNE-record/install-record.txt failed with error code 1 in /home/USERNAME/pyspotify-git/src/pyspotify/build/pyspotify

Had this appear on 3 different computers.

Anonymous comment

2012-06-13 08:54

Thanks jodal! I've updated the package dependencies, it builds fine now.

Comment by jodal

2012-06-13 07:57

I've updated the main branch of pyspotify with the mentioned patch, so it should now build with libspotify 12, and 12 only. In other words, the dependencies here should be updated to libspotify=12.

Anonymous comment

2012-06-12 15:15

This pull request is a quick patch for the album.c issue, and supports libspotify older than 12.
https://github.com/mopidy/pyspotify/pull/67

Comment by Gordin

2012-06-12 13:29

thanks. it builds fine with libspotify 11.1.60

Maybe update the PKGBUILD from >=11 to =11 until pyspotify is updated?

Comment by jodal

2012-06-12 13:19

pyspotify currently supports libspotify 11, and not 12. Ref. https://github.com/mopidy/pyspotify/issues/66 and previous comments here.

Comment by Gordin

2012-06-12 13:16

build fails with
/usr/bin/colorgcc -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -Isrc -I/usr/include/python2.7 -c src/album.c -o build/temp.linux-x86_64-2.7/src/album.o
src/album.c: In function `Album_cover':
src/album.c:68:5: error: too few arguments to function `sp_album_cover'
In file included from src/album.c:3:0:
/usr/include/libspotify/api.h:1830:28: note: declared here
error: command '/usr/bin/colorgcc' failed with exit status 1

I have libspotify 12.1.45-1 installed
pyspotify is checked out at tag v1.7

Can somebody tell me which versions are compatible to build? :/

Comment by jodal

2012-05-07 17:25

@rickynils: You could add a limitation on libspotify < 12 as well, as libspotify as good as always breaks backwards compatibility when they increase their major number. I would think version conflicts is more understandable than compilation errors for most people.

All comments