void-packages/srcpkgs/python3-pytaglib/template

21 lines
676 B
Bash

# Template file for 'python3-pytaglib'
pkgname=python3-pytaglib
version=1.4.6
revision=5
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel taglib-devel"
depends="python3"
short_desc="Python bindings for the TagLib C++ library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/supermihi/pytaglib"
distfiles="https://github.com/supermihi/pytaglib/archive/v${version}.tar.gz"
checksum=360b12d5b4c948cebf75acf86fac6b33a3f044eab6fcfe8949a1cd0f9c22bd25
post_extract() {
# Make sure Cython generates an up-to-date source file
rm src/taglib.cpp
cythonize src/taglib.pyx
}