GNU bug report logs - #78138
[PATCH] gnu: Add python-scspell3k.

Previous Next

Package: guix-patches;

Reported by: Matthew Elwin <elwin <at> northwestern.edu>

Date: Tue, 29 Apr 2025 14:29:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

To reply to this bug, email your comments to 78138 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78138; Package guix-patches. (Tue, 29 Apr 2025 14:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Elwin <elwin <at> northwestern.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 29 Apr 2025 14:29:01 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: guix-patches <at> gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-scspell3k.
Date: Tue, 29 Apr 2025 09:27:36 -0500
* gnu/packages/python-xyz.scm (python-scspell3k): New variable.

Change-Id: If16df188d7d17e892cfa434d8c3e8dbe7135e271
---
 .../python-scspell3k-pyproject-license.patch  | 16 +++++++++++++
 gnu/packages/python-xyz.scm                   | 24 +++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 gnu/packages/patches/python-scspell3k-pyproject-license.patch

diff --git a/gnu/packages/patches/python-scspell3k-pyproject-license.patch b/gnu/packages/patches/python-scspell3k-pyproject-license.patch
new file mode 100644
index 0000000000..5bdccdcf02
--- /dev/null
+++ b/gnu/packages/patches/python-scspell3k-pyproject-license.patch
@@ -0,0 +1,16 @@
+diff -urN scspell3k-2.3.0/pyproject.toml scspell3k-2.3.0-patched/pyproject.toml
+--- scspell3k-2.3.0/pyproject.toml	2025-04-06 12:29:17.000000000 -0500
++++ scspell3k-2.3.0-patched/pyproject.toml	2025-04-29 09:10:39.804229321 -0500
+@@ -9,9 +9,11 @@
+ description = "A conservative interactive spell checker for source code."
+ 
+ version = "2.3.0"
+-license = "GPL-2.0-only"
+ readme  = "README.rst"
+ 
++[project.license]
++text = "GPL-2.0-only"
++
+ classifiers = [
+     'Development Status :: 4 - Beta',
+     'Environment :: Console',
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 23563e57ce..7a72d3ff31 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -163,6 +163,7 @@
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
 ;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
 ;;; Copyright © 2025, Cayetano Santos <csantosb <at> inventati.org>
+;;; Copyright © 2025, Matthew Elwin <elwin <at> northwestern.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -816,6 +817,29 @@ (define-public python-pyxdameraulevenshtein
 edit distance algorithm for Python in Cython for high performance.")
     (license license:bsd-3)))
 
+(define-public python-scspell3k
+  (package
+    (name "python-scspell3k")
+    (version "2.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "scspell3k" version))
+       (sha256
+        (base32 "012xhmz3an7b2s9kwkdsxlnwiqjj64sy5kxp5kffa3gzjcai7qgv"))
+       (patches (search-patches "python-scspell3k-pyproject-license.patch"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:tests? #f))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://pypi.org/project/scspell3k/")
+    (synopsis "Conservative interactive spell checker for source code")
+    (description
+     "A spell checker for source code that does not try to be particularly smart
+and instead does the simplest thign that can possibly work.")
+    (license license:gpl2)))
+
 (define-public python-shxparser
   (package
     (name "python-shxparser")

base-commit: fbf766295710078b5cd2e8810459908d9f777442
-- 
2.43.0





Information forwarded to guix-patches <at> gnu.org:
bug#78138; Package guix-patches. (Tue, 29 Apr 2025 18:01:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 78138 <at> debbugs.gnu.org
Cc: elwin <at> northwestern.edu
Subject: [PATCH] gnu: Add python-scspell3k.
Date: Tue, 29 Apr 2025 19:00:39 +0100
[Message part 1 (text/plain, inline)]
Hi,

Thank you for the patch.
Please check some review points

Please, place the package to python-check in alphabetical order as it's
the best fit for it.

home-page: -> https://github.com/myint/scspell
tetsts?: there are tests if you use git fetch
patch: you may use the latest commit containing the same changes, https://github.com/myint/scspell/blob/df550351f255c572c1a74852d233c83bbfbd49fb/pyproject.toml#L11C1-L13C23
--8<---------------cut here---------------start------------->8---
version = "2.3.0"
license = "GPL-2.0-only"
readme  = "README.rst"
--8<---------------cut here---------------end--------------->8---

Looking forward for v2!

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#78138; Package guix-patches. (Tue, 29 Apr 2025 20:27:03 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: 78138 <at> debbugs.gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-scspell3k.
Date: Tue, 29 Apr 2025 15:26:28 -0500
* gnu/packages/python-xyz.scm (python-scspell3k): New variable.

Change-Id: Ia7e7d9cceba1391eee9278ab722bcdd4283c1354
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index eb4d62a294..87d86a1705 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3342,6 +3342,30 @@ (define-public python-robotframework-jsonlibrary
     ;; This is free and unencumbered software released into the public domain.
     (license license:unlicense)))
 
+(define-public python-scspell3k
+  (let ((commit "bb598b26881b034eaade59857d43050fff7b920b")
+        (revision "1"))
+    (package
+      (name "python-scspell3k")
+      (version (git-version "2.3.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/myint/scspell")
+               (commit commit)))
+         (sha256
+          (base32 "1rw1vmklmf974p4pqgd4klcf9z1ygxapgmp4ldm9jf47xg7is9ay"))
+         (file-name (git-file-name name version))))
+      (build-system pyproject-build-system)
+      (native-inputs (list python-setuptools python-wheel))
+      (home-page "https://github.com/myint/scspell")
+      (synopsis "Conservative interactive spell checker for source code")
+      (description
+       "A spell checker for source code that does not try to be particularly smart
+and instead does the simplest thign that can possibly work.")
+      (license license:gpl2))))
+
 (define-public python-slotscheck
   (package
     (name "python-slotscheck")

base-commit: fbf766295710078b5cd2e8810459908d9f777442
-- 
2.43.0





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Thu, 01 May 2025 11:38:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Elwin <elwin <at> northwestern.edu>:
bug acknowledged by developer. (Thu, 01 May 2025 11:38:02 GMT) Full text and rfc822 format available.

Message #16 received at 78138-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 78138-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-scspell3k.
Date: Thu, 01 May 2025 12:37:25 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've managed to build it on the latest commit with minot adjustments.
Pushed to master as 3cecec63c5762efa037d2b7885366ac20990b97c.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 days ago.

Previous Next


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