guix_mirror_bot pushed a commit to branch master
in repository guix.

commit defea25774499bdb9054fa9307251d36ff147070
Author: Spencer King <[email protected]>
AuthorDate: Fri Jul 10 00:37:39 2026 +0000

    gnu: python-icegrams: Move to (gnu packages language).
    
    Authors were parsed from git history with the following command:
    
        git log --all --grep="gnu:.*icegrams" \
        --pretty=format:";;; Copyright © %as %aN <%aE>"
    
    * gnu/packages/language.scm (python-icegrams): Move to here...
    * gnu/packages/python-xyz.scm (python-icegrams): ...from here.
      Define as a deprecated public alias.
    
    Merges: https://codeberg.org/guix/guix/pulls/9847
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/packages/language.scm   | 38 ++++++++++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm | 40 +++-------------------------------------
 2 files changed, 41 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 180ac97299..af08efb6e1 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -1209,6 +1209,44 @@ forms, and about 300,000 distinct lemmas.")
     (properties
      (alist-delete 'hidden? (package-properties python-islenska-bootstrap)))))
 
+(define-public python-icegrams
+  (package
+    (name "python-icegrams")
+    (version "1.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             ;; no tests in the PyPI archive
+             (url "https://github.com/mideind/Icegrams";)
+             (commit (string-append version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kzj3k1rl11l66l2xlqilx576hgknb5fd7im96mqjq34ykm70i6f"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      #~(list
+         ;; two tests fail because of a hardcoded file path in the package's 
source code
+         ;; this should be fixed upstream instead of with a substitution here
+         "-k"
+         (string-append "not test_trigrams" " and not test_word_ids")
+         "test/test_ngrams.py")))
+    (propagated-inputs (list python-cffi))
+    (native-inputs (list python-pytest python-setuptools
+                         python-setuptools-scm python-wheel))
+    (home-page "https://github.com/mideind/Icegrams";)
+    (synopsis "Trigram statistics for Icelandic")
+    (description
+     "Icegrams is a Python package that encapsulates a large trigram
+library for Icelandic.  You can use Icegrams to obtain probabilities (relative
+frequencies) of over a million different unigrams (single words or tokens), or 
of
+bigrams (pairs of two words or tokens), or of trigrams.  Icegrams is useful for
+instance in spelling correction, predictive typing, to help disabled people
+write text fast, and for various text generation, statistics, and modeling 
tasks.")
+    (license license:expat)))
+
 (define-public python-sacremoses
   (package
     (name "python-sacremoses")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26634ffb88..3eca32d29b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36841,43 +36841,9 @@ markdown-compliant strings.")
 with one function call.  IceCream makes print debugging a little sweeter.")
     (license license:expat)))
 
-(define-public python-icegrams
-  (package
-    (name "python-icegrams")
-    (version "1.1.6")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             ;; no tests in the PyPI archive
-             (url "https://github.com/mideind/Icegrams";)
-             (commit (string-append version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0kzj3k1rl11l66l2xlqilx576hgknb5fd7im96mqjq34ykm70i6f"))))
-    (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags
-      #~(list
-         ;; two tests fail because of a hardcoded file path in the package's 
source code
-         ;; this should be fixed upstream instead of with a substitution here
-         "-k"
-         (string-append "not test_trigrams" " and not test_word_ids")
-         "test/test_ngrams.py")))
-    (propagated-inputs (list python-cffi))
-    (native-inputs (list python-pytest python-setuptools
-                         python-setuptools-scm python-wheel))
-    (home-page "https://github.com/mideind/Icegrams";)
-    (synopsis "Trigram statistics for Icelandic")
-    (description
-     "Icegrams is a Python package that encapsulates a large trigram
-library for Icelandic.  You can use Icegrams to obtain probabilities (relative
-frequencies) of over a million different unigrams (single words or tokens), or 
of
-bigrams (pairs of two words or tokens), or of trigrams.  Icegrams is useful for
-instance in spelling correction, predictive typing, to help disabled people
-write text fast, and for various text generation, statistics, and modeling 
tasks.")
-    (license license:expat)))
+;; XXX: Deprecated on <2026-07-12>.
+(define-deprecated/public-alias python-icegrams
+  (@ (gnu packages language) python-icegrams))
 
 (define-public python-sbsv
   (package

Reply via email to