From 94814d986ae9a02c0addea3547e43443066ed158 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 24 Sep 2021 23:17:39 -0400 Subject: [PATCH] python3-pytaglib: rebuild for Python 3.10 --- srcpkgs/python3-pytaglib/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-pytaglib/template b/srcpkgs/python3-pytaglib/template index 98121d054b9..b398e0218f1 100644 --- a/srcpkgs/python3-pytaglib/template +++ b/srcpkgs/python3-pytaglib/template @@ -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 " @@ -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 +}