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.
Search Criteria
Package Details: pyspotify-git 20130807-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-10-16)
| Package Base: | pyspotify-git |
|---|---|
| Description: | A Python Spotify library |
| Upstream URL: | http://pyspotify.mopidy.com/ |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 9 |
| First Submitted: | 2010-11-30 07:35 |
| Last Updated: | 2013-08-06 23:35 |
Latest Comments
Comment by trygveaa
Comment by geekmiki
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
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
Thanks jodal! I've updated the package dependencies, it builds fine now.
Comment by jodal
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
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
thanks. it builds fine with libspotify 11.1.60
Maybe update the PKGBUILD from >=11 to =11 until pyspotify is updated?
Comment by jodal
pyspotify currently supports libspotify 11, and not 12. Ref. https://github.com/mopidy/pyspotify/issues/66 and previous comments here.
Comment by Gordin
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
@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.