tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

python as a tool ?



Hello again,
I'm working on a package which stops with:
-- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) 
-- Packing libraries before installation
CMake Error at CMakeLists.txt:60 (message):
  Python3 not found.  Cannot pack symbol libraries.
Call Stack (most recent call first):
  CMakeLists.txt:128 (pack_all_libraries)

It actually wants to run a python script in the build phase.
AFAIK it doens't need it as a runtime dependancy.

We can do e.g.
USE_TOOLS+= perl:build

but it seems USE_TOOLS doens't supports python.

What would be the best way to handle this ?
In this specific case, a runtime dependancy on python isn't that bad as
this package (kicad-symbols) is useless without kicad, which has a runtime
dependancy on python.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index