GNU bug report logs - #77008
[PATCH python-team] gnu: Add python-tatsu.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Fri, 14 Mar 2025 08:45:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77008: closed ([PATCH python-team] gnu: Add python-tatsu.)
Date: Sun, 16 Mar 2025 20:59:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 16 Mar 2025 20:58:25 +0000
with message-id <87zfhku1zi.fsf <at> gmail.com>
and subject line [PATCH python-team] gnu: Add python-tatsu.
has caused the debbugs.gnu.org bug report #77008,
regarding [PATCH python-team] gnu: Add python-tatsu.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77008: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77008
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH python-team] gnu: Add python-tatsu.
Date: Fri, 14 Mar 2025 17:43:28 +0900
* gnu/packages/python-xyz.scm (python-tatsu): New variable.

Change-Id: I0868e5ec57bc384b2dad2114671b780c988d77d4
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 01c6322931..5a4e6455e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -141,7 +141,7 @@
 ;;; Copyright © 2023 Dominik Delgado Steuter <d <at> delgado.nrw>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
 ;;; Copyright © 2023 Ontje Lünsdorf <ontje.luensdorf <at> dlr.de>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2025 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023 Parnikkapore <poomklao <at> yahoo.com>
 ;;; Copyright © 2023 Foundation Devices, Inc. <hello <at> foundationdevices.com>
 ;;; Copyright © c4droid <c4droid <at> foxmail.com>
@@ -37215,6 +37215,29 @@ (define-public python-taskgroup
 @code{asyncio.Runner} and @code{asyncio.timeout}.")
     (license license:expat)))
 
+(define-public python-tatsu
+  (package
+    (name "python-tatsu")
+    (version "5.13.1")
+    (source
+     (origin
+       (method git-fetch) ;for tests
+       (uri (git-reference
+             (url "https://github.com/neogeny/TatSu")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0pdq9d45vbp7j600ig4k21mv2wipvmz05dji91x7kifhzfl5i6w9"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools python-wheel python-pytest))
+    (home-page "https://tatsu.readthedocs.io/en/stable/")
+    (synopsis "PEG/Packrat Parser generator for Python")
+    (description
+     "TatSu (竜) takes a grammar in a variation of Extended Backus-Naur Form
+(EBNF) as input, and outputs a memoizing Parsing Expression Grammar
+(PEG) or Packrat parser in Python.")
+    (license license:bsd-4)))
+
 (define-public python-csb43
   (package
     (name "python-csb43")

base-commit: f73ece09ab3c1bd0d367eb343426ebc3c8d41190
-- 
2.48.1



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 77008-done <at> debbugs.gnu.org
Subject: [PATCH python-team] gnu: Add python-tatsu.
Date: Sun, 16 Mar 2025 20:58:25 +0000
[Message part 4 (text/plain, inline)]
Hi,

Thank you for the patch.

I've adjusted license from bsd-4 to bsd-2 after skimming the project
source
<https://github.com/search?q=repo%3Aneogeny%2FTatSu%20BSD&type=code> and
checking which one is set in Nix as well
<https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/tatsu/default.nix#L38>

Pushed to master as ccc9fd93c402a251bf53b25bd92be0a856f7999d.
--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 69 days ago.

Previous Next


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