From patchwork Fri Feb 21 09:12:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 38894 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 8447B27BBEA; Fri, 21 Feb 2025 09:13:20 +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,URIBL_BLOCKED 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 032F827BBE2 for ; Fri, 21 Feb 2025 09:13:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tlP5m-0007Ro-9t; Fri, 21 Feb 2025 04:13:06 -0500 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 1tlP5j-0007RM-G9 for guix-patches@gnu.org; Fri, 21 Feb 2025 04:13:03 -0500 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 1tlP5i-0005RZ-B8 for guix-patches@gnu.org; Fri, 21 Feb 2025 04:13:02 -0500 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:Subject; bh=SnnPkyVSfhrn5szqysC3NDmXreJf/GER2GyVrxuKm5g=; b=DSlocUGgg2gxQaIBTaLtFTOVEzqeP57pkEpOgkFXRbVWpgx+ai1Y0+z3ZsKGMaEOMRb+ToRiGRybd2CLPUXYzA73mRCG9S7g+fnB/2+Hti85hwhV/ki/7iaDWUFrnEAZI0swpSjjANAla93ALS1UlHHVmX3cmnHc6n0YAyizKJIWebVNjXG2qpUblWv/jFFmeBlkpAePCfqWcVi8GczlvPtJYXaE7IqBVJJ7P0NJ97cfQ9+AFc0W4mf03y4UqEglhfesibQ61dcJrtpLiqMZpRIL6eTWSsh/IOlIQ1McS84kiS270un6qCaRzbVkRJJQM3Qk0gc9RO2PjwwMnG+CRw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tlP5i-0003DV-46 for guix-patches@gnu.org; Fri, 21 Feb 2025 04:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76463] [PATCH] gnu: Add aacircuit. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Feb 2025 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76463@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174012916512232 (code B ref -1); Fri, 21 Feb 2025 09:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 09:12:45 +0000 Received: from localhost ([127.0.0.1]:53098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlP5Q-0003BB-U9 for submit@debbugs.gnu.org; Fri, 21 Feb 2025 04:12:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40382) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlP5O-0003A6-Q7 for submit@debbugs.gnu.org; Fri, 21 Feb 2025 04:12:43 -0500 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 1tlP5H-0007Ol-V5 for guix-patches@gnu.org; Fri, 21 Feb 2025 04:12:35 -0500 Received: from sofi-shared.hosting.energy ([2001:41d0:602:1f56::] helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tlP5G-0005Pc-0i for guix-patches@gnu.org; Fri, 21 Feb 2025 04:12:35 -0500 Received: from [176.59.49.173] (helo=localhost.localdomain) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1tlP55-0004CB-T2 for guix-patches@gnu.org; Fri, 21 Feb 2025 12:12:24 +0300 From: Evgeny Pisemsky Date: Fri, 21 Feb 2025 12:12:07 +0300 Message-ID: <87d7eb973101cd15613f034961cfc64eb11069e6.1740129127.git.mail@pisemsky.site> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: permerror client-ip=2001:41d0:602:1f56::; envelope-from=mail@pisemsky.site; helo=sofi.hosting.energy X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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 (aacircuit): New variable. Change-Id: I0f44b1037866c729fe1d29a52d9447f6cbea6704 --- gnu/packages/engineering.scm | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) base-commit: 38b4358f4d84cafa54deff77dee6fafac3e03864 diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 234f4a2b03..40309f45f4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -176,6 +176,56 @@ (define-module (gnu packages engineering) #:use-module (gnu packages xorg) #:use-module ((srfi srfi-1) #:hide (zip))) +(define-public aacircuit + (let ((commit "18635c846754b6219da1a2ceb8977714f70004d0") + (revision "0")) + (package + (name "aacircuit") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Blokkendoos/AACircuit") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07agb7fbpbq74zm27j9b00imr46q6kpwhxzmmffw2s9scv80c1km")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Exclude tests intended for visual review. + (setenv "NOSE_EXCLUDE" + (string-join '("test_export_pdf" + "test_import_aacircuit_export_pdf") + ",")) + (setenv "HOME" "/tmp") + (invoke "xvfb-run" "./testrunner.sh"))))))) + (native-inputs (list python-flake8 + python-nose + python-setuptools + python-wheel + xvfb-run)) + (propagated-inputs (list gtk+ + python-bresenham + python-platformdirs + python-pycairo + python-pyclip + python-pygobject + python-pypubsub)) + (home-page "https://github.com/Blokkendoos/AACircuit") + (synopsis "Draw electronic circuits with ASCII characters") + (description + "This is a pythonized, kind of reverse engineered version of original AACircuit +written by Andreas Weber in Borland Delphi. The idea and GUI layout are also +taken from the original.") + (license license:gpl3+)))) + (define-public cutecom (package (name "cutecom")