void-packages/srcpkgs/python3-pyacoustid/template

20 lines
639 B
Bash

# Template file for 'python3-pyacoustid'
pkgname=python3-pyacoustid
version=1.1.5
revision=4
wrksrc="pyacoustid-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="chromaprint python3-audioread python3-requests"
short_desc="Python3 bindings for Chromaprint and the Acoustid API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/sampsyo/pyacoustid"
distfiles="${PYPI_SITE}/p/pyacoustid/pyacoustid-${version}.tar.gz"
checksum=efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777
post_install() {
sed -n '0,/^$/p' acoustid.py > LICENSE
vlicense LICENSE
}