sharlatan pushed a commit to branch master
in repository guix.

commit 32d17c83e087d75726a40c1f09e8c7bb081cefa3
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu May 8 10:01:19 2025 +0100

    gnu: python-adjusttext: Move to python-science.
    
    * gnu/packages/python-xyz.scm (python-adjusttext): Move from here ...
    * gnu/packages/python-science.scm: ... to here.
    
    Change-Id: If8c5fa89736dbf8ae29169fb317d43d2c2fbd682
---
 gnu/packages/python-science.scm | 31 +++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm     | 25 -------------------------
 2 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 98ec6834de..c7ae7d14a1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -180,6 +180,37 @@ scientific codes by steering the implementation towards 
usability and
 maintainability.")
     (license license:bsd-3)))
 
+(define-public python-adjusttext
+  (package
+    (name "python-adjusttext")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "adjusttext" version))
+       (sha256
+        (base32 "18dw5kqxan4m8kvw3w1lm0p69gj95i7rcgmcfs485x1s8pa5rdsa"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #false)) ;there are none
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-matplotlib
+           python-numpy
+           python-scipy))
+    (home-page "https://github.com/Phlya/adjustText";)
+    (synopsis "Adjust text position in matplotlib plots to minimize overlaps")
+    (description
+     "Often when we want to label multiple points on a graph the text will
+start heavily overlapping with both other labels and data points.  This can be
+a major problem requiring manual solution.  However this can be largely
+automated by smart placing of the labels (difficult) or iterative adjustment
+of their positions to minimize overlaps (relatively easy).  This library
+implements the latter option to help with matplotlib graphs.")
+    (license license:expat)))
+
 (define-public python-algopy
   (package
     (name "python-algopy")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dfae2d6d03..7c47fdc8a5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1699,31 +1699,6 @@ Python dictionaries and provides a syntax to access 
nested dictionaries values
 using a dot syntax, for example: @code{dictionary['deeply.nested.key']}.")
     (license license:expat)))
 
-(define-public python-adjusttext
-  (package
-    (name "python-adjusttext")
-    (version "1.3.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "adjusttext" version))
-              (sha256
-               (base32
-                "18dw5kqxan4m8kvw3w1lm0p69gj95i7rcgmcfs485x1s8pa5rdsa"))))
-    (build-system pyproject-build-system)
-    (arguments (list #:tests? #false)) ;there are none
-    (propagated-inputs (list python-matplotlib python-numpy python-scipy))
-    (native-inputs (list python-setuptools python-wheel))
-    (home-page "https://github.com/Phlya/adjustText";)
-    (synopsis "Adjust text position in matplotlib plots to minimize overlaps")
-    (description
-     "Often when we want to label multiple points on a graph the text will
-start heavily overlapping with both other labels and data points.  This can be
-a major problem requiring manual solution.  However this can be largely
-automated by smart placing of the labels (difficult) or iterative adjustment
-of their positions to minimize overlaps (relatively easy).  This library
-implements the latter option to help with matplotlib graphs.")
-    (license license:expat)))
-
 (define-public python-affine
   (package
     (name "python-affine")

Reply via email to