From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50283) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK1OF-0005mE-SP for guix-patches@gnu.org; Mon, 14 Oct 2019 10:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK1OE-0002m4-Bg for guix-patches@gnu.org; Mon, 14 Oct 2019 10:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK1OE-0002ly-7k for guix-patches@gnu.org; Mon, 14 Oct 2019 10:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK1OE-00057r-3G for guix-patches@gnu.org; Mon, 14 Oct 2019 10:32:02 -0400 Subject: [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft. References: <20191003121316.irq3vdmu4ov6dygb@rafflesia> In-Reply-To: <20191003121316.irq3vdmu4ov6dygb@rafflesia> Resent-Message-ID: Date: Mon, 14 Oct 2019 16:31:53 +0200 From: Tanguy Le Carrour Message-ID: <20191014143153.dg5cam3hl7y7oubw@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qj36x3tpkkyynk45" Content-Disposition: inline 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: 37598@debbugs.gnu.org --qj36x3tpkkyynk45 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --qj36x3tpkkyynk45 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >From d3c25dee610fbf6f7e06166bd001d5c0b6b39809 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 3 Oct 2019 09:17:05 +0200 Subject: [PATCH 3/4] gnu: Add python-whichcraft. * gnu/packages/python-xyz.scm (python-whichcraft): New public variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6a137c9c90..5874725f8e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9120,6 +9120,29 @@ server with very acceptable performance.") (define-public python2-waitress (package-with-python2 python-waitress)) +(define-public python-whichcraft + (package + (name "python-whichcraft") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "whichcraft" version)) + (sha256 + (base32 + "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page + "https://github.com/pydanny/whichcraft") + (synopsis "Cross-platform cross-python shutil.which functionality") + (description + "A shim of the shutil.which function that's designed to work +across multiple versions of Python. The code for Python 2.x is based on +Python 3 code that I extracted from source.") + (license license:bsd-3))) + (define-public python-pyquery (package (name "python-pyquery") -- 2.23.0 --qj36x3tpkkyynk45--