From patchwork Thu May 26 18:55:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 39618 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 9358F27BBE9; Thu, 26 May 2022 19:57:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 C564B27BBEA for ; Thu, 26 May 2022 19:57:11 +0100 (BST) Received: from localhost ([::1]:35220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuIfW-0007yy-VJ for patchwork@mira.cbaines.net; Thu, 26 May 2022 14:57:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuIfO-0007yZ-HL for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuIfO-0007t3-9A for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuIfO-0000f5-4h for guix-patches@gnu.org; Thu, 26 May 2022 14:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55637] [PATCH] gnu: Add python-pylink-square. References: <865yltftp9.fsf@polidoro.io> In-Reply-To: <865yltftp9.fsf@polidoro.io> Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 May 2022 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55637@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 55637-submit@debbugs.gnu.org id=B55637.16535913622472 (code B ref 55637); Thu, 26 May 2022 18:57:02 +0000 Received: (at 55637) by debbugs.gnu.org; 26 May 2022 18:56:02 +0000 Received: from localhost ([127.0.0.1]:59977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuIeP-0000dd-U8 for submit@debbugs.gnu.org; Thu, 26 May 2022 14:56:02 -0400 Received: from donkey.elm.relay.mailchannels.net ([23.83.212.49]:48212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuIeK-0000dI-9G for 55637@debbugs.gnu.org; Thu, 26 May 2022 14:56:00 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C634C561E92; Thu, 26 May 2022 18:55:54 +0000 (UTC) Received: from pdx1-sub0-mail-a294.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 641E05616BE; Thu, 26 May 2022 18:55:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1653591354; a=rsa-sha256; cv=none; b=DnXRKXLn9YUbjNm3cDbIR4NxQlH83snE4DAguO1SotFSkZxSHWC9YbRKBsDaabviBKsfnW OmszXc+H6bmoqU6Il2pNtcJJ+rJEC1V9YVnd4W5FLiP6pVxBxHru2oqe66AbIoLG6WrV+G hQZ1g1tC0d+aX6jIU/8ohkZJrFerylI/s0gtWAm2s+IqwPmA5WPgVu/X2ichqCKyFL0gx7 97X7TJsjQl4tb/w1yNV/2OGXGPjBE/dN2v9JFeEe+6oFm2jaZZTbfpRM4NNk31y5+6IGUm jnacMGfQXyTbf7v0QVb1Te3SbOg/Odralo9HRWvIqSHbUnJtM/tbVRuiBqW6mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1653591354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=Kwr1RWqXPSYtW/pA9bBktuz+AQQDSqLjFLeetQIPLFo=; b=JerXBG4fzWpoxpS5b5grSyGyUQQmQYhqYNu2aCgu+afJG1dCBT7APc3ef3qeCIvyCSRlok 6534/BQgf++uSOR/sZoqfX53jfHoUHMlkIggYWK0uSwuUIcka8H/bcns9+aKrhfo78MRV/ aV2ByJP+IkRkmMmRxCsEXE8Q54db2xvHzMAxILWA7gIovlBdaGefv+SdgH/nhEdGROb/Ta sTItdGEjtq3BKwYiunTKV09+h3TZ0K4pexnnGRs8DGQkd7dQR9L6P74EMcnbjCpJwjLIN3 CYP1e0OYDdAAE3RgCu0ASCVxg4j8J7Cl8HvwucSlsxIuhKHHsw+DeR1SV/CK6w== ARC-Authentication-Results: i=1; rspamd-68cf9fd8bf-k8gcp; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Obese-Left: 1a7c89f50efe7727_1653591354657_2680334264 X-MC-Loop-Signature: 1653591354657:1240996092 X-MC-Ingress-Time: 1653591354657 Received: from pdx1-sub0-mail-a294.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.45.17 (trex/6.7.1); Thu, 26 May 2022 18:55:54 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a294.dreamhost.com (Postfix) with ESMTPSA id 4L8HFj5j4mz1Mw; Thu, 26 May 2022 11:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1653591354; bh=Kwr1RWqXPSYtW/pA9bBktuz+AQQDSqLjFLeetQIPLFo=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=3D4isWRBeEO0yy+ggZ1tBMluYJGdAPwrZTCMvBEhA176rTOHcPU2Cs+n8l3y/zbPj 2PvL8I7R3MlfTZmGvs6UgOv82klFmE/0464ED8NbTeXrdaL1RmSQplldzmm4KtJm74 6eL/cpzPVexDzL2QtEbq2QQkySdKTKdv4oP4qrJY6vVxUuf9EuvCNx4rhDxqDHZnU2 Nl6FS/0zqwqNf3zKKXCMqhefOyyFhbGbhLmqD6kfNJ0FVVom4FwWss39xxNI4zfPft WVZ8kQKLXE2LFZ/9UlPwEAI4gd88R3kHzZyZwF7zgontRYdGXK88tfDsE8jP/zVAZJ mwio4EuMNdNow== From: peter@polidoro.io Date: Thu, 26 May 2022 14:55:42 -0400 Message-Id: <60db9b9dbccfc6522f1e3e28ff51d0ea74457fad.1653591259.git.peter@polidoro.io> X-Mailer: git-send-email 2.36.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" X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * gnu/packages/embedded.scm (python-pylink-square): New variable. --- gnu/packages/embedded.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 010f5b84d2..75675c2698 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1699,3 +1699,34 @@ (define-public mbed-tools connected by USB, checkout Mbed projects and perform builds amongst other operations.") (license license:asl2.0))) + +(define-public python-pylink-square + (package + (name "python-pylink-square") + (version "0.12.0") + (source + ;; The tests suite appears to be incomplete in the PyPI archive. + (origin + (method git-fetch) + (uri (git-reference + (url "http://www.github.com/Square/pylink") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w0pi91gvaw9k2r267kpc1ryd74v19iq5ysn4j7pf4g2069gbgxf")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-setup + (lambda _ + (substitute* "setup.py" + (("mock == 2.0.0") "mock"))))))) + (native-inputs (list python-mock)) + (propagated-inputs (list python-future + python-psutil + python-six + libjaylink)) + (home-page "http://www.github.com/Square/pylink") + (synopsis "Python interface for SEGGER J-Link.") + (description "Python interface for SEGGER J-Link.") + (license license:asl2.0)))