From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EAfmIOWVzmDihwAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 03:12:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YP23HOWVzmAuHAAA1q6Kng (envelope-from ) for ; Sun, 20 Jun 2021 01:12:05 +0000 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 4054A139BB for ; Sun, 20 Jun 2021 03:12:05 +0200 (CEST) Received: from localhost ([::1]:55240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lum0K-0003GO-9W for larch@yhetil.org; Sat, 19 Jun 2021 21:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lulzL-0001uJ-LK for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lulzL-0001vw-DO for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lulzL-0004OV-A4 for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49123] [PATCH 21/24] gnu: Add python-baron. Resent-From: slg <0x2d@disroot.org> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Jun 2021 01:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49123@debbugs.gnu.org Cc: slg <0x2d@disroot.org> Received: via spool by 49123-submit@debbugs.gnu.org id=B49123.162415142116782 (code B ref 49123); Sun, 20 Jun 2021 01:11:03 +0000 Received: (at 49123) by debbugs.gnu.org; 20 Jun 2021 01:10:21 +0000 Received: from localhost ([127.0.0.1]:32846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lulyf-0004MW-4h for submit@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0x2d@disroot.org>) id 1lulyV-0004LR-Gt for 49123@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:11 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E13D95C92E; Sun, 20 Jun 2021 03:10:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKtZs6qB8o7Z; Sun, 20 Jun 2021 03:10:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1624151409; bh=QSLXBlONyAbO7j24hKR3cr5cDE1YEzxQAHsWXpJhLKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AVDQPhqKwbyWNJcLFAxDDvv6verDPXJiIl2F2pACFIHbQoZU+FcYubJxROSmhIEue zBdU4b86xOxgUDt9MFXffazUpSfi6k4KnJHvxDTdyWoPSfn1lXLBZo1Cm473rQQ7T6 q8ciHWzywogJwwWAyyT551WsuDPLvTFrYkDk5u+FPyrz8Eg0TpGwtRSbnHRju3dDys wIOtvOEu0imWmsfFj7erQAAHLaiQaNhTegpXashm1tV+iTyqJebWEvePvMzrCJJYHn cv79+C2zGE+RZQLquzs8DX+wYkEgrOdJH0CY3vQ0Tz1EFN72D7NX/rAqgc2EGiF9kB WspC+ET6aM4Dg== Date: Sat, 19 Jun 2021 22:07:39 -0300 Message-Id: <20210620010742.4259-21-0x2d@disroot.org> In-Reply-To: <20210620010742.4259-1-0x2d@disroot.org> References: <20210620010742.4259-1-0x2d@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: slg <0x2d@disroot.org> X-ACL-Warn: , slg via Guix-patches From: slg via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624151525; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ahepGj/oYLimyvxpNvFcN9x/TLKsROinQKX3gS3Yf6w=; b=fQIrJIWJrXrywV95x91xh5B1wArDKp8mZwoO7Q/Pz2v/Wds31OSrWaZPNWX/ze2YTxW/pt Jtc7OiCzlJLEdurmsD/U+Jl8OrSStXFjWaa4vjswNvpLYwJ8P7SFKuzoqkBMgf7oy/XTcs ZA2NwWW7WZaaZOhlk10RDyb8SPCD9010JiFBAhFq8kXwFKupvlkjOnwhsb++HTPo+rVEKE bZ+aXKSGOETDz76JxHHdF2+o5aH24vvO7bys1p/JSDy85khIf4VzkpgkUSOUID4u9UCLoJ 3/QojFFC15o24oBXTGnwLFpAP4Q6AblHxaGyJFggBL6ijF1wWWVzOm+8ufCFDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624151525; a=rsa-sha256; cv=none; b=geBatwdkI+/yddSOTFIW7VbmmV2HyKsDrLb1BqS4eDwvrmbHAVcGxQOqbYe77ZbzGD9mt9 xAY1IXhF62900yOcXgVAczGfccDhCUTdZsO9c6LLvFC1OgH2slq3T3xxT0nJDOrFfJlkBb k0Lt22wFnkWoHzvkXBUeaYVLQ/VACZa5YlDxMqKnApjivq0toh2kJ968kBR85WoZAEnwYg qbZWDGoyuStbFZ/+oQz8JjKK5IhJ9DoCVvh9L7HCkI11DYnxS2AkStNzXYwWbu/Cgf93d4 T2yHTZHLB112O9v4Ftmhyfp1LTky5rjgQW3LDYiB519GjhbSPI8T0LPyJs3eyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=AVDQPhqK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=AVDQPhqK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4054A139BB X-Spam-Score: 1.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: YuD7bE8yZr+y * gnu/packages/python-xyz.scm (python-baron): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6db019082d..6096ba29d1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26083,3 +26083,35 @@ is a Python port from filetype Go package.") (description "Plyer is a platform-independent api to use features commonly found on various platforms, notably mobile ones, in Python.") (license license:x11))) + +(define-public python-baron + (package + (name "python-baron") + (version "0.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "baron" version)) + (sha256 + (base32 + "0fib74nkqnl1i2zzlhbbfpw3whwc4951p9x61r2xrxhwp4r9yn5h")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-rply" ,python-rply))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "tests/") + #t))))) + (home-page "https://github.com/PyCQA/baron") + (synopsis "Full Syntax Tree (FST) Python library") + (description "Baron is a Full Syntax Tree (FST) library for Python. +By opposition to an AST which drops some syntax information in the +process of its creation (like empty lines, comments, formatting), a FST +keeps everything and guarantees the operation +@code{fst_to_code(code_to_fst(source_code)) == source_code}.") + (license license:lgpl3))) -- 2.32.0