Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-21 Thread Richard Shaw
Ok, well the output works fine for armv7hf on F29 so I implemented the workaround (-DPYTHON_SUFFIX) there and then rebuilt shiboken to make python3 the default for F30+ and got all packages rebuilt. Thanks! Richard ___ devel mailing list --

Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Miro Hrončok
On 20. 05. 19 17:04, Richard Shaw wrote> > The weird part is that it's evaluating as blank on Fedora 29 and 30[2] and > working in Rawhide EXCEPT for armv7hl in which it's evaluating to[3]: > > -DPYTHON_SUFFIX=.cpython-37m-armv7hl-linux-gnu > > But the shiboken

Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Richard Shaw
On Mon, May 20, 2019 at 8:10 AM Peter Pentchev wrote: > On Mon, May 20, 2019 at 07:58:09AM -0500, Richard Shaw wrote: > > > > I cobbled this together for the spec file but it may need work: > > > > %define py_suffix %(%{__python3} -c 'import sysconfig; > > sysconfig.get_config_var("SOABI")') > >

Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Richard Shaw
On Mon, May 20, 2019 at 8:09 AM Miro Hrončok wrote: > On 20. 05. 19 14:58, Richard Shaw wrote: > > I'm trying to get FreeCAD back in shape on Fedora[1] and what I hope is > the last > > problem is that it's still building against the Python2 library (because > it's > > default). I can override

Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Peter Pentchev
On Mon, May 20, 2019 at 07:58:09AM -0500, Richard Shaw wrote: > I'm trying to get FreeCAD back in shape on Fedora[1] and what I hope is the > last problem is that it's still building against the Python2 library > (because it's default). I can override the behavior by specifying > "-DPYTHON_SUFFIX=

Re: How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Miro Hrončok
On 20. 05. 19 14:58, Richard Shaw wrote: I'm trying to get FreeCAD back in shape on Fedora[1] and what I hope is the last problem is that it's still building against the Python2 library (because it's default). I can override the behavior by specifying "-DPYTHON_SUFFIX=SOABI> but it's different

How to predict Python 3 SOABI naming scheme?!?

2019-05-20 Thread Richard Shaw
I'm trying to get FreeCAD back in shape on Fedora[1] and what I hope is the last problem is that it's still building against the Python2 library (because it's default). I can override the behavior by specifying "-DPYTHON_SUFFIX= but it's different for every arch... $ python3 Python 3.7.3