commit: 951f7e51c6379658a8f9d2624d4157ed6eb6587c
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Oct 29 19:57:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 20:24:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=951f7e51
media-gfx/freecad: Material uses dev-python/pyyaml
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 | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
index b94d9c8b5c8d..b65f1949b68d 100644
--- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
+++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
@@ -70,6 +70,11 @@ RDEPEND="
media-libs/freetype
sci-libs/opencascade:=[json]
sys-libs/zlib
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ')
cloud? (
dev-libs/openssl:=
net-misc/curl
@@ -121,23 +126,15 @@ RDEPEND="
>=sci-libs/med-4.0.0-r1
sci-libs/vtk:=
)
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- ')
"
DEPEND="${RDEPEND}
>=dev-cpp/eigen-3.3.1:3
dev-cpp/ms-gsl
- test? (
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
- qt5? ( dev-qt/qttest:5 )
- )
+ test? ( qt5? ( dev-qt/qttest:5 ) )
"
BDEPEND="
dev-lang/swig
test? (
- $(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
qt5? ( dev-qt/qttest:5 )
dev-cpp/gtest
)
@@ -345,7 +342,6 @@ pkg_postinst() {
optfeature "Dependency graphs" media-gfx/graphviz
optfeature_header "Import / Export"
optfeature "Work with COLLADA documents" dev-python/pycollada
- optfeature "YAML importer and emitter" dev-python/pyyaml
optfeature "Importing and exporting 2D AutoCAD DWG files"
media-gfx/libredwg
optfeature "Importing and exporting geospatial data formats"
sci-libs/gdal
optfeature "Working with projection data" sci-libs/proj