Date: Fri, 3 Jun 2022 14:00:24 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 19f314f4000b - main - cad/py-pyfda: Fix build with setuptools 58.0.0+ Message-ID: <202206031400.253E0O6g098470@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=19f314f4000b00cb46e41193a3d6c9124a1908e6 commit 19f314f4000b00cb46e41193a3d6c9124a1908e6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 13:56:20 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 13:59:04 +0000 cad/py-pyfda: Fix build with setuptools 58.0.0+ With hat: python --- cad/py-pyfda/files/patch-2to3 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/cad/py-pyfda/files/patch-2to3 b/cad/py-pyfda/files/patch-2to3 new file mode 100644 index 000000000000..38375f8de949 --- /dev/null +++ b/cad/py-pyfda/files/patch-2to3 @@ -0,0 +1,32 @@ +Reference: https://docs.myhdl.org/en/stable/manual/reference.html#myhdl.ResetSignal + +--- pyfda/hdl_generation/filter_iir.py.orig 2017-01-10 06:40:25 UTC ++++ pyfda/hdl_generation/filter_iir.py +@@ -3,9 +3,6 @@ + # Copyright (c) 2011, 2015 Christopher L. Felton + # + +-from __future__ import absolute_import +-from __future__ import print_function +-from __future__ import division + + """ + IIR Hadward Filter Generation +@@ -243,7 +240,7 @@ class FilterIIR(object): + return iir + + clock = Signal(False) +- reset = ResetSignal(0, active=1, async=False) ++ reset = ResetSignal(0, active=1, isasync=False) + x = Signal(intbv(0, min=-imax, max=imax)) + y = Signal(intbv(0, min=-imax, max=imax)) + xdv, ydv = Signal(bool(0)), Signal(bool(0)) +@@ -268,7 +265,7 @@ class FilterIIR(object): + self.Nfft = Nfft + w = self.word_format[0] + clock = Signal(bool(0)) +- reset = ResetSignal(0, active=1, async=False) ++ reset = ResetSignal(0, active=1, isasync=False) + sigin = FilterInterface(word_format=self.word_format) + sigout = FilterInterface(word_format=self.word_format) + xf = Signal(0.0) # floating point version
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206031400.253E0O6g098470>