From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNWFN-00074I-2k for guix-patches@gnu.org; Mon, 06 May 2019 01:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNWFM-0002We-19 for guix-patches@gnu.org; Mon, 06 May 2019 01:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNWFL-0002WY-Ug for guix-patches@gnu.org; Mon, 06 May 2019 01:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNWFL-0000Sp-Rp for guix-patches@gnu.org; Mon, 06 May 2019 01:33:03 -0400 Subject: [bug#35598] [PATCH 2/6] gnu: Add python-whichcraft, python2-whichcraft Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:55661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNTwu-0002fd-IL for guix-patches@gnu.org; Sun, 05 May 2019 23:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNTwt-0003a0-6n for guix-patches@gnu.org; Sun, 05 May 2019 23:05:52 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:34159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNTwr-0003RR-6r for guix-patches@gnu.org; Sun, 05 May 2019 23:05:51 -0400 Received: by mail-pl1-x62b.google.com with SMTP id ck18so5632546plb.1 for ; Sun, 05 May 2019 20:05:38 -0700 (PDT) From: Calvin Pritchard Date: Sun, 5 May 2019 20:05:03 -0700 Message-Id: <20190506030507.5469-3-pritchard.calvin@gmail.com> In-Reply-To: <20190506030507.5469-1-pritchard.calvin@gmail.com> References: <20190506030507.5469-1-pritchard.calvin@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35598@debbugs.gnu.org Cc: Calvin Pritchard From: Calvin Pritchard * gnu/packages/python-xyz.scm (python-whichcraft, python2-whichcraft). New variables. --- 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 bdc6f408f0..4cee74591d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2180,6 +2180,31 @@ Simply put, it helps you work with dates and times with fewer imports and a lot less code.") (license license:asl2.0))) +(define-public python-whichcraft + (package + (name "python-whichcraft") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "whichcraft" version)) + (sha256 + (base32 + "058qr17inlhp9354q1lr0qq31yhqzfd405djp1fzqzr33x9xvkgy")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page + "https://github.com/pydanny/whichcraft") + (synopsis + "Provides cross-platform cross-python shutil.which") + (description + "This package provides cross-platform cross-python shutil.which functionality.") + (license license:bsd-3))) + +(define-public python2-whichcraft + (package-with-python2 python-whichcraft)) + (define-public python-pympler (package (name "python-pympler") -- 2.17.1