python3-pyFFTW: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:03:10 -04:00
parent 970e18622a
commit 77bc37f751
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
--- a/versioneer.py
+++ b/versioneer.py
@@ -339,9 +339,9 @@
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
# the top of versioneer.py for instructions on writing your setup.cfg .
setup_cfg = os.path.join(root, "setup.cfg")
- parser = configparser.SafeConfigParser()
+ parser = configparser.ConfigParser()
with open(setup_cfg, "r") as f:
- parser.readfp(f)
+ parser.read_file(f)
VCS = parser.get("versioneer", "VCS") # mandatory
def get(parser, name):

View File

@ -1,7 +1,7 @@
# Template file for 'python3-pyFFTW'
pkgname=python3-pyFFTW
version=0.13.1
revision=1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython0.29 python3-numpy"
makedepends="fftw-devel python3-devel"
@ -12,7 +12,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://github.com/pyFFTW/pyFFTW"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=2407efb787c06504f764e22364be015961d7161b9cda25ba261d5c425e956089
checksum=ffc1b3e7f4f74ee38716d668d7606b5fbfded58343655c160c3644fc4acf5d55
pre_check() {
cp build/lib*/pyfftw/pyfftw.*.so pyfftw