9c9513e5a6
Has been unneeded since Python 3.4, and Arch Linux has Python 3.6 as the default Python now.
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Maintainer: Adrian Sampson <adrian@radbox.org>
|
|
# Contributor: Johannes Löthberg <demizide@gmail.com>
|
|
|
|
pkgname=beets-python3-git
|
|
pkgver=1.3.11.r31.ga0ff517
|
|
pkgrel=1
|
|
pkgdesc="Flexible music library manager and tagger - git version"
|
|
arch=('any')
|
|
url="http://beets.io/"
|
|
license=('MIT')
|
|
depends=('python-munkres' 'mutagen'
|
|
'python-setuptools' 'python-unidecode'
|
|
'python-musicbrainzngs' 'python-yaml'
|
|
'python-jellyfish' 'python-six')
|
|
makedepends=('git')
|
|
optdepends=('python-pyacoustid: acoustic fingerprinting'
|
|
'python-flask: web interface'
|
|
'python-gobject: BPD audio player plugin'
|
|
'python-pylast: lastgenre plugin')
|
|
provides=('beets' 'beets-git')
|
|
conflicts=('beets' 'beets-git')
|
|
source=('git://github.com/beetbox/beets.git')
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd ${srcdir}/beets
|
|
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/beets
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/beets
|
|
python setup.py install --root=${pkgdir} --optimize=1
|
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|