GNU bug report logs - #76746
[PATCH 00/13] Add spotify-downloader.

Previous Next

Package: guix-patches;

Reported by: 45mg <45mg.writes <at> gmail.com>

Date: Tue, 4 Mar 2025 19:11:01 UTC

Severity: normal

Tags: patch

Full log


Message #68 received at 76746 <at> debbugs.gnu.org (full text, mbox):

From: 45mg <45mg.writes <at> gmail.com>
To: 45mg <45mg.writes <at> gmail.com>,
	76746 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 07/13] gnu: Add python-pykakasi.
Date: Tue, 11 Mar 2025 19:53:26 +0530
* gnu/packages/python-xyz.scm (python-pykakasi): New variable.

Change-Id: I127cc34f58d4f8df737f878499c448d969c9a831
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4b35f11eec..de9b5c1a49 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34521,6 +34521,42 @@ (define-public python-jaconv
 Katakana, Hankaku (half-width character) and Zenkaku (full-width character)")
     (license license:expat)))
 
+(define-public python-pykakasi
+  (package
+    (name "python-pykakasi")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pykakasi" version))
+       (sha256
+        (base32 "18dhcw7myw5idajnfynjbvqxmyf9m0cygfwsavbbi7zmcf72l1gs"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags '(list "-k"
+                          (string-append
+                           ;; Disable benchmarks.
+                           "not test_benchmark"
+                           " and not pytest_benchmark_update_machine_info"
+                           " and not pytest_benchmark_update_json"
+                           ;; Fails with AssertionError
+                           " and not test_aozora"))))
+    (propagated-inputs (list python-jaconv python-deprecated))
+    (native-inputs (list python-py-cpuinfo
+                         python-pytest
+                         python-pytest-benchmark
+                         python-setuptools
+                         python-setuptools-scm
+                         python-wheel))
+    (home-page "https://codeberg.org/miurahr/pykakasi")
+    (synopsis "Convert Japanese Kana-kanji sentences into Kana-Roman")
+    (description
+     "This is a Python Natural Language Processing (NLP) library to
+transliterate hiragana, katakana and kanji (Japanese text) into
+rōmaji (Latin/Roman alphabet). It can handle characters in NFC form.")
+    (license license:gpl2)))
+
 (define-public python-flufl-lock
   (package
     (name "python-flufl-lock")
-- 
2.48.1





This bug report was last modified 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.