aboutsummaryrefslogblamecommitdiffstats
path: root/community/beets/APKBUILD
blob: ea30992053f8b8a9305f77bb223ecc4a745ae75b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                                           
                                                   
             
            
        
                                                      
                                                   
                      

             

                          
                                                                         
                                                      
                                                                                              

                                                                        
 
         

                                                                


           
                                                               





                                                                        

 
                                                                                                                                                                

                                                                                                                                                                                                  
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=beets
pkgver=1.4.9
pkgrel=4
pkgdesc="Music library manager and MusicBrainz tagger"
options="!check" # Requires unpackaged dependencies
url="https://beets.io"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
makedepends="py3-sphinx"
depends="python3 py3-mutagen py3-unidecode py3-musicbrainzngs py3-munkres
	py3-setuptools py3-yaml py3-jellyfish py3-six"
source="https://github.com/sampsyo/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
	0001-Try-to-work-around-a-Werkzeug-change.patch
	0001-compatibility-with-breaking-changes-to-the-ast-modul.patch"

build() {
	# sdist := source distribution tarball, builds man pages
	python3 setup.py build sdist
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	local man
	for man in man/*.?; do
		install -Dm644 "$man" \
			"$pkgdir"/usr/share/man/man${man##*.}/${man##*/}
	done
}

sha512sums="616bad4ca3ecdd05d2f59846fd67215f476ce89cc34d63bc6351efcbaf1e33e5ca783cb8a716e8597b56a7e08e6a6dc15e64b51e89dd786bfb6c5d847f66de5a  beets-1.4.9.tar.gz
7f2669345ef89a4f2cd8688f9e3a11d208ebebf2f44e684bf29f1f1f5102d08bdd8707e6df46a311843a86c5aa074b769420f07af7460e69bcb2d149bde933a7  0001-Try-to-work-around-a-Werkzeug-change.patch
3fae29258adce039748dd87c66773cc1ec240b5bc32c7268de379d1c58b833b134fc159aa4de38382d3ab0a77d08bb237c976b273e6a1f6523c13cfc1ec9ad89  0001-compatibility-with-breaking-changes-to-the-ast-modul.patch"