From patchwork Wed Aug 30 18:57:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 53301 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 5BE5527BBEA; Wed, 30 Aug 2023 19:59:05 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 C3DF727BBE2 for ; Wed, 30 Aug 2023 19:59:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbQP5-0001CO-4F; Wed, 30 Aug 2023 14:58:59 -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 1qbQP2-0001BM-OV for guix-patches@gnu.org; Wed, 30 Aug 2023 14:58:56 -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 1qbQP1-0006WH-8P for guix-patches@gnu.org; Wed, 30 Aug 2023 14:58:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbQP8-0002jd-6u; Wed, 30 Aug 2023 14:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65037] [PATCH v2 3/8] gnu: Add python-construct-classes. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 30 Aug 2023 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 65037@debbugs.gnu.org Cc: Attila Lendvai , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 65037-submit@debbugs.gnu.org id=B65037.169342193110427 (code B ref 65037); Wed, 30 Aug 2023 18:59:02 +0000 Received: (at 65037) by debbugs.gnu.org; 30 Aug 2023 18:58:51 +0000 Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQOx-0002i6-Dn for submit@debbugs.gnu.org; Wed, 30 Aug 2023 14:58:51 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:61752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQOv-0002he-SM for 65037@debbugs.gnu.org; Wed, 30 Aug 2023 14:58:50 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31c8a710545so4033921f8f.3 for <65037@debbugs.gnu.org>; Wed, 30 Aug 2023 11:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693421916; x=1694026716; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EHLhjy7cFgqXR/XBVoK5sAM3cVgowLml23MXOHOK9Hs=; b=Rb89JutQ0ZdTHBkVy/09Zt1QmxXTfm19f8VF02lXIhBv/5fCjrkWeOT2pYFxHykdZE boUf7uOHJPBXch1jC9e+bSJQMBqjTL1vVwROb0XgdG7FY+F8nQMAiFLltXD08848+gRU Pl3DSFP99ytno/dPLsmTXVqmjD+8JKdTgwxDguqSN9XU85oLxg4K4ZD1O25HXf/nFSfe /Rnf3lvNiD3J7MNtpLxJQCRdqvRfCKF7aZxp19KZBwzSXVMn9CjjOdl2GONco7ERd5zh OQVaazRQWxd7zVaKdkYgo0uX+Lvq2BkVhyUrA0XmXLyuheU7jY9WEb8K53/uCDb8FR6L OMgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693421916; x=1694026716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EHLhjy7cFgqXR/XBVoK5sAM3cVgowLml23MXOHOK9Hs=; b=IVNyToVpTGq1WqUF27tSTDzdQWIqgR8VJi9sbl+U3wy7Q+ydu8FH9c6TABX8AJ1dpI Re1UyHrInuSSAR7Hx1YinUK1Qid5v+KC/yPNTo5D153KKi4IDCEDvqxnKvBtmHTHqpup FxQ5cu0ieIvH8mIMlC3LvFr09eoeDcOzjlo2vJey9id1OQKkqK712IjaZvnOtTBvSfOQ pHceR2A67uUeCI3YTkEuYwmLjff7Jee5PMa777dIr8Ug/qkUvQ3jw7NcNqcRTHXU8jLZ aZGEWVB3TT9mEMI2tmlfi6pHsvpdH7wVEExEcTdJj280RqyjFB42uIlwTA8BVH6zq87i 6JWw== X-Gm-Message-State: AOJu0YwVWqWKdsg94ODfSLz06lMb9MuXhAmBBRCuF0xEfKRXjcF4j3m5 TpE7NgpiIB9z2xYoV3XLUgtYfHhm1TbTRw== X-Google-Smtp-Source: AGHT+IFPsMysbUOTHYdbhhBkxBS/JPBktgx44CeVe+A1A+JUnETC/ersEiOOcof7s6jCbzmE7s4Ppg== X-Received: by 2002:adf:e788:0:b0:31a:d6cb:7f95 with SMTP id n8-20020adfe788000000b0031ad6cb7f95mr2463941wrm.18.1693421916327; Wed, 30 Aug 2023 11:58:36 -0700 (PDT) Received: from lelap.lan (2a00-1f40-b161-2f0-6b9f-85-742e-f655.pool6.panelnet.hu. [2a00:1f40:b161:2f0:6b9f:85:742e:f655]) by smtp.gmail.com with ESMTPSA id o15-20020a5d684f000000b003180027d67asm17361512wrw.19.2023.08.30.11.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 11:58:36 -0700 (PDT) From: Attila Lendvai X-Google-Original-From: Attila Lendvai Date: Wed, 30 Aug 2023 20:57:31 +0200 Message-Id: <59de04e32ae9aaaed0861e7ac3131b058e34121c.1693421855.git.attila@lendvai.name> X-Mailer: git-send-email 2.40.1 In-Reply-To: <592dca15951845e42d24d5179214a3fb68c35178.1693421855.git.attila@lendvai.name> References: <592dca15951845e42d24d5179214a3fb68c35178.1693421855.git.attila@lendvai.name> 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/python-xyz.scm (python-construct-classes): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 20e19ce4f2..309dd3be20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -803,6 +803,31 @@ (define-public python-colorful as functions or string constants to form colored terminal output.") (license license:expat))) +(define-public python-construct-classes + (package + (name "python-construct-classes") + (version "0.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/matejcik/construct-classes") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fmr8nfg543lyqk4164a52jb6lwpq98radicbkhhdfckq9lib2wp")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-construct)) + (native-inputs + (list python-poetry-core + python-pytest)) + (home-page "https://github.com/matejcik/construct-classes") + (synopsis "Parse binary structs into dataclasses") + (description "This package provides a parser to parse binary structs +into dataclasses.") + (license license:expat))) + (define-public python-yaspin (package (name "python-yaspin")