summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-04 17:20:25 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-05 00:07:44 -0400
commit045fb68f62b66b2d85d685eeaa49d2903621817a (patch)
treedaf138ab5fc0fbc5dec4ac12f51f0bdd3adfe127
parentdev-lang/gprolog: mark as LTO-unsafe (diff)
downloadgentoo-045fb68f62b66b2d85d685eeaa49d2903621817a.tar.gz
gentoo-045fb68f62b66b2d85d685eeaa49d2903621817a.tar.bz2
gentoo-045fb68f62b66b2d85d685eeaa49d2903621817a.zip
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@gentoo.org>
-rw-r--r--sci-chemistry/pymol/pymol-3.0.0.ebuild13
1 files 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
"