[Bug 294632] [New Port] devel/py-cmake: a python module for cmake

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Apr 2026 10:49:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294632

            Bug ID: 294632
           Summary: [New Port] devel/py-cmake: a python module for cmake
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/scikit-build/cmake-python-distribut
                    ions/tree/3.31.10
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: hiroo.ono+freebsd@gmail.com

Created attachment 269915
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269915&action=edit
devel/py-cmake: new port patch

py-cmake is a python module to cmake.
It is needed by science/py-tweedledum update regarding the bug 270358 (to be
submitted later).
The original builds cmake, place it under
lib/python3.X/site-packages/cmake/data,
wrap it into a python module and then place ccmake/cmake/cpack/ctest command
as a python script to bin/, which is not compatible with devel/cmake-core.
So, to make it compatible with devel/cmake-core, I changed as the following:

* copy cmake-core under lib/python3.x/site-packages/cmake/data
* So the version is same as devel/cmake-core (_CMAKE_VERSION)
* build and install python module
* do not install the bin/{ccmake, cmake, cpack, ctest} python script

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