python3-pyFFTW: rebuild for Python 3.12
This commit is contained in:
parent
970e18622a
commit
77bc37f751
14
srcpkgs/python3-pyFFTW/patches/py312.patch
Normal file
14
srcpkgs/python3-pyFFTW/patches/py312.patch
Normal 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):
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user