python3-pytaglib: rebuild for Python 3.10

This commit is contained in:
Andrew J. Hesford 2021-09-24 23:17:39 -04:00
parent f328541978
commit 94814d986a

View file

@ -1,10 +1,10 @@
# Template file for 'python3-pytaglib'
pkgname=python3-pytaglib
version=1.4.6
revision=1
revision=2
wrksrc="pytaglib-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
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>"
@ -12,3 +12,9 @@ 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
}