From patchwork Sat Jun 11 20:27:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 39878 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 26F0F27BBEA; Sat, 11 Jun 2022 21:37:11 +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 D82A227BBE9 for ; Sat, 11 Jun 2022 21:37:10 +0100 (BST) Received: from localhost ([::1]:56178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o07r3-0001lI-Us for patchwork@mira.cbaines.net; Sat, 11 Jun 2022 16:37:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o07qw-0001l8-15 for guix-patches@gnu.org; Sat, 11 Jun 2022 16:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o07qv-0001Uq-P3 for guix-patches@gnu.org; Sat, 11 Jun 2022 16:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o07qv-0006zQ-Kj for guix-patches@gnu.org; Sat, 11 Jun 2022 16:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55896] [PATCH v2] gnu: Add python-pybare. References: <20220611042737.15082-1-jgart@dismail.de> In-Reply-To: <20220611042737.15082-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jun 2022 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55896@debbugs.gnu.org Cc: Maxime Devos , jgart Received: via spool by 55896-submit@debbugs.gnu.org id=B55896.165497979426832 (code B ref 55896); Sat, 11 Jun 2022 20:37:01 +0000 Received: (at 55896) by debbugs.gnu.org; 11 Jun 2022 20:36:34 +0000 Received: from localhost ([127.0.0.1]:54129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o07qU-0006yh-BS for submit@debbugs.gnu.org; Sat, 11 Jun 2022 16:36:34 -0400 Received: from mx1.dismail.de ([78.46.223.134]:43030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o07qR-0006yT-87 for 55896@debbugs.gnu.org; Sat, 11 Jun 2022 16:36:32 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a74625d2; Sat, 11 Jun 2022 22:36:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=lObytaXnokMYLO9BPndJyNpGjK2hFQsOllulik77hCc=; b= bXAc8bWtZnbMzveMAMFnMU+TeYxTaT1EZuAlv7TrEtlk2Hz5wxmyJOwWQ4W+O4oH MLhGzqQiiFOP5Z/XusScUN2bI/xpImGEy/w7+0J/Klqxhu+rsXQsmKR0IGTw/T68 yJcs1d1/tTqumVK0cMthzLZJ6CTNqc9IRj8VbFjzIC2wa5CPhU0gYuprQ8dO3368 E29DdPCwDqFBmx68vE19yHmnS1TSCR+WytiTkUzPuU/kR2+PLAUq+fQHYHHeQlZV DdFszcLqBT+D0+6mhOxfq339oMGLrQ8E5OGmWluMTLomFfBmDtcxZC1mLfL7KxeW 17t5bO/zn2RJd2RV/aHJeA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 358bee3a; Sat, 11 Jun 2022 22:36:23 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 3794d611; Sat, 11 Jun 2022 22:36:23 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d55c8da8 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 11 Jun 2022 22:36:22 +0200 (CEST) Date: Sat, 11 Jun 2022 15:27:01 -0500 Message-Id: <20220611202700.5655-1-jgart@dismail.de> 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pybare): New variable. Hi Maxime, Thanks for the review. It is much appreciated. Here is version 2 with your requested changes. all best, jgart --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4104472848..5109434cbf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29418,6 +29418,39 @@ (define-public python-gatt Currently, Linux is the only platform supported by this library.") (license license:expat))) +(define-public python-pybare + (package + (name "python-pybare") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://git.sr.ht/~chiefnoah/pybare") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ibmwwf1rdxlwyxlzhv3v1i0ybsqg0kppim90sm8rsbns86yy4by")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (chdir "bare") + (invoke "pytest" "-vv" "."))))))) + (native-inputs + (list python-pytest)) + (home-page "https://sr.ht/~chiefnoah/PyBARE/") + (synopsis "Declarative implementation of BARE for Python") + (description +"@code{python-pybare} is a general purpose library for strongly typed +primitives in Python that supports serializing to and from @acronym{BARE, +Binary Application Record Encoding} messages.") + (license license:expat))) + (define-public python-musical-scales (package (name "python-musical-scales")