Subject: [bug#74458] [PATCH] gnu: Add python-shxparser.

From: Evgeny Pisemsky <[email-masked]>
Date: Thu, 21 Nov 2024 14:05:24 +0300

>From 6298330046d3685321cb88273da059a3684cb7c8 Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: Evgeny Pisemsky <[email-masked]>
Date: Thu, 21 Nov 2024 13:55:13 +0300
Subject: [PATCH] gnu: Add python-shxparser.

* gnu/packages/python-xyz.scm (python-shxparser): New variable.

Change-Id: Iaa4bdc216f0e06595237d6fb8e5ee138797605bc
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a42072cee..5014353e6f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2021 Greg Hogan <[email-masked]>
 ;;; Copyright © 2022, 2023 John Kehayias <[email-masked]>
 ;;; Copyright © 2022 Aleksandr Vityazev <[email-masked]>
-;;; Copyright © 2022 Evgeny Pisemsky <[email-masked]>
+;;; Copyright © 2022, 2024 Evgeny Pisemsky <[email-masked]>
 ;;; Copyright © 2022 drozdov <[email-masked]>
 ;;; Copyright © 2022 Peter Polidoro <[email-masked]>
 ;;; Copyright © 2022, 2023 Wamm K. D. <[email-masked]>
@@ -157,7 +157,6 @@
 ;;; Copyright © 2024 Rick Huijzer <[email-masked]>
 ;;; Copyright © 2024 Peter Kannewitz <[email-masked]>
 ;;; Copyright © 2024 Aaron Covrig <[email-masked]>
-;;; Copyright © 2024 Evgeny Pisemsky <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32636,6 +32635,26 @@ (define-public python-dparse
     (description "This package provides a parser for Python dependency files.")
     (license license:expat)))
 
+(define-public python-shxparser
+  (package
+    (name "python-shxparser")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "shxparser" version))
+       (sha256
+        (base32 "0w7j5ywskandp91v74966pw1pvq9d5zrx5gkjcn84xi8wsyf8hc5"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-svgelements))
+    (home-page "https://github.com/tatarize/shxparser")
+    (synopsis "SHX line font parser")
+    (description
+     "This is a pure python parser for SHX Hershey font files that are an
+AutoCad format which can encode single line fonts.  This format is
+used for many CNC and laser operations.")
+    (license license:expat)))
+
 (define-public python-dpath
   (package
     (name "python-dpath")

base-commit: 603bee5f3b670b06d6594e63066dc0c6d836c921
-- 
2.46.0