Use Python 3 for beets-git.

This commit is contained in:
Frederik “Freso” S. Olesen 2016-08-17 10:43:29 +02:00
parent 558216bf29
commit 4d273ea38d
No known key found for this signature in database
GPG Key ID: 27628EAF5DC1403E
2 changed files with 29 additions and 25 deletions

View File

@ -1,3 +1,5 @@
# Generated by mksrcinfo v8
# Sun Aug 28 21:35:17 UTC 2016
pkgbase = beets-git pkgbase = beets-git
pkgdesc = Flexible music library manager and tagger - git version pkgdesc = Flexible music library manager and tagger - git version
pkgver = 1.3.11.r31.ga0ff517 pkgver = 1.3.11.r31.ga0ff517
@ -6,21 +8,23 @@ pkgbase = beets-git
arch = any arch = any
license = MIT license = MIT
makedepends = git makedepends = git
depends = python2-munkres depends = python-munkres
depends = mutagen depends = mutagen
depends = python2-setuptools depends = python-setuptools
depends = python2-unidecode depends = python-unidecode
depends = python2-musicbrainzngs depends = python-musicbrainzngs
depends = python2-yaml depends = python-yaml
depends = python2-enum34 depends = python-enum34
depends = python2-jellyfish depends = python-jellyfish
depends = python2-six depends = python-six
optdepends = python2-pyacoustid: acoustic fingerprinting optdepends = python-pyacoustid: acoustic fingerprinting
optdepends = python2-flask: web interface optdepends = python-flask: web interface
optdepends = python2-gobject: BPD audio player plugin optdepends = python-gobject: BPD audio player plugin
optdepends = python2-pylast: lastgenre plugin optdepends = python-pylast: lastgenre plugin
provides = beets provides = beets
provides = beets-git
conflicts = beets conflicts = beets
conflicts = beets-git
source = git://github.com/beetbox/beets.git source = git://github.com/beetbox/beets.git
md5sums = SKIP md5sums = SKIP

View File

@ -8,18 +8,18 @@ pkgdesc="Flexible music library manager and tagger - git version"
arch=('any') arch=('any')
url="http://beets.io/" url="http://beets.io/"
license=('MIT') license=('MIT')
depends=('python2-munkres' 'mutagen' depends=('python-munkres' 'mutagen'
'python2-setuptools' 'python2-unidecode' 'python-setuptools' 'python-unidecode'
'python2-musicbrainzngs' 'python2-yaml' 'python-musicbrainzngs' 'python-yaml'
'python2-enum34' 'python2-jellyfish' 'python-enum34' 'python-jellyfish'
'python2-six') 'python-six')
makedepends=('git') makedepends=('git')
optdepends=('python2-pyacoustid: acoustic fingerprinting' optdepends=('python-pyacoustid: acoustic fingerprinting'
'python2-flask: web interface' 'python-flask: web interface'
'python2-gobject: BPD audio player plugin' 'python-gobject: BPD audio player plugin'
'python2-pylast: lastgenre plugin') 'python-pylast: lastgenre plugin')
provides=('beets') provides=('beets' 'beets-git')
conflicts=('beets') conflicts=('beets' 'beets-git')
source=('git://github.com/beetbox/beets.git') source=('git://github.com/beetbox/beets.git')
md5sums=('SKIP') md5sums=('SKIP')
@ -30,12 +30,12 @@ pkgver() {
build() { build() {
cd ${srcdir}/beets cd ${srcdir}/beets
python2 setup.py build python setup.py build
} }
package() { package() {
cd ${srcdir}/beets cd ${srcdir}/beets
python2 setup.py install --root=${pkgdir} --optimize=1 python setup.py install --root=${pkgdir} --optimize=1
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} }