From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yG5nApglVGUsZAAAauVa8A:P1 (envelope-from ) for ; Wed, 15 Nov 2023 02:57:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yG5nApglVGUsZAAAauVa8A (envelope-from ) for ; Wed, 15 Nov 2023 02:57:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74877143CA for ; Wed, 15 Nov 2023 02:57:43 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=tzD5vAPA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700013464; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Th5EFMmkH8TVgwmxmNZ2D6ze3ixkyi6CeF+YO1bScE8=; b=GcNoX0ompgFt8d2WJKNUTHaEaE6v99jI2hN5jT0fZODExuGSwYrtaq7txY7BJcFOu4s4T8 lVYWA/LCn/mevPMpKBg13DledJgC7qAz5Ba+UM03YGP0pQyqP3Ukvs0JpbHZ1CQIy979kM 3DRpUuy9ZbB6902ugPdRIabSJ2NKlo4akNxL80L1g7PoSNnI3dZ7iqq8c9xQxOQd0fqHaP HueAm8tQKl82z8PQFor3gQCF+LpMw4BB4wZvC+CzXOxentke9c5fBmz4xQPJlEpwpbA5yN FigkLe23z3V2QwQohr8vEVYwMFboPQY49i+zw98WzkVXPylfxpXlotl43DKepg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=tzD5vAPA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700013464; a=rsa-sha256; cv=none; b=M8yZvgZLHD6vqG3eRYAx3aBZoGFdmSedS/UMGvTP4i9QY4MRs04keKZb7ojNSYOqn4uYFj xFdZF5yW2YHwYAaTu2DrwMD+GEdvipXqL1RqlZzkO0q4jcfRMqoVSLvgsESruip3iwHvsV IFUyJAb13AhLbneTXp60pJambDBmLlKimom3AHoVZ9kHaqbB1IQptOTDNaSY9BaEWLwScS G/su1S9RnjEhm2TlDzrtXBXsS+Ow/uaRgZ6ld1BeWtLfYzisrd3pzgydMN1uXGxh6kAyJN B4R/OpBkjeNZz0BL+0ThNogwwxCtdsHwOdrBNE6hDjQpaoBMn6uVV3Yrw2Z0Dg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r359e-0008NF-Gb; Tue, 14 Nov 2023 20:57:22 -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 1r359b-0008Mr-RN for guix-patches@gnu.org; Tue, 14 Nov 2023 20:57:20 -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 1r359b-0002gx-JO for guix-patches@gnu.org; Tue, 14 Nov 2023 20:57:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r35AH-0007RI-Pb for guix-patches@gnu.org; Tue, 14 Nov 2023 20:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67183] [PATCH] gnu: Add python-canmatrix. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Nov 2023 01:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67183 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67183@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170001344228471 (code B ref -1); Wed, 15 Nov 2023 01:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2023 01:57:22 +0000 Received: from localhost ([127.0.0.1]:34395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r359b-0007Oy-2g for submit@debbugs.gnu.org; Tue, 14 Nov 2023 20:57:22 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r30vL-0000E6-UF for submit@debbugs.gnu.org; Tue, 14 Nov 2023 16:26:21 -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 1r30uG-0004y9-Tq for guix-patches@gnu.org; Tue, 14 Nov 2023 16:25:13 -0500 Received: from mout-y-209.mailbox.org ([91.198.250.237]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1r30uC-0003VG-IC for guix-patches@gnu.org; Tue, 14 Nov 2023 16:25:12 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4SVK7x2YZMz9tjG for ; Tue, 14 Nov 2023 22:25:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1699997101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Th5EFMmkH8TVgwmxmNZ2D6ze3ixkyi6CeF+YO1bScE8=; b=tzD5vAPAXcmio1qHDeTGwJohDbAp/EKUz0ezXOdZfSziIEExKusLuZtu/vbeBALNtSwxVP YeahL03qqfkLAp0I03yttNf0IR7qE5Rgf487fFPiwVvM3TBbxUTo3XH6Q3vBEamjSAFDwy ymHKyj78DPUfDOC3vZMDmElna2cH06YD1HBHfReI53Sq+U/4FzG9+7cmUTiA+ms1ULexZh C656PgWKGXD9Q109EUZEDjc/iEntCWeaUKkqDu7bR1NsUyW1EyZkHy9mSU+KaXR+i9P56F d4nSvoz3MwMpalL9v0da4Q4cJIO6OIMfTu9vsTLINyk+uABOYlA4Bku54SQiQg== From: Troy Figiel Date: Tue, 14 Nov 2023 22:24:52 +0100 Message-ID: <87fs189gez.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.198.250.237; envelope-from=troy@troyfigiel.com; helo=mout-y-209.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 14 Nov 2023 20:57:16 -0500 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.91 X-Spam-Score: 2.91 X-Migadu-Queue-Id: 74877143CA X-Migadu-Scanner: mx10.migadu.com X-TUID: E+UCBAiUZVXK * gnu/packages/python-xyz.scm (python-canmatrix): New variable. Change-Id: I96192f7304388aefe1b5cc358d462d42120ca3a0 --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e521c1580d..10182893cd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -145,6 +145,7 @@ ;;; Copyright =C2=A9 c4droid ;;; Copyright =C2=A9 2023 Janneke Nieuwenhuizen ;;; Copyright =C2=A9 2023 Attila Lendvai +;;; Copyright =C2=A9 2023 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -2955,6 +2956,39 @@ (define-public python-can sending and receiving messages on a CAN bus.") (license license:lgpl3+))) +(define-public python-canmatrix + (package + (name "python-canmatrix") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "canmatrix" version)) + (sha256 + (base32 "046dzmggfm6h0fvfvwrblvih0blhc70ma0pqxzry3cphc08jvsrg")) + ;; The test suite uder ./test is a legacy test suite. The new test + ;; suite is defined under src/canmatrix/tests. + (modules '((guix build utils))) + (snippet '(delete-file-recursively "test")))) + (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (propagated-inputs (list python-attrs python-click python-future + python-six)) + (native-inputs (list python-lxml python-pytest python-xlrd python-xlwt= )) + (home-page "https://github.com/ebroecker/canmatrix") + (synopsis "Implements a CAN matrix object in Python") + (description + "This package implements a CAN matrix object in Python which describe= s the +CAN-communication and its needed objects such as board units, frames, sign= als +and values. It also includes two command line tools (canconvert and +cancompare) for converting and comparing CAN databases.") + (license license:bsd-2))) + (define-public python-canopen (package (name "python-canopen") -- 2.40.1