From unknown Sat Jun 21 03:29:26 2025 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 From unknown Sat Jun 21 03:29:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tanguy Le Carrour Subject: bug#42791: closed (Re: [bug#42791] [PATCH] gnu: Add python-devtools.) Message-ID: References: <87tuxag68r.fsf@gnu.org> <20200810075517.4816-1-tanguy@bioneland.org> X-Gnu-PR-Message: they-closed 42791 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42791@debbugs.gnu.org Date: Mon, 10 Aug 2020 10:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1597054322-6270-1" This is a multi-part message in MIME format... ------------=_1597054322-6270-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42791: [PATCH] gnu: Add python-devtools. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42791@debbugs.gnu.org. --=20 42791: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42791 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1597054322-6270-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42791-done) by debbugs.gnu.org; 10 Aug 2020 10:11:58 +0000 Received: from localhost ([127.0.0.1]:34476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k54mc-0001co-7g for submit@debbugs.gnu.org; Mon, 10 Aug 2020 06:11:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k54ma-0001cb-H5 for 42791-done@debbugs.gnu.org; Mon, 10 Aug 2020 06:11:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46997) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k54mU-0006iu-8Z; Mon, 10 Aug 2020 06:11:50 -0400 Received: from [2a01:e0a:19b:d9a0:3107:b202:556:bd51] (port=46630 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k54mT-0000vD-Od; Mon, 10 Aug 2020 06:11:49 -0400 From: Mathieu Othacehe To: Tanguy Le Carrour Subject: Re: [bug#42791] [PATCH] gnu: Add python-devtools. References: <20200810075517.4816-1-tanguy@bioneland.org> Date: Mon, 10 Aug 2020 12:11:48 +0200 In-Reply-To: <20200810075517.4816-1-tanguy@bioneland.org> (Tanguy Le Carrour's message of "Mon, 10 Aug 2020 09:55:17 +0200") Message-ID: <87tuxag68r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42791-done Cc: 42791-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > * gnu/packages/python-xyz.scm (python-devtools): New variable. Fixed indentation, edited synopsis and description and pushed! Thanks, Mathieu ------------=_1597054322-6270-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-devtools. 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-Debbugs-Envelope-To: submit Cc: Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 ------------=_1597054322-6270-1--