From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6OUIKZn9MF9yVQAA0tVLHw (envelope-from ) for ; Mon, 10 Aug 2020 07:56:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CMbfJJn9MF8tQwAAB5/wlQ (envelope-from ) for ; Mon, 10 Aug 2020 07:56:09 +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 277B19401CB for ; Mon, 10 Aug 2020 07:56:09 +0000 (UTC) Received: from localhost ([::1]:41628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k52f8-0006EE-By for larch@yhetil.org; Mon, 10 Aug 2020 03:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k52f4-0006Dz-NV for guix-patches@gnu.org; Mon, 10 Aug 2020 03:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50959) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k52f4-0006Ix-Cw for guix-patches@gnu.org; Mon, 10 Aug 2020 03:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k52f4-0006PE-CE for guix-patches@gnu.org; Mon, 10 Aug 2020 03:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42791] [PATCH] gnu: Add python-devtools. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Aug 2020 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42791 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42791@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159704614224579 (code B ref -1); Mon, 10 Aug 2020 07:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2020 07:55:42 +0000 Received: from localhost ([127.0.0.1]:34264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k52ek-0006ON-CG for submit@debbugs.gnu.org; Mon, 10 Aug 2020 03:55:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:44076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k52ej-0006OD-3i for submit@debbugs.gnu.org; Mon, 10 Aug 2020 03:55:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k52ei-0006Ag-Rc for guix-patches@gnu.org; Mon, 10 Aug 2020 03:55:40 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k52eg-0006Af-Jg for guix-patches@gnu.org; Mon, 10 Aug 2020 03:55:40 -0400 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPA id 75C52C0006; Mon, 10 Aug 2020 07:55:33 +0000 (UTC) From: Tanguy Le Carrour Date: Mon, 10 Aug 2020 09:55:17 +0200 Message-Id: <20200810075517.4816-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.198; envelope-from=tanguy@bioneland.org; helo=relay6-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/10 03:55:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: 3.99 X-TUID: t7C+VB6Hb4ie * gnu/packages/python-xyz.scm (python-devtools): 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 4026d13f2d..1ecec43ed2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21532,3 +21532,35 @@ and have a maximum lifetime built-in.") "This package contains a small collection of test tool plugins for @code{nose2} and @code{flake8}.") (license license:asl2.0))) + +(define-public python-devtools + (package + (name "python-devtools") + (version "0.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/python-devtools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15zczdcm90wl54c68f1qjb05nkd5bjsc9xjl3lk4frs7k7wkmrvp")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-mock" ,python-pytest-mock))) + (propagated-inputs + `(("python-pygments" ,python-pygments))) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest") + #t))))) + (home-page "https://github.com/samuelcolvin/python-devtools") + (synopsis "Python's missing debug print command and other development tools") + (description + "Python's missing debug print command and other development tools. +Adds a simple and readable way to print stuff during development.") + (license license:expat))) -- 2.28.0