From patchwork Tue Oct 15 07:41:28 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: 15742 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 6BF8617561; Tue, 15 Oct 2019 08:42: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 24B10174BF for ; Tue, 15 Oct 2019 08:42:09 +0100 (BST) Received: from localhost ([::1]:36244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKHT6-00075g-Mz for patchwork@mira.cbaines.net; Tue, 15 Oct 2019 03:42:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKHT1-00072v-Kl for guix-patches@gnu.org; Tue, 15 Oct 2019 03:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKHT0-00085N-Ct for guix-patches@gnu.org; Tue, 15 Oct 2019 03:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKHT0-00085B-9B for guix-patches@gnu.org; Tue, 15 Oct 2019 03:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKHT0-0007t9-5L for guix-patches@gnu.org; Tue, 15 Oct 2019 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter. 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:42: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.157112529230285 (code B ref 37598); Tue, 15 Oct 2019 07:42:02 +0000 Received: (at 37598) by debbugs.gnu.org; 15 Oct 2019 07:41:32 +0000 Received: from localhost ([127.0.0.1]:42648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKHSW-0007sP-52 for submit@debbugs.gnu.org; Tue, 15 Oct 2019 03:41:32 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:39453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKHSU-0007sG-TG for 37598@debbugs.gnu.org; Tue, 15 Oct 2019 03:41:31 -0400 X-Originating-IP: 176.159.32.89 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 298141BF203 for <37598@debbugs.gnu.org>; Tue, 15 Oct 2019 07:41:28 +0000 (UTC) Date: Tue, 15 Oct 2019 09:41:28 +0200 From: Tanguy Le Carrour Message-ID: <20191015074128.im2kplvat4i3vwvv@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 cf7ec0ca0510536bd7b067b81ba02fdcaadb8c0c Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 3 Oct 2019 09:23:24 +0200 Subject: [PATCH 4/4] gnu: Add python-cookiecutter. * gnu/packages/python-xyz.scm (python-cookiecutter): New public variable. --- gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1a175295e7..ca3b033c71 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9150,6 +9150,45 @@ 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-cookiecutter + (package + (name "python-cookiecutter") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cookiecutter" version)) + (sha256 + (base32 + "0glsvaz8igi2wy1hsnhm9fkn6560vdvdixzvkq6dn20z3hpaa5hk")))) + (build-system python-build-system) + (native-inputs + `(("python-freezegun" ,python-freezegun) + ("python-pytest" ,python-pytest) + ("python-pytest-catchlog" ,python-pytest-catchlog) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock))) + (propagated-inputs + `(("python-binaryornot" ,python-binaryornot) + ("python-click" ,python-click) + ("python-future" ,python-future) + ("python-jinja2" ,python-jinja2) + ("python-jinja2-time" ,python-jinja2-time) + ("python-poyo" ,python-poyo) + ("python-requests" ,python-requests) + ("python-whichcraft" ,python-whichcraft))) + (home-page + "https://github.com/audreyr/cookiecutter") + (synopsis + "Command-line utility that creates projects from project templates") + (description + "A command-line utility that creates projects from project templates, +e.g. creating a Python package project from a Python package project +template. It's cross-platform (Windows, Mac, and Linux are officially +supported). It works with Python 2.7, 3.4, 3.5, 3.6, and PyPy. Project templates +can be in any programming language or markup format.") + (license license:bsd-3))) + (define-public python-pyquery (package (name "python-pyquery")