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