GNU bug report logs - #37598
[PATCH 0/4] gnu: Add Cookiecutter and its inputs

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Thu, 3 Oct 2019 12:14:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37598 <at> debbugs.gnu.org
Subject: [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter.
Date: Tue, 15 Oct 2019 09:41:28 +0200
[Message part 1 (text/plain, inline)]

[Message part 2 (text/plain, inline)]
From cf7ec0ca0510536bd7b067b81ba02fdcaadb8c0c Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy <at> bioneland.org>
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")
-- 
2.23.0


This bug report was last modified 5 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.