commit: 045fb68f62b66b2d85d685eeaa49d2903621817a
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 4 21:20:25 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 04:07:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045fb68f
sci-chemistry/pymol: drop a bunch of dependencies to runtime-only
They aren't needed to run setup.py (whether via gpep517 or otherwise).
They are only used by the runtime code. The distinction between
dependency types is sometimes seen as a bit academic, but it matters for
--buildpkgonly. This is especially useful as one of the runtime-only
dependencies will, in turn, depend on python[tk], and moving it out of
DEPEND means the package can be test-compiled with --buildpkgonly,
without rebuilding and reinstalling python.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
sci-chemistry/pymol/pymol-3.0.0.ebuild | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/sci-chemistry/pymol/pymol-3.0.0.ebuild
b/sci-chemistry/pymol/pymol-3.0.0.ebuild
index 150f7732d930..f589a6cd9584 100644
--- a/sci-chemistry/pymol/pymol-3.0.0.ebuild
+++ b/sci-chemistry/pymol/pymol-3.0.0.ebuild
@@ -26,19 +26,20 @@ IUSE="+netcdf web"
DEPEND="
dev-cpp/msgpack-cxx
dev-libs/mmtf-cpp
- dev-python/pyopengl[${PYTHON_USEDEP}]
- dev-python/PyQt5[opengl,${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pmw[${PYTHON_USEDEP}]
+ sys-libs/zlib
media-libs/freetype:2
media-libs/glew:0=
media-libs/glm
media-libs/libpng:0=
- media-video/mpeg-tools
- sys-libs/zlib
netcdf? ( sci-libs/netcdf:0= )
"
-RDEPEND="${DEPEND}
+RDEPEND="
+ ${DEPEND}
+ media-video/mpeg-tools
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+ dev-python/PyQt5[opengl,${PYTHON_USEDEP}]
+ dev-python/pmw[${PYTHON_USEDEP}]
sci-chemistry/chemical-mime-data
"