21 lines
693 B
Bash
21 lines
693 B
Bash
# Template file for 'python3-pytaglib'
|
|
pkgname=python3-pytaglib
|
|
version=1.4.6
|
|
revision=2
|
|
wrksrc="pytaglib-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-Cython"
|
|
makedepends="python3-devel taglib-devel"
|
|
short_desc="Python bindings for the TagLib C++ library"
|
|
maintainer="Stefano Ragni <st3r4g@protonmail.com>"
|
|
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
|
|
}
|