unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs
@ 2019-10-03 12:13 Tanguy Le Carrour
  2019-10-03 12:16 ` [bug#37598] [PATCH 1/4] " Tanguy Le Carrour
                   ` (17 more replies)
  0 siblings, 18 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-03 12:13 UTC (permalink / raw)
  To: 37598

Add packages for [cookiecutter][] and its inputs.

[cookiecutter]: https://github.com/cookiecutter/cookiecutter

-- 
Tanguy

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add Cookiecutter and its inputs
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
@ 2019-10-03 12:16 ` Tanguy Le Carrour
  2019-10-03 12:17 ` [bug#37598] [PATCH 2/4] " Tanguy Le Carrour
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-03 12:16 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]


-- 
Tanguy

[-- Attachment #2: 0001-gnu-Add-Cookiecutter-and-its-inputs.patch --]
[-- Type: text/plain, Size: 1695 bytes --]

From dc07c609430e9e63dd4d87b71d84545db87d9f8c Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:05:26 +0200
Subject: [PATCH 1/4] gnu: Add Cookiecutter and its inputs

---
 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 413d68c258..e041adfdc4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2475,6 +2476,28 @@ written in pure Python.")
 (define-public python2-jinja2
   (package-with-python2 python-jinja2))
 
+(define-public python-jinja2-time
+  (package
+    (name "python-jinja2-time")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "jinja2-time" version))
+        (sha256
+          (base32
+            "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-arrow" ,python-arrow)
+        ("python-jinja2" ,python-jinja2)))
+    (home-page
+      "https://github.com/hackebrot/jinja2-time")
+    (synopsis "Jinja2 Extension for Dates and Times")
+    (description
+      "Jinja2 Extension for Dates and Times")
+    (license license:expat)))
+
 (define-public python-pystache
   (package
     (name "python-pystache")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 2/4] gnu: Add Cookiecutter and its inputs
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
  2019-10-03 12:16 ` [bug#37598] [PATCH 1/4] " Tanguy Le Carrour
@ 2019-10-03 12:17 ` Tanguy Le Carrour
  2019-10-03 12:18 ` [bug#37598] [PATCH 3/4] " Tanguy Le Carrour
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-03 12:17 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]


-- 
Tanguy

[-- Attachment #2: 0002-gnu-Add-Cookiecutter-and-its-inputs.patch --]
[-- Type: text/plain, Size: 1232 bytes --]

From b1a708198ea93c5a6d591d6b4ac864819de432e3 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:13:59 +0200
Subject: [PATCH 2/4] gnu: Add Cookiecutter and its inputs

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e041adfdc4..eb326aae6f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1552,6 +1552,25 @@ existing ones.")
                    ;; Tests don't work with python2.
                    #:tests? #f)))))
 
+(define-public python-poyo
+  (package
+    (name "python-poyo")
+    (version "0.5.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "poyo" version))
+        (sha256
+          (base32
+            "1pflivs6j22frz0v3dqxnvc8yb8fb52g11lqr88z0i8cg2m5csg2"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/hackebrot/poyo")
+    (synopsis
+      "Lightweight YAML Parser for Python")
+    (description
+      "A lightweight YAML Parser for Python.")
+    (license license:expat)))
+
 (define-public scons
   (package
     (name "scons")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 3/4] gnu: Add Cookiecutter and its inputs
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
  2019-10-03 12:16 ` [bug#37598] [PATCH 1/4] " Tanguy Le Carrour
  2019-10-03 12:17 ` [bug#37598] [PATCH 2/4] " Tanguy Le Carrour
@ 2019-10-03 12:18 ` Tanguy Le Carrour
  2019-10-03 12:19 ` [bug#37598] [PATCH 4/4] " Tanguy Le Carrour
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-03 12:18 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]


-- 
Tanguy

[-- Attachment #2: 0003-gnu-Add-Cookiecutter-and-its-inputs.patch --]
[-- Type: text/plain, Size: 1439 bytes --]

From 3d244fab04f6de3dcdd888ce1e1877f8f6b2b0f0 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:17:05 +0200
Subject: [PATCH 3/4] gnu: Add Cookiecutter and its inputs

---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index eb326aae6f..df64e780d8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9108,6 +9108,28 @@ 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
+      "This package provides cross-platform cross-python shutil.which functionality")
+    (description
+      "This package provides cross-platform cross-python shutil.which functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 4/4] gnu: Add Cookiecutter and its inputs
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (2 preceding siblings ...)
  2019-10-03 12:18 ` [bug#37598] [PATCH 3/4] " Tanguy Le Carrour
@ 2019-10-03 12:19 ` Tanguy Le Carrour
  2019-10-04  7:00 ` [bug#37598] [PATCH 0/4] gnu: Add python-cookiecutter " Tanguy Le Carrour
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-03 12:19 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]


-- 
Tanguy

[-- Attachment #2: 0004-gnu-Add-Cookiecutter-and-its-inputs.patch --]
[-- Type: text/plain, Size: 2154 bytes --]

From 2d0e7649de9e34fd3dd73f78d00f6b9dde9acc4a Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:23:24 +0200
Subject: [PATCH 4/4] gnu: Add Cookiecutter and its inputs

---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index df64e780d8..d2bd1a661d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9130,6 +9130,41 @@ server with very acceptable performance.")
       "This package provides cross-platform cross-python shutil.which functionality.")
     (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.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 0/4] gnu: Add python-cookiecutter and its inputs.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (3 preceding siblings ...)
  2019-10-03 12:19 ` [bug#37598] [PATCH 4/4] " Tanguy Le Carrour
@ 2019-10-04  7:00 ` Tanguy Le Carrour
  2019-10-04  7:20 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:00 UTC (permalink / raw)
  To: 37598

I've just figured out that the patches were not properly inlined!
Sorry for that! I'm re-sending them.

-- 
Tanguy

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (4 preceding siblings ...)
  2019-10-04  7:00 ` [bug#37598] [PATCH 0/4] gnu: Add python-cookiecutter " Tanguy Le Carrour
@ 2019-10-04  7:20 ` Tanguy Le Carrour
  2019-10-04  7:50   ` Mathieu Othacehe
  2019-10-04  7:21 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
                   ` (11 subsequent siblings)
  17 siblings, 1 reply; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:20 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1674 bytes --]

From 4a36e29b417f5a3ca109f3148d8352f6177dc52d Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:05:26 +0200
Subject: [PATCH 1/4] gnu: Add python-jinja2-time.

---
 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 413d68c258..6309ac4b8e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2475,6 +2476,28 @@ written in pure Python.")
 (define-public python2-jinja2
   (package-with-python2 python-jinja2))
 
+(define-public python-jinja2-time
+  (package
+    (name "python-jinja2-time")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jinja2-time" version))
+       (sha256
+        (base32
+         "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-jinja2" ,python-jinja2)))
+    (home-page
+     "https://github.com/hackebrot/jinja2-time")
+    (synopsis "Jinja2 Extension for Dates and Times")
+    (description
+     "Jinja2 Extension for Dates and Times")
+    (license license:expat)))
+
 (define-public python-pystache
   (package
     (name "python-pystache")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 2/4] gnu: Add python-poyo.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (5 preceding siblings ...)
  2019-10-04  7:20 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
@ 2019-10-04  7:21 ` Tanguy Le Carrour
  2019-10-04  7:23 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:21 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1206 bytes --]

From d813e412ef063f4b1574a631d66ef526f955e044 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:13:59 +0200
Subject: [PATCH 2/4] gnu: Add python-poyo.

---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6309ac4b8e..a21029a5dc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1552,6 +1552,25 @@ existing ones.")
                    ;; Tests don't work with python2.
                    #:tests? #f)))))
 
+(define-public python-poyo
+  (package
+    (name "python-poyo")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poyo" version))
+       (sha256
+        (base32
+         "1pflivs6j22frz0v3dqxnvc8yb8fb52g11lqr88z0i8cg2m5csg2"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/hackebrot/poyo")
+    (synopsis
+     "Lightweight YAML Parser for Python")
+    (description
+     "A lightweight YAML Parser for Python.")
+    (license license:expat)))
+
 (define-public scons
   (package
     (name "scons")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (6 preceding siblings ...)
  2019-10-04  7:21 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
@ 2019-10-04  7:23 ` Tanguy Le Carrour
  2019-10-04  7:24 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:23 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1417 bytes --]

From 400f3e8de89021604a0aae16df9eab28cf8f56e7 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:17:05 +0200
Subject: [PATCH 3/4] gnu: Add python-whichcraft.

---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a21029a5dc..cd3a3e6c99 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9108,6 +9108,28 @@ 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
+     "This package provides cross-platform cross-python shutil.which functionality")
+    (description
+     "This package provides cross-platform cross-python shutil.which functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (7 preceding siblings ...)
  2019-10-04  7:23 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
@ 2019-10-04  7:24 ` Tanguy Le Carrour
  2019-10-14 14:29 ` [bug#37598] Updating patches Tanguy Le Carrour
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:24 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 2122 bytes --]

From ef47c7b065efa56c773ed66eff92984b15a4b6fd Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:23:24 +0200
Subject: [PATCH 4/4] gnu: Add python-cookiecutter.

---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cd3a3e6c99..9cdd1f2e70 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9130,6 +9130,41 @@ server with very acceptable performance.")
      "This package provides cross-platform cross-python shutil.which functionality.")
     (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.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-04  7:20 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
@ 2019-10-04  7:50   ` Mathieu Othacehe
  2019-10-13 22:02     ` Ludovic Courtès
  0 siblings, 1 reply; 26+ messages in thread
From: Mathieu Othacehe @ 2019-10-04  7:50 UTC (permalink / raw)
  To: 37598


Hello Tanguy,

Thanks for your patches. A few remarks (more details at
https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html):

> Subject: [PATCH 1/4] gnu: Add python-jinja2-time.
>

You need to add a commit message, compliant with ChangeLog format. You
can find examples in commit history.

> +    (description
> +     "Jinja2 Extension for Dates and Times")

Description should follow the rules dictated at
https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions,
most specifically "Descriptions should take between five and ten
lines. Use full sentences, and avoid using acronyms without first
introducing them".

Otherwise, your serie seems fine :)

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-04  7:50   ` Mathieu Othacehe
@ 2019-10-13 22:02     ` Ludovic Courtès
  2019-10-14  7:09       ` Tanguy Le Carrour
  0 siblings, 1 reply; 26+ messages in thread
From: Ludovic Courtès @ 2019-10-13 22:02 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 37598, Mathieu Othacehe

Hi Tanguy,

Did you have a chance to look into Mathieu’s suggestions (below)?

We’re almost there so let’s make sure we don’t forget about this patch
series!

Thanks in advance,
Ludo’.

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> Hello Tanguy,
>
> Thanks for your patches. A few remarks (more details at
> https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html):
>
>> Subject: [PATCH 1/4] gnu: Add python-jinja2-time.
>>
>
> You need to add a commit message, compliant with ChangeLog format. You
> can find examples in commit history.
>
>> +    (description
>> +     "Jinja2 Extension for Dates and Times")
>
> Description should follow the rules dictated at
> https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions,
> most specifically "Descriptions should take between five and ten
> lines. Use full sentences, and avoid using acronyms without first
> introducing them".
>
> Otherwise, your serie seems fine :)
>
> Thanks,
>
> Mathieu

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-13 22:02     ` Ludovic Courtès
@ 2019-10-14  7:09       ` Tanguy Le Carrour
  2019-10-14 20:25         ` Ludovic Courtès
  2019-10-15 12:28         ` bug#37598: " Mathieu Othacehe
  0 siblings, 2 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14  7:09 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 37598, Mathieu Othacehe

Hi Ludovic, Hi Mathieu!


Le 10/14, Ludovic Courtès a écrit :
> Did you have a chance to look into Mathieu’s suggestions (below)?

No!… because I don't get notifications when someone sends a comment on a
bug I opened! :-(
I have to go and check the 2 others I opened, I guess! I hope I didn't
seem to give up on them!


> Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> > Hello Tanguy,

Sorry for not answering! And thanks for the time you spent into
reviewing my patches!


> > Thanks for your patches. A few remarks (more details at
> > https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html):
> >
> >> Subject: [PATCH 1/4] gnu: Add python-jinja2-time.
> >
> > You need to add a commit message, compliant with ChangeLog format. You
> > can find examples in commit history.

I have to confess that I am… a minimalist! :-)
I thought that `gnu: Add python-jinja2-time.` would be enough and I didn't have
to go into more details about the "why"!
Please believe me when I say that it was not out of laziness.
I'll go dig into commit messages and see what I have to add.


> >> +    (description
> >> +     "Jinja2 Extension for Dates and Times")
> >
> > Description should follow the rules dictated at
> > https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions,
> > most specifically "Descriptions should take between five and ten
> > lines. Use full sentences, and avoid using acronyms without first
> > introducing them".

OK, this one was pure laziness! So far, I've never modified description/synopsis
provided by `guix import`.
I guess, now that I'm more comfortable with the process, I can focus more on
"what" I am submitting and less on "how" I am submitting it!

Thanks again guys for your time. I'll fix the patches and resubmit them as
soon as I can!


-- 
Tanguy

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] Updating patches
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (8 preceding siblings ...)
  2019-10-04  7:24 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
@ 2019-10-14 14:29 ` Tanguy Le Carrour
  2019-10-14 15:20   ` Mathieu Othacehe
  2019-10-14 14:30 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
                   ` (7 subsequent siblings)
  17 siblings, 1 reply; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 14:29 UTC (permalink / raw)
  To: 37598

I've updated the commit messages.

For the "descriptions", I did what I could, but the one for
python-jinja2-time will remain "Jinja2 Extension for Dates and Times".
Am I supposed to put more than what is on the source code?

-- 
Tanguy

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (9 preceding siblings ...)
  2019-10-14 14:29 ` [bug#37598] Updating patches Tanguy Le Carrour
@ 2019-10-14 14:30 ` Tanguy Le Carrour
  2019-10-14 14:31 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 14:30 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1736 bytes --]

From 46e1cf437a89a045f78b4d07c3d6865edbecea19 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:05:26 +0200
Subject: [PATCH 1/4] gnu: Add python-jinja2-time.

* gnu/packages/python-xyz.scm (python-jinja2-time): New public variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8137d665fd..2bcf352278 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2495,6 +2496,27 @@ written in pure Python.")
 (define-public python2-jinja2
   (package-with-python2 python-jinja2))
 
+(define-public python-jinja2-time
+  (package
+    (name "python-jinja2-time")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jinja2-time" version))
+       (sha256
+        (base32
+         "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-jinja2" ,python-jinja2)))
+    (home-page
+     "https://github.com/hackebrot/jinja2-time")
+    (synopsis "Jinja2 Extension for Dates and Times")
+    (description "Jinja2 Extension for Dates and Times.")
+    (license license:expat)))
+
 (define-public python-pystache
   (package
     (name "python-pystache")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 2/4] gnu: Add python-poyo.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (10 preceding siblings ...)
  2019-10-14 14:30 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
@ 2019-10-14 14:31 ` Tanguy Le Carrour
  2019-10-14 14:31 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 14:31 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1253 bytes --]

From 37783c5809b0ca20ef0c8fdd0a9667881ed04ade Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:13:59 +0200
Subject: [PATCH 2/4] gnu: Add python-poyo.

* gnu/packages/python-xyz.scm (python-poyo): New public variable.
---
 gnu/packages/python-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2bcf352278..6a137c9c90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1572,6 +1572,23 @@ existing ones.")
                    ;; Tests don't work with python2.
                    #:tests? #f)))))
 
+(define-public python-poyo
+  (package
+    (name "python-poyo")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poyo" version))
+       (sha256
+        (base32
+         "1pflivs6j22frz0v3dqxnvc8yb8fb52g11lqr88z0i8cg2m5csg2"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/hackebrot/poyo")
+    (synopsis "Lightweight YAML Parser for Python")
+    (description "A lightweight YAML Parser for Python.")
+    (license license:expat)))
+
 (define-public scons
   (package
     (name "scons")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (11 preceding siblings ...)
  2019-10-14 14:31 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
@ 2019-10-14 14:31 ` Tanguy Le Carrour
  2019-10-14 14:32 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 14:31 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1557 bytes --]

From d3c25dee610fbf6f7e06166bd001d5c0b6b39809 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
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


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (12 preceding siblings ...)
  2019-10-14 14:31 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
@ 2019-10-14 14:32 ` Tanguy Le Carrour
  2019-10-15  7:37 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 14:32 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 2187 bytes --]

From 477884a1dc3a479bba89d44a9f0f1ef5189c3e09 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@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 | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5874725f8e..a7580519f9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9143,6 +9143,42 @@ 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.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] Updating patches
  2019-10-14 14:29 ` [bug#37598] Updating patches Tanguy Le Carrour
@ 2019-10-14 15:20   ` Mathieu Othacehe
  0 siblings, 0 replies; 26+ messages in thread
From: Mathieu Othacehe @ 2019-10-14 15:20 UTC (permalink / raw)
  To: 37598


Hey Tanguy,

> I've updated the commit messages.

Good!

>
> For the "descriptions", I did what I could, but the one for
> python-jinja2-time will remain "Jinja2 Extension for Dates and Times".
> Am I supposed to put more than what is on the source code?

Yes, as I said earlier, you need to make a full sentence, for example:

"This package provides an extension to Jinja2 to support dates and
times."

Then it would be nice to add some more informations if possible. For
instance Debian is saying that:

"This extension for the template engine Jinja2 adds a "now" tag
providing a convenient access to the arrow.now() API from templates. A
format string can be provided to control the output."

This is also true for the rest of the serie.

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-14  7:09       ` Tanguy Le Carrour
@ 2019-10-14 20:25         ` Ludovic Courtès
  2019-10-15 12:28         ` bug#37598: " Mathieu Othacehe
  1 sibling, 0 replies; 26+ messages in thread
From: Ludovic Courtès @ 2019-10-14 20:25 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 37598, Mathieu Othacehe

Hi,

Tanguy Le Carrour <tanguy@bioneland.org> skribis:

> Thanks again guys for your time. I'll fix the patches and resubmit them as
> soon as I can!

Alright, thank you!  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (13 preceding siblings ...)
  2019-10-14 14:32 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
@ 2019-10-15  7:37 ` Tanguy Le Carrour
  2019-10-15  7:38 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-15  7:37 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1896 bytes --]

From db4b5fe42bab56aca9fd5d5846349f3dd3c72d1d Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:05:26 +0200
Subject: [PATCH 1/4] gnu: Add python-jinja2-time.

* gnu/packages/python-xyz.scm (python-jinja2-time): New public variable.
---
 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 d555512ed7..74898d1a87 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2495,6 +2496,30 @@ written in pure Python.")
 (define-public python2-jinja2
   (package-with-python2 python-jinja2))
 
+(define-public python-jinja2-time
+  (package
+    (name "python-jinja2-time")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jinja2-time" version))
+       (sha256
+        (base32
+         "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-jinja2" ,python-jinja2)))
+    (home-page
+     "https://github.com/hackebrot/jinja2-time")
+    (synopsis "Jinja2 Extension for Dates and Times")
+    (description
+     "This extension for the template engine Jinja2 adds a 'now' tag providing
+a convenient access to the arrow.now() API from templates. A format string can
+be provided to control the output.")
+    (license license:expat)))
+
 (define-public python-pystache
   (package
     (name "python-pystache")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 2/4] gnu: Add python-poyo.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (14 preceding siblings ...)
  2019-10-15  7:37 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
@ 2019-10-15  7:38 ` Tanguy Le Carrour
  2019-10-15  7:40 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
  2019-10-15  7:41 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-15  7:38 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1467 bytes --]

From a08b69b276c31b42b13d86732c93abc6984b6048 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:13:59 +0200
Subject: [PATCH 2/4] gnu: Add python-poyo.

* gnu/packages/python-xyz.scm (python-poyo): New public variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 74898d1a87..0852877eb2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1572,6 +1572,27 @@ existing ones.")
                    ;; Tests don't work with python2.
                    #:tests? #f)))))
 
+(define-public python-poyo
+  (package
+    (name "python-poyo")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poyo" version))
+       (sha256
+        (base32
+         "1pflivs6j22frz0v3dqxnvc8yb8fb52g11lqr88z0i8cg2m5csg2"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/hackebrot/poyo")
+    (synopsis "Lightweight YAML Parser for Python")
+    (description
+     "A lightweight YAML Parser for Python. It supports only a chosen subset
+of the YAML format that is required to parse cookiecutter user configuration
+files. It does not have support for serializing into YAML and is not compatible
+with JSON.")
+    (license license:expat)))
+
 (define-public scons
   (package
     (name "scons")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (15 preceding siblings ...)
  2019-10-15  7:38 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
@ 2019-10-15  7:40 ` Tanguy Le Carrour
  2019-10-15  7:41 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-15  7:40 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 1557 bytes --]

From 7e6bea798c400db245ae77c12b667cd3771dfb45 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
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")
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter.
  2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
                   ` (16 preceding siblings ...)
  2019-10-15  7:40 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
@ 2019-10-15  7:41 ` Tanguy Le Carrour
  17 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-15  7:41 UTC (permalink / raw)
  To: 37598

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 2386 bytes --]

From cf7ec0ca0510536bd7b067b81ba02fdcaadb8c0c Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@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


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* bug#37598: [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-14  7:09       ` Tanguy Le Carrour
  2019-10-14 20:25         ` Ludovic Courtès
@ 2019-10-15 12:28         ` Mathieu Othacehe
  2019-10-15 13:14           ` [bug#37598] " Tanguy Le Carrour
  1 sibling, 1 reply; 26+ messages in thread
From: Mathieu Othacehe @ 2019-10-15 12:28 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: Ludovic Courtès, 37598-done


Hello Tanguy,

> Thanks again guys for your time. I'll fix the patches and resubmit them as
> soon as I can!

I pushed this serie with a few adjustments to description fields.

Thanks,

Mathieu

^ permalink raw reply	[flat|nested] 26+ messages in thread

* [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time.
  2019-10-15 12:28         ` bug#37598: " Mathieu Othacehe
@ 2019-10-15 13:14           ` Tanguy Le Carrour
  0 siblings, 0 replies; 26+ messages in thread
From: Tanguy Le Carrour @ 2019-10-15 13:14 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: Ludovic Courtès, 37598-done

Le 10/15, Mathieu Othacehe a écrit :
> I pushed this serie with a few adjustments to description fields.

Thanks! Can't wait to see the adjustments! :-) So many things I still
have to learn!

-- 
Tanguy

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2019-10-15 13:15 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 12:13 [bug#37598] [PATCH 0/4] gnu: Add Cookiecutter and its inputs Tanguy Le Carrour
2019-10-03 12:16 ` [bug#37598] [PATCH 1/4] " Tanguy Le Carrour
2019-10-03 12:17 ` [bug#37598] [PATCH 2/4] " Tanguy Le Carrour
2019-10-03 12:18 ` [bug#37598] [PATCH 3/4] " Tanguy Le Carrour
2019-10-03 12:19 ` [bug#37598] [PATCH 4/4] " Tanguy Le Carrour
2019-10-04  7:00 ` [bug#37598] [PATCH 0/4] gnu: Add python-cookiecutter " Tanguy Le Carrour
2019-10-04  7:20 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
2019-10-04  7:50   ` Mathieu Othacehe
2019-10-13 22:02     ` Ludovic Courtès
2019-10-14  7:09       ` Tanguy Le Carrour
2019-10-14 20:25         ` Ludovic Courtès
2019-10-15 12:28         ` bug#37598: " Mathieu Othacehe
2019-10-15 13:14           ` [bug#37598] " Tanguy Le Carrour
2019-10-04  7:21 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-04  7:23 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-04  7:24 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
2019-10-14 14:29 ` [bug#37598] Updating patches Tanguy Le Carrour
2019-10-14 15:20   ` Mathieu Othacehe
2019-10-14 14:30 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
2019-10-14 14:31 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-14 14:31 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-14 14:32 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour
2019-10-15  7:37 ` [bug#37598] [PATCH 1/4] gnu: Add python-jinja2-time Tanguy Le Carrour
2019-10-15  7:38 ` [bug#37598] [PATCH 2/4] gnu: Add python-poyo Tanguy Le Carrour
2019-10-15  7:40 ` [bug#37598] [PATCH 3/4] gnu: Add python-whichcraft Tanguy Le Carrour
2019-10-15  7:41 ` [bug#37598] [PATCH 4/4] gnu: Add python-cookiecutter Tanguy Le Carrour

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).