From patchwork Tue Oct 15 07:40:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 15741 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B2BDE17561; Tue, 15 Oct 2019 08:41:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6B5E8174BF for ; Tue, 15 Oct 2019 08:41:09 +0100 (BST) Received: from localhost ([::1]:36218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKHS9-0006l0-0W for patchwork@mira.cbaines.net; Tue, 15 Oct 2019 03:41:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50404) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKHS3-0006iE-W7 for guix-patches@gnu.org; Tue, 15 Oct 2019 03:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKHS2-0007kl-VW for guix-patches@gnu.org; Tue, 15 Oct 2019 03:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKHS2-0007kh-S9 for guix-patches@gnu.org; Tue, 15 Oct 2019 03:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKHS2-0007rW-OY for guix-patches@gnu.org; Tue, 15 Oct 2019 03:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft. References: <20191003121316.irq3vdmu4ov6dygb@rafflesia> In-Reply-To: <20191003121316.irq3vdmu4ov6dygb@rafflesia> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Oct 2019 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37598 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37598@debbugs.gnu.org Received: via spool by 37598-submit@debbugs.gnu.org id=B37598.157112526230216 (code B ref 37598); Tue, 15 Oct 2019 07:41:02 +0000 Received: (at 37598) by debbugs.gnu.org; 15 Oct 2019 07:41:02 +0000 Received: from localhost ([127.0.0.1]:42643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKHS1-0007rE-Q3 for submit@debbugs.gnu.org; Tue, 15 Oct 2019 03:41:02 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:54209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKHS0-0007qw-Nw for 37598@debbugs.gnu.org; Tue, 15 Oct 2019 03:41:01 -0400 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id E8BF5200008 for <37598@debbugs.gnu.org>; Tue, 15 Oct 2019 07:40:59 +0000 (UTC) Date: Tue, 15 Oct 2019 09:40:59 +0200 From: Tanguy Le Carrour Message-ID: <20191015074059.dxk6koux65jdaaqi@rafflesia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 7e6bea798c400db245ae77c12b667cd3771dfb45 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 0852877eb2..1a175295e7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9127,6 +9127,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")