From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UOQlLbqVzmCwhgAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 03:11:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kPHDKLqVzmB0KAAAbx9fmQ (envelope-from ) for ; Sun, 20 Jun 2021 01:11:22 +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 55155139A7 for ; Sun, 20 Jun 2021 03:11:22 +0200 (CEST) Received: from localhost ([::1]:53456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lulzd-0001zZ-CR for larch@yhetil.org; Sat, 19 Jun 2021 21:11:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lulzM-0001vJ-1x for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lulzL-0001w8-Pj 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-0004Oc-Ln for guix-patches@gnu.org; Sat, 19 Jun 2021 21:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49123] [PATCH 22/24] gnu: Add python-redbaron. 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.162415142216790 (code B ref 49123); Sun, 20 Jun 2021 01:11:03 +0000 Received: (at 49123) by debbugs.gnu.org; 20 Jun 2021 01:10:22 +0000 Received: from localhost ([127.0.0.1]:32848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lulyf-0004Md-H4 for submit@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0x2d@disroot.org>) id 1lulyX-0004Ld-Dq for 49123@debbugs.gnu.org; Sat, 19 Jun 2021 21:10:13 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F14AC5C932; Sun, 20 Jun 2021 03:10:12 +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 izb5fw79Uetx; Sun, 20 Jun 2021 03:10:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1624151411; bh=muSRmiesjAeFcuN2Q/S3zAr5VdMsQ2R9sa93THrVbxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PNHfunj3Nn1AN/+61jMX4hSSXaO6kOa5+bRHJY+kuShc0vuUgWZG/BRernDH/+QTd uLgH3S/apXG3dwDWNS4euzHGRJbp5YuRFRZW8iDvnCtGtvNyOgbQm+xtdsQiv6YlQp r0MtkYDOljH4rOzneLJ05W25tU7lpX4FDzE02fMhhoVnZnyL2BPqFekDaqKnFequxa U2OXkYxeSCfK56pxDUQcBCVzSxoReD67BHhnOI27jPIxk9OrezvwU3RcAxAyaLYK6q AnaRv+GuMBgalmtsQ5Or3d7JceY31lm5PC/E1b0APYfmtOOv8xYmBib2c2MLf6PwVV +td8oTvWVhf6Q== Date: Sat, 19 Jun 2021 22:07:40 -0300 Message-Id: <20210620010742.4259-22-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=1624151482; 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=xZQW1IDR/bpCO/CRBrxJoMZyn+qIIHEqvnWzPTIt2qI=; b=pdXXQPLew/TuLa/ochw7U1A3rR5PBnTqNR0j30+zjFljtzoAXKC3eMcwhW88vlhRuy/HE9 3TTky7iloc12rd51GG+7RBHVSbUK4GC26vBEpOY5LkHaT9DjeSUE8osHFTeIf8/DZPGoZE x063v8MQA8BGzinbDpJB7HWIxW1Oztsxs23Vbb3ybVwDu/QS+PQXZwECcgzmpGNaIJGr/E REEfRuhI1UU4I02HQFaBBPIDKaPkGrbqKOotlez4qjXEaRdycKnBmwAQqzSR4kUKQyPqN8 IjaThLagaOdEAM6Z5vA954B1ZzP5P+oywRKDlvaKjbvVLKzrGfzmoiQn7+FSUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624151482; a=rsa-sha256; cv=none; b=ja2Yq/NI7JIupqADf1Fq5ua85poTUsgK4Zw8+xXbym2vySa4N3gThZZWj1Go1+yteAFOWU X85nrg4xIh23coxNIz2/GQ3Mcm0Yp3atrQlOegGw9XmC9Imbb/cPEeYwmR2g/GbAuge2sl g1SVqhtsRMC/kReWE13MosMhlV+D0kSGZWibN/GIDPSd/G61kubqTgwpWjwBdECgyoN6dK no6V3Ih8x/ynuqXGwKm89aSqEir9XpMojb+uOm0nULTy8+bKPVx76xOzVjwvicaOYsV9yd B9PLXDhCilZJCrLjZxaOvVzDJUa/oq3zQEsHDrTLUI6R9qo0D6CGNpJD+YkWSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=PNHfunj3; 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=PNHfunj3; 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: 55155139A7 X-Spam-Score: 1.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: Dn+SISbbY2aK * gnu/packages/python-xyz.scm (python-redbaron): New variable. --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6096ba29d1..6dd42d5455 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26115,3 +26115,38 @@ 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))) + +(define-public python-redbaron + (package + (name "python-redbaron") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "redbaron" version)) + (sha256 + (base32 + "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7")))) + (build-system python-build-system) + ;;(native-inputs + ;; `(("python-pytest" ,python-pytest))) ;; Uncomment when tests fixed + (propagated-inputs + `(("python-baron" ,python-baron))) + (arguments + `(#:tests? #f ;; Syntax error in tests, enable when fixed + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "tests/"))))))) + (home-page "https://github.com/PyCQA/redbaron") + (synopsis "Tool for writing code that modifies source code") + (description "RedBaron is a python library and tool powerful +enough to be used into IPython solely that intent to make the process +of writing code that modify source code as easy and as simple as +possible. That include writing custom refactoring, generic refactoring, +tools, IDE or directly modifying you source code into IPython with a +higher and more powerful abstraction than the advanced texts +modification tools that you find in advanced text editors and IDE.") + (license license:lgpl3))) -- 2.32.0