guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 464d22248538c4a00e912073a0c013396125603f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 14 13:25:44 2025 +0000

    gnu: Add python-lenstronomy-minimal.
    
    * gnu/packages/astronomy.scm (python-lenstronomy-minimal): New variable.
    
    Change-Id: I708d43df351d29602c383ddf341aeb7024cfa8dc
---
 gnu/packages/astronomy.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 745a45565b..c3f13ccebf 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5705,6 +5705,16 @@ lensing substructure to infer dark matter properties, 
morphological
 quantification of galaxies, quasar-host galaxy decomposition and much more.")
     (license license:bsd-3)))
 
+;; A bare minimal package, mainly to use in tests and reduce closure
+;; size. Tests are left out in the main package to slim down native-inputs.
+(define-public python-lenstronomy-minimal
+  (package/inherit python-lenstronomy
+    (name "python-lenstronomy-minimal")
+    (arguments
+     (list #:tests? #f))
+    (native-inputs
+     (list python-setuptools))))
+
 (define-public python-libstempo
   (package
     (name "python-libstempo")

Reply via email to