[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration

2023-09-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

Li-Wen Hsu  changed:

   What|Removed |Added

   Assignee|python@FreeBSD.org  |lw...@freebsd.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration

2023-09-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

--- Comment #20 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=aa9736e3e5f6856f5eb5e26837169b0f6022eec8

commit aa9736e3e5f6856f5eb5e26837169b0f6022eec8
Author: John Hein 
AuthorDate: 2023-09-04 16:23:06 +
Commit: Li-Wen Hsu 
CommitDate: 2023-09-04 17:21:35 +

python.mk: Improve CMake/Python integration

Suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules by
adding Python{,2,3}_EXECUTABLE to CMAKE_ARGS in python.mk.

CMake supports more than one way to search for python.  Currently
python.mk passes -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} to help
FindPython{Interp,Libs}.cmake modules "find" the version of python that
a port build wants to use.

The FindPython{,2,3}.cmake modules don't know anything about
Python_ADDITIONAL_VERSIONS but use Python{,2,3}_EXECUTABLE as the hint.

PR: 262109

 Mk/Uses/python.mk | 2 ++
 1 file changed, 2 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration

2023-09-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

Li-Wen Hsu  changed:

   What|Removed |Added

 Status|Open|In Progress

--- Comment #21 from Li-Wen Hsu  ---
The command:

$ rg -l 'Python[23]?_EXECUTABLE'

Now returns 65 ports. A cleanup is wanted and help is needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration

2023-09-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

Li-Wen Hsu  changed:

   What|Removed |Added

 CC|ports-b...@freebsd.org  |

--- Comment #22 from Li-Wen Hsu  ---
No need to buzz ports-bugs@

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration

2023-09-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109

--- Comment #23 from Li-Wen Hsu  ---
(In reply to Li-Wen Hsu from comment #21)
The list:

cad/antimony
cad/surelog
cad/uhdm
databases/arrow
devel/catch2
devel/gdcm
devel/llvm11
devel/llvm12
devel/llvm13
devel/llvm14
devel/llvm15
devel/llvm16
devel/llvm17
devel/nanopb
graphics/filament
graphics/glaxnimate
graphics/krita
graphics/openexr
graphics/openshadinglanguage
graphics/py-s2
graphics/qgis
graphics/qgis-ltr
math/clingo
math/cvc5
math/dbcsr
math/py-ambit
math/py-dionysus
math/py-faiss
math/py-heyoka
math/py-or-tools
math/vtk9
misc/astc-encoder
misc/py-openvdb
multimedia/obs-studio
multimedia/onevpl
net/libcharon
science/agrum
science/arbor
science/chemicalfun
science/dakota
science/elmerfem
science/gromacs
science/InsightToolkit
science/lammps
science/libint2-psi4
science/liggghts
science/mopac
science/mrchem
science/openmodelica
science/psi4
science/py-arbor
science/py-gemmi
science/py-HepMC3
science/py-mrchem
science/py-pygmo2
science/salome-kernel
science/scidavis
science/siconos
science/smoldyn
science/ttk
science/votca
security/ca_root_nss
sysutils/bareos20-server
x11-themes/kf5-breeze-icons
x11-themes/plasma5-breeze-gtk

-- 
You are receiving this mail because:
You are on the CC list for the bug.