Update to py3

This commit is contained in:
Christoph Reiter 2017-11-02 16:03:29 +01:00
parent 0e721127a9
commit 26182f6ae0
2 changed files with 18 additions and 27 deletions

View file

@ -1,36 +1,30 @@
pkgbase = quodlibet-git pkgbase = quodlibet-git
pkgdesc = An audio library tagger, manager and player pkgdesc = An audio library tagger, manager and player
pkgver = r9120.37e477f1e pkgver = r9458.b2a0a2c44
pkgrel = 1 pkgrel = 1
url = https://quodlibet.readthedocs.io url = https://quodlibet.readthedocs.io
arch = any arch = any
license = GPL2 license = GPL2
makedepends = intltool makedepends = intltool
depends = gtk3 depends = gtk3
depends = python2-gobject depends = python-gobject
depends = python2-dbus depends = python-dbus
depends = python2-cairo depends = python-cairo
depends = mutagen depends = python-mutagen
depends = gst-plugins-base depends = gst-plugins-base
depends = gst-plugins-good depends = gst-plugins-good
depends = gst-plugins-ugly depends = gst-plugins-ugly
depends = desktop-file-utils depends = desktop-file-utils
depends = python2-futures depends = python-feedparser
depends = python2-feedparser
depends = python2-faulthandler
optdepends = gst-libav: for ffmpeg (ASF/WMA) support optdepends = gst-libav: for ffmpeg (ASF/WMA) support
optdepends = gst-plugins-bad: for Musepack support optdepends = gst-plugins-bad: for Musepack support
optdepends = libkeybinder3: for the multimedia keys support optdepends = libkeybinder3: for the multimedia keys support
optdepends = media-player-info: for media devices support optdepends = python-musicbrainzngs: for "MusicBrainz Lookup" plugin
optdepends = python2-musicbrainzngs: for "MusicBrainz Lookup" plugin optdepends = python-pyinotify: for "Automatic library update" plugin
optdepends = python2-pyinotify: for "Automatic library update" plugin
optdepends = kakasi: for "Kana/Kanji Simple Inverter" plugin optdepends = kakasi: for "Kana/Kanji Simple Inverter" plugin
optdepends = gst-plugins-bad: for "Audio Pitch/Speed" plugin optdepends = gst-plugins-bad: for "Audio Pitch/Speed" plugin
provides = quodlibet-plugins
provides = quodlibet provides = quodlibet
conflicts = quodlibet-plugins
conflicts = quodlibet conflicts = quodlibet
replaces = quodlibet-plugins
options = !makeflags options = !makeflags
source = quodlibet-git::git+https://github.com/quodlibet/quodlibet.git source = quodlibet-git::git+https://github.com/quodlibet/quodlibet.git
sha1sums = SKIP sha1sums = SKIP

View file

@ -1,28 +1,25 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com> # Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
pkgname=quodlibet-git pkgname=quodlibet-git
pkgver=r9120.37e477f1e pkgver=r9458.b2a0a2c44
pkgrel=1 pkgrel=1
pkgdesc="An audio library tagger, manager and player" pkgdesc="An audio library tagger, manager and player"
arch=('any') arch=('any')
license=('GPL2') license=('GPL2')
url="https://quodlibet.readthedocs.io" url="https://quodlibet.readthedocs.io"
depends=('gtk3' 'python2-gobject' 'python2-dbus' 'python2-cairo' 'mutagen' depends=('gtk3' 'python-gobject' 'python-dbus' 'python-cairo' 'python-mutagen'
'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly'
'desktop-file-utils' 'python2-futures' 'python2-feedparser' 'desktop-file-utils' 'python-feedparser')
'python2-faulthandler')
makedepends=('intltool') makedepends=('intltool')
optdepends=('gst-libav: for ffmpeg (ASF/WMA) support' optdepends=('gst-libav: for ffmpeg (ASF/WMA) support'
'gst-plugins-bad: for Musepack support' 'gst-plugins-bad: for Musepack support'
'libkeybinder3: for the multimedia keys support' 'libkeybinder3: for the multimedia keys support'
'media-player-info: for media devices support' 'python-musicbrainzngs: for "MusicBrainz Lookup" plugin'
'python2-musicbrainzngs: for "MusicBrainz Lookup" plugin' 'python-pyinotify: for "Automatic library update" plugin'
'python2-pyinotify: for "Automatic library update" plugin'
'kakasi: for "Kana/Kanji Simple Inverter" plugin' 'kakasi: for "Kana/Kanji Simple Inverter" plugin'
'gst-plugins-bad: for "Audio Pitch/Speed" plugin') 'gst-plugins-bad: for "Audio Pitch/Speed" plugin')
provides=('quodlibet-plugins' 'quodlibet') provides=('quodlibet')
conflicts=('quodlibet-plugins' 'quodlibet') conflicts=('quodlibet')
replaces=('quodlibet-plugins')
options=('!makeflags') options=('!makeflags')
source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git) source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git)
sha1sums=('SKIP') sha1sums=('SKIP')
@ -34,10 +31,10 @@ pkgver() {
build() { build() {
cd ${pkgname}/quodlibet cd ${pkgname}/quodlibet
python2 setup.py build python3 setup.py build
} }
package() { package() {
cd ${pkgname}/quodlibet cd ${pkgname}/quodlibet
python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1 python3 setup.py install --root="${pkgdir}" --skip-build --optimize=1
} }