From patchwork Mon Mar 10 15:36:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 40054 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 381D827BBE9; Mon, 10 Mar 2025 15:37:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DE54327BBE2 for ; Mon, 10 Mar 2025 15:37:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1trfBk-0000V1-Mm; Mon, 10 Mar 2025 11:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1trfBg-0000FZ-9J for guix-patches@gnu.org; Mon, 10 Mar 2025 11:37:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1trfBf-0002zl-Rz for guix-patches@gnu.org; Mon, 10 Mar 2025 11:37:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=TFWixVo8If3ygjkB6ypMqVZAD3wpK2GwjNZPzp/m1wk=; b=byGdNGvkXbZzhxwyGJ/Tf/C2EkcwfCnEyuwyCx5ZdmimcEd9A/IR0tdykd4aMfYGjkRaqafuc4LDCbl6DzWV3l+1b/cqct4QHwA4Sn06+pH6ja64pLjwoRRLOrghoV5w1BNbLQ/C1uonCCrJ2F1A3teeHCHKPtJsSfCwWKJfE3S+sfqnMOFtw1SSjV4DeyAZz1/L1WBKn9eScVkCXJ0w13Ot9OfluT5R+n0NGwy/HoD6X74OZ9ddBLkAvn+hW/29GIONfb0KKpiC98U//xzgRnNGc/yQBhkdMtkHq+EdJ+/NwF3rdgrbATycZ55/HUGx1QZA3ou0fzZIITK674lQSQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1trfBe-0004AG-9r; Mon, 10 Mar 2025 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#75675] [PATCH v1 1/2] gnu: Add python-shxparser. References: <87tt9ud0lh.fsf@pisemsky.site> In-Reply-To: <87tt9ud0lh.fsf@pisemsky.site> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 10 Mar 2025 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75675@debbugs.gnu.org Cc: Lars-Dominik Braun , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 75675-submit@debbugs.gnu.org id=B75675.174162100415974 (code B ref 75675); Mon, 10 Mar 2025 15:37:02 +0000 Received: (at 75675) by debbugs.gnu.org; 10 Mar 2025 15:36:44 +0000 Received: from localhost ([127.0.0.1]:39297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trfBL-00049Y-GV for submit@debbugs.gnu.org; Mon, 10 Mar 2025 11:36:43 -0400 Received: from pisemsky.site ([103.54.19.55]:53616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trfBE-00048z-LV for 75675@debbugs.gnu.org; Mon, 10 Mar 2025 11:36:37 -0400 Received: from localhost.localdomain ( [212.233.86.22]) by pisemsky.site (OpenSMTPD) with ESMTPSA id a6e6d616 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <75675@debbugs.gnu.org>; Mon, 10 Mar 2025 15:36:31 +0000 (UTC) From: Evgeny Pisemsky Date: Mon, 10 Mar 2025 18:36:14 +0300 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-shxparser): New variable. Change-Id: Iaa4bdc216f0e06595237d6fb8e5ee138797605bc --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) base-commit: 519fc51b6ecfe9ac9f2fa2f4ae052ab1984eed22 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9f2829c4a8..ae644d80fd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34576,6 +34576,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 python-setuptools python-wheel)) + (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") From patchwork Mon Mar 10 15:36:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 40055 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CABDF27BBEA; Mon, 10 Mar 2025 15:38:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 73D1F27BBE2 for ; Mon, 10 Mar 2025 15:38:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1trfBk-0000Sw-Ae; Mon, 10 Mar 2025 11:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1trfBg-0000FX-7u for guix-patches@gnu.org; Mon, 10 Mar 2025 11:37:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1trfBf-0002zh-Sy for guix-patches@gnu.org; Mon, 10 Mar 2025 11:37:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=v30gjDPg08ScafW7Pq8a9+HIrBDVbhhgwgUfNpE9VD0=; b=UrAOCEbONG7xNkIi519A+0p/+ATjrwqNhARyJeD6MkgcEAsYKj13YLR0k8Qsgo2RViu//gdEw6r17RfE35tuMJd8hxQnyu69w1ZSWFV8SEgVWbARiovfM8yBXFvHUFJcBtrj2s79/zpG9EfZnGbEDQGFEFrKh8qahh9r6YisfSoTTaqQgHYa1iPwf5MuoH2wiBawMg14g9PBe5+Zl7raSlZjZkMN6XHxTe2u8kqwBz6YNtYLEBz9Ep5eE3ZuvYeasYrdtLIqjLOOuAtcs9hPbJJoQjyPbR7Pb4LuhfS6kM9yipS4rp7EyaGr9JbxIHzEoDW+uAambCb9QRMFcuNA6w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1trfBe-0004AN-Qc; Mon, 10 Mar 2025 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#75675] [PATCH v1 2/2] gnu: Add bcnc. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 10 Mar 2025 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75675@debbugs.gnu.org Cc: Cayetano Santos , Maxim Cournoyer X-Debbugs-Original-Xcc: Cayetano Santos , Maxim Cournoyer Received: via spool by 75675-submit@debbugs.gnu.org id=B75675.174162100415982 (code B ref 75675); Mon, 10 Mar 2025 15:37:02 +0000 Received: (at 75675) by debbugs.gnu.org; 10 Mar 2025 15:36:44 +0000 Received: from localhost ([127.0.0.1]:39299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trfBM-00049b-1E for submit@debbugs.gnu.org; Mon, 10 Mar 2025 11:36:44 -0400 Received: from pisemsky.site ([103.54.19.55]:53616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1trfBF-00048z-L1 for 75675@debbugs.gnu.org; Mon, 10 Mar 2025 11:36:38 -0400 Received: from localhost.localdomain ( [212.233.86.22]) by pisemsky.site (OpenSMTPD) with ESMTPSA id 6787308b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <75675@debbugs.gnu.org>; Mon, 10 Mar 2025 15:36:32 +0000 (UTC) From: Evgeny Pisemsky Date: Mon, 10 Mar 2025 18:36:15 +0300 Message-ID: <5f1ceb9923ee607b05029da4b52013247450b402.1741620975.git.mail@pisemsky.site> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/engineering.scm (bcnc): New variable. Change-Id: If72638b7772ec4304bca0ea18fd3f1a57f61512f --- gnu/packages/engineering.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 225400852a..fff2cf6eaa 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4914,6 +4914,46 @@ (define-public xschem (home-page "https://xschem.sourceforge.io/stefan/index.html") (license license:gpl2+)))) +(define-public bcnc + (package + (name "bcnc") + (version "0.9.15") + (source + (origin + (method url-fetch) + (uri (pypi-uri "bCNC" version)) + (sha256 + (base32 "1wsz5ppgncn992znj9wpkvjkf87m93zb2pdzlas53nnj2j4pz9vw")) + ;; Comment out opencv-python which cannot be detected because + ;; the opencv python library lacks necessary metadata files. + ;; https://github.com/opencv/opencv-python/issues/944 + (modules '((guix build utils))) + (snippet '(substitute* "setup.py" + (("\"opencv-python.*" line) + (string-append "# " line)) + (("\\+.*" line) + (string-append "# " line)))))) + (build-system pyproject-build-system) + ;; Tests require pyautogui which is not packaged yet. + (arguments + (list + #:tests? #f)) + (native-inputs (list python-setuptools python-wheel)) + (inputs (list `(,python "tk"))) + (propagated-inputs (list opencv + python-numpy + python-pillow + python-pyserial + python-shxparser + python-svgelements)) + (home-page "https://github.com/vlachoudis/bCNC") + (synopsis "Swiss army knife for all your CNC/g-code needs") + (description + "GrblHAL CNC command sender, autoleveler, g-code editor, digitizer, CAM +and swiss army knife for all your CNC needs. The sender is robust and +fast able to work nicely with old or slow hardware.") + (license (list license:gpl2+ license:bsd-3 license:expat)))) + (define-public candle ;; The latest tagged version 1.2b fails on the build stage due to ;; non-supported g++ flags so we need to use the latest commit from the