commit:     330a3dc99a97ea3866e2f13cd70ac157a77d636b
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Oct 29 19:57:31 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 20:24:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330a3dc9

media-gfx/freecad: Move REQUIRED_USE

Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/freecad/freecad-1.0.0-r1.ebuild | 48 +++++++++++++++----------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild 
b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
index dbe590bf1c4b..ee1a19f95dda 100644
--- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
+++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
@@ -41,6 +41,30 @@ for module in ${FREECAD_EXPERIMENTAL_MODULES}; do
 done
 unset module
 
+# To get required dependencies:
+# 'grep REQUIRES_MODS cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake'
+# We set the following requirements by default:
+# arch, draft, drawing, import, mesh, part, qt6, sketcher, spreadsheet, start, 
web.
+#
+# Additionally, we auto-enable mesh_part, flat_mesh and smesh
+# Fem actually needs smesh, but as long as we don't have a smesh package, we 
enable
+# smesh through the mesh USE flag. Note however, the fem<-smesh dependency 
isn't
+# reflected by the REQUIRES_MODS macro, but at
+# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:187.
+#
+# The increase in auto-enabled workbenches is due to their need in parts of the
+# test suite when compiled with a minimal set of USE flags.
+REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
+       designer? ( gui )
+       fem? ( smesh )
+       inspection? ( points )
+       openscad? ( smesh )
+       path? ( robot )
+       python_single_target_python3_12? ( gui? ( !qt5 ) )
+"
+# There is no py3.12 support planned for pyside2
+
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -138,30 +162,6 @@ BDEPEND="
        )
 "
 
-# To get required dependencies:
-# 'grep REQUIRES_MODS cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake'
-# We set the following requirements by default:
-# arch, draft, drawing, import, mesh, part, qt5, sketcher, spreadsheet, start, 
web.
-#
-# Additionally, we auto-enable mesh_part, flat_mesh and smesh
-# Fem actually needs smesh, but as long as we don't have a smesh package, we 
enable
-# smesh through the mesh USE flag. Note however, the fem<-smesh dependency 
isn't
-# reflected by the REQUIRES_MODS macro, but at
-# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:187.
-#
-# The increase in auto-enabled workbenches is due to their need in parts of the
-# test suite when compiled with a minimal set of USE flags.
-REQUIRED_USE="
-       ${PYTHON_REQUIRED_USE}
-       designer? ( gui )
-       fem? ( smesh )
-       inspection? ( points )
-       openscad? ( smesh )
-       path? ( robot )
-       python_single_target_python3_12? ( gui? ( !qt5 ) )
-"
-# There is no py3.12 support planned for pyside2
-
 PATCHES=(
        "${FILESDIR}"/${PN}-1.0.0-r1-Gentoo-specific-don-t-check-vcs.patch
        
"${FILESDIR}"/${PN}-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch

Reply via email to