summaryrefslogtreecommitdiff
path: root/gnu/packages/textutils.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-15 22:45:35 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:30 +0100
commit52b4aac17763ada8e8d705d8fb795ecd34b0c976 (patch)
tree89eec366efe474e20f57cf76d59acf210c8b5263 /gnu/packages/textutils.scm
parentc486a1d3f6b23a9d5f72dfb49bdecc1db5f8df79 (diff)
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
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r--gnu/packages/textutils.scm37
1 files changed, 0 insertions, 37 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cb983fef43e..fdfd8ea6050 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
1058file, but can even be dynamic.") 1058file, but can even be dynamic.")
1059 (license license:bsd-3))) 1059 (license license:bsd-3)))
1060 1060
1061;; We use the sources from git instead of the tarball from pypi, because the
1062;; latter does not include the Cython source file from which bycython.cpp is
1063;; generated.
1064(define-public python-editdistance
1065 (let ((commit "3ea84a7dd3258c76aa3be851ef3d50e59c886846")
1066 (revision "1"))
1067 (package
1068 (name "python-editdistance")
1069 (version (string-append "0.3.1-" revision "." (string-take commit 7)))
1070 (source
1071 (origin
1072 (method git-fetch)
1073 (uri (git-reference
1074 (url "https://github.com/aflc/editdistance")
1075 (commit commit)))
1076 (file-name (git-file-name name version))
1077 (sha256
1078 (base32
1079 "1l43svsv12crvzphrgi6x435z6xg8m086c64armp8wzb4l8ccm7g"))))
1080 (build-system python-build-system)
1081 (arguments
1082 `(#:phases
1083 (modify-phases %standard-phases
1084 (add-after 'unpack 'build-cython-code
1085 (lambda _
1086 (with-directory-excursion "editdistance"
1087 (delete-file "bycython.cpp")
1088 (invoke "cython" "--cplus" "bycython.pyx")))))))
1089 (native-inputs
1090 (list python-cython))
1091 (home-page "https://www.github.com/aflc/editdistance")
1092 (synopsis "Fast implementation of the edit distance (Levenshtein distance)")
1093 (description
1094 "This library simply implements Levenshtein distance algorithm with C++
1095and Cython.")
1096 (license license:expat))))
1097
1098(define-public txt2tags 1061(define-public txt2tags
1099 (package 1062 (package
1100 (name "txt2tags") 1063 (name "txt2tags")