guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 848519ed83a65d8405c78bc99157bcd02207b7a6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Sep 15 22:45:35 2025 +0100

    gnu: Remove python-editdistance.
    
     This project was archived by the owner on Jun 30, 2025. It has no users
     in Guix.
    
    * gnu/packages/textutils.scm (python-editdistance): Delete variable.
    
    Change-Id: Ic8930d36449499874837f106ec1e6404ef349218
---
 gnu/packages/textutils.scm | 37 -------------------------------------
 1 file changed, 37 deletions(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index ac46059219..0860d987d6 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1058,43 +1058,6 @@ Eclipse and NetBeans.  Completion information is 
typically specified in an XML
 file, but can even be dynamic.")
     (license license:bsd-3)))
 
-;; We use the sources from git instead of the tarball from pypi, because the
-;; latter does not include the Cython source file from which bycython.cpp is
-;; generated.
-(define-public python-editdistance
-  (let ((commit "3ea84a7dd3258c76aa3be851ef3d50e59c886846")
-        (revision "1"))
-    (package
-      (name "python-editdistance")
-      (version (string-append "0.3.1-" revision "." (string-take commit 7)))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/aflc/editdistance";)
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "1l43svsv12crvzphrgi6x435z6xg8m086c64armp8wzb4l8ccm7g"))))
-      (build-system python-build-system)
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'build-cython-code
-             (lambda _
-               (with-directory-excursion "editdistance"
-                 (delete-file "bycython.cpp")
-                 (invoke "cython" "--cplus" "bycython.pyx")))))))
-      (native-inputs
-       (list python-cython))
-      (home-page "https://www.github.com/aflc/editdistance";)
-      (synopsis "Fast implementation of the edit distance (Levenshtein 
distance)")
-      (description
-       "This library simply implements Levenshtein distance algorithm with C++
-and Cython.")
-      (license license:expat))))
-
 (define-public txt2tags
   (package
     (name "txt2tags")

Reply via email to