all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#37704] [PATCH 0/9] gnu: Add python-poetry.
@ 2019-10-11 16:34 Tanguy Le Carrour
  2019-10-11 16:36 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                   ` (21 more replies)
  0 siblings, 22 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:34 UTC (permalink / raw)
  To: 37704

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



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

From d05ec73fc4c59048fee4daebb765811cb879c353 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Fri, 11 Oct 2019 18:08:12 +0200
Subject: [PATCH 0/9] gnu: Add python-poetry.

python-cachecontrol had to be updated to match Poetry dep requirements
and also because it was broken!
python-cachecontrol test suite relies on CherryPy, which is to big (for
me) to be packaged (at the moment), so tests had to be deactivated.

Tanguy Le Carrour (9):
  gnu: python-cleo: Update to 0.6.8.
  gnu: Add python-tomlkit.
  gnu: Add python-shellingham.
  gnu: Add python-memcached.
  gnu: Add python-clikit.
  gnu: Add python-msgpack-python.
  gnu: Add python-cachy.
  gnu: python-cachecontrol: Update to 0.12.5.
  gnu: Add python-poetry.

 gnu/packages/python-web.scm |  23 ++---
 gnu/packages/python-xyz.scm | 174 +++++++++++++++++++++++++++++++++++-
 2 files changed, 176 insertions(+), 21 deletions(-)

-- 
2.23.0


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

* [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
@ 2019-10-11 16:36 ` Tanguy Le Carrour
  2019-10-11 16:38 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:36 UTC (permalink / raw)
  To: 37704

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



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

From 8049ca23d4cfe63ffc6cb0f107cbbc38fe974622 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:24:05 +0200
Subject: [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c30532266c..ad48b75285 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10489,16 +10489,16 @@ Wikipedia code samples at
 (define-public python-cleo
   (package
     (name "python-cleo")
-    (version "0.6.1")
+    (version "0.6.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cleo" version))
               (sha256
                (base32
-                "0q1cf0szr0d54am4pypzwdnm74zpladdsinad94c2fz5i06fdpf7"))))
+                "06zp695hq835rkaq6irr1ds1dp2qfzyf32v60vxpd8rcnxv319l5"))))
     (build-system python-build-system)
     (native-inputs
-     `(;; For testing
+     `( ;; For testing
        ("python-mock" ,python-mock)
        ("python-pytest-mock" ,python-pytest-mock)
        ("python-pytest" ,python-pytest)))
-- 
2.23.0


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

* [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
  2019-10-11 16:36 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
@ 2019-10-11 16:38 ` Tanguy Le Carrour
  2019-10-11 16:39 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:38 UTC (permalink / raw)
  To: 37704

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



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

From 92d9d4b66f852e41f9068530e6128e99b3c7754a Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:34:10 +0200
Subject: [PATCH 2/9] gnu: Add python-tomlkit.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ad48b75285..f98a2f21e5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10516,6 +10516,26 @@ docstring and colored output.")
 (define-public python2-cleo
   (package-with-python2 python-cleo))
 
+(define-public python-tomlkit
+  (package
+    (name "python-tomlkit")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tomlkit" version))
+       (sha256
+        (base32
+         "18820ga5z3if1w8dvykxrfm000akracq01ic402xrbljgbn5grn4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/sdispater/tomlkit")
+    (synopsis "Style preserving TOML library")
+    (description "Style preserving TOML library")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 3/9] gnu: Add python-shellingham.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
  2019-10-11 16:36 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-11 16:38 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
@ 2019-10-11 16:39 ` Tanguy Le Carrour
  2019-10-11 16:39 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:39 UTC (permalink / raw)
  To: 37704

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



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

From 21d5dc146d5ba3dd8ed2c20fbdf82843923af9ff Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:39:17 +0200
Subject: [PATCH 3/9] gnu: Add python-shellingham.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f98a2f21e5..b82631d8e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10536,6 +10536,24 @@ docstring and colored output.")
     (description "Style preserving TOML library")
     (license license:expat)))
 
+(define-public python-shellingham
+  (package
+    (name "python-shellingham")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "shellingham" version))
+       (sha256
+        (base32
+         "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/sarugaku/shellingham")
+    (synopsis "Tool to Detect Surrounding Shell")
+    (description "Tool to Detect Surrounding Shell")
+    (license license:isc)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 4/9] gnu: Add python-memcached.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (2 preceding siblings ...)
  2019-10-11 16:39 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
@ 2019-10-11 16:39 ` Tanguy Le Carrour
  2019-10-11 16:40 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:39 UTC (permalink / raw)
  To: 37704

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



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

From fc5c71d75ed13825a7bb80ee304fc02a6c32cebc Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:51:17 +0200
Subject: [PATCH 4/9] gnu: Add python-memcached.

---
 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 b82631d8e2..d02f7492a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10554,6 +10554,25 @@ docstring and colored output.")
     (description "Tool to Detect Surrounding Shell")
     (license license:isc)))
 
+(define-public python-memcached
+  (package
+    (name "python-memcached")
+    (version "1.59")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-memcached" version))
+       (sha256
+        (base32
+         "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-six" ,python-six)))
+    (home-page
+     "https://github.com/linsomniac/python-memcached")
+    (synopsis "Pure python memcached client")
+    (description "Pure python memcached client")
+    (license license:psfl)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 5/9] gnu: Add python-clikit.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (3 preceding siblings ...)
  2019-10-11 16:39 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
@ 2019-10-11 16:40 ` Tanguy Le Carrour
  2019-10-11 16:40 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:40 UTC (permalink / raw)
  To: 37704

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



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

From c529d63597220adb872e4dcc8232abae0fbee0a6 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:55:19 +0200
Subject: [PATCH 5/9] gnu: Add python-clikit.

---
 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 d02f7492a2..3c6611ef3f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10573,6 +10573,29 @@ docstring and colored output.")
     (description "Pure python memcached client")
     (license license:psfl)))
 
+(define-public python-clikit
+  (package
+    (name "python-clikit")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "clikit" version))
+       (sha256
+        (base32
+         "0dc8czib5f4j9px1ivcpqnmivnx2zjpc0xb00ldrhsqylks7r06n"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pastel" ,python-pastel)
+       ("python-pylev" ,python-pylev)))
+    (home-page "https://github.com/sdispater/clikit")
+    (synopsis
+     "CliKit is a group of utilities to build command line interfaces")
+    (description
+     "CliKit is a group of utilities to build beautiful and testable
+command line interfaces.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (4 preceding siblings ...)
  2019-10-11 16:40 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
@ 2019-10-11 16:40 ` Tanguy Le Carrour
  2019-10-11 16:41 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:40 UTC (permalink / raw)
  To: 37704

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



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

From 8b8ff5d6ee747ae69f19eb83ca695daf2bc205d0 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:00:18 +0200
Subject: [PATCH 6/9] gnu: Add python-msgpack-python.

---
 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 3c6611ef3f..2e7b4937b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10596,6 +10596,23 @@ docstring and colored output.")
 command line interfaces.")
     (license license:expat)))
 
+(define-public python-msgpack-python
+  (package
+    (name "python-msgpack-python")
+    (version "0.5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msgpack-python" version))
+       (sha256
+        (base32
+         "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"))))
+    (build-system python-build-system)
+    (home-page "http://msgpack.org/")
+    (synopsis "MessagePack (de)serializer")
+    (description "MessagePack (de)serializer.")
+    (license license:asl2.0)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 7/9] gnu: Add python-cachy.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (5 preceding siblings ...)
  2019-10-11 16:40 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
@ 2019-10-11 16:41 ` Tanguy Le Carrour
  2019-10-11 16:41 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:41 UTC (permalink / raw)
  To: 37704

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



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

From 63a97fc5ae9c60294594c7ae84ee025dfe695895 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:03:31 +0200
Subject: [PATCH 7/9] gnu: Add python-cachy.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2e7b4937b8..5240f4d894 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10613,6 +10613,33 @@ command line interfaces.")
     (description "MessagePack (de)serializer.")
     (license license:asl2.0)))
 
+(define-public python-cachy
+  (package
+    (name "python-cachy")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachy" version))
+       (sha256
+        (base32
+         "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-fakeredis" ,python-fakeredis)
+       ("python-flexmock" ,python-flexmock)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-memcached" ,python-memcached)
+       ("python-msgpack-python" ,python-msgpack-python)
+       ("python-redis" ,python-redis)))
+    (home-page "https://github.com/sdispater/cachy")
+    (synopsis
+     "Cachy provides a simple yet effective caching library")
+    (description
+     "Cachy provides a simple yet effective caching library.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (6 preceding siblings ...)
  2019-10-11 16:41 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
@ 2019-10-11 16:41 ` Tanguy Le Carrour
  2019-10-11 16:42 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:41 UTC (permalink / raw)
  To: 37704

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



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

From e1a304525bf27718f0dea75486f844d34b3f0aaa Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:30:26 +0200
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.

---
 gnu/packages/python-web.scm | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ffef3319f7..5d67f21330 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1987,7 +1987,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
 (define-public python-cachecontrol
   (package
     (name "python-cachecontrol")
-    (version "0.11.6")
+    (version "0.12.5")
     (source
      (origin
        (method git-fetch)
@@ -1998,25 +1998,12 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
+         "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Drop test that requires internet access.
-             (delete-file "tests/test_regressions.py")
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             (invoke "py.test" "-vv")
-             #t)))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-redis" ,python-redis)
-       ("python-webtest" ,python-webtest)
-       ("python-mock" ,python-mock)))
+     ;; Versions > 0.11.6 depend on CherryPy for testing.
+     ;; It's too much work to package CherryPy for now.
+     `(#:tests? #f))
     (propagated-inputs
      `(("python-requests" ,python-requests)
        ("python-lockfile" ,python-lockfile)))
-- 
2.23.0


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

* [bug#37704] [PATCH 9/9] gnu: Add python-poetry.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (7 preceding siblings ...)
  2019-10-11 16:41 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
@ 2019-10-11 16:42 ` Tanguy Le Carrour
  2019-10-14  7:32 ` [bug#37704] Updating commit messages Tanguy Le Carrour
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-11 16:42 UTC (permalink / raw)
  To: 37704

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



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

From d05ec73fc4c59048fee4daebb765811cb879c353 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:41:23 +0200
Subject: [PATCH 9/9] gnu: Add python-poetry.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5240f4d894..a277d39d83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10640,6 +10640,50 @@ command line interfaces.")
      "Cachy provides a simple yet effective caching library.")
     (license license:expat)))
 
+(define-public python-poetry
+  (package
+    (name "python-poetry")
+    (version "0.12.17")
+    ;; Poetry can only be built from source with poetry.
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poetry" version))
+       (sha256
+        (base32
+         "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ;; Pypi does not have tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-cachecontrol" ,python-cachecontrol)
+       ("python-cachy" ,python-cachy)
+       ("python-cleo" ,python-cleo)
+       ("python-glob2" ,python-glob2)
+       ("python-html5lib" ,python-html5lib)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-msgpack" ,python-msgpack)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-requests" ,python-requests)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-shellingham" ,python-shellingham)
+       ("python-tomlkit" ,python-tomlkit)
+       ("python-virtualenv" ,python-virtualenv)))
+    (home-page "https://poetry.eustace.io/")
+    (synopsis "Python dependency management and packaging made easy")
+    (description "Python dependency management and packaging made easy.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] Updating commit messages
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (8 preceding siblings ...)
  2019-10-11 16:42 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
@ 2019-10-14  7:32 ` Tanguy Le Carrour
  2019-10-14 15:15 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14  7:32 UTC (permalink / raw)
  To: 37704

Based on Mathieu’s suggestions [1], I'll update those patches and
improve commit messages and descriptions.
Stay tuned! :-)

[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37598#35

-- 
Tanguy

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

* [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (9 preceding siblings ...)
  2019-10-14  7:32 ` [bug#37704] Updating commit messages Tanguy Le Carrour
@ 2019-10-14 15:15 ` Tanguy Le Carrour
  2019-10-14 15:16 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:15 UTC (permalink / raw)
  To: 37704

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



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

From f745b3263099cace66a49b54b8fd96e87bcb2572 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:24:05 +0200
Subject: [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.

* gnu/packages/python-xyz.scm (python-cleo): Update to 0.6.8.
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8137d665fd..e53ad59986 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10490,16 +10490,16 @@ Wikipedia code samples at
 (define-public python-cleo
   (package
     (name "python-cleo")
-    (version "0.6.1")
+    (version "0.6.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cleo" version))
               (sha256
                (base32
-                "0q1cf0szr0d54am4pypzwdnm74zpladdsinad94c2fz5i06fdpf7"))))
+                "06zp695hq835rkaq6irr1ds1dp2qfzyf32v60vxpd8rcnxv319l5"))))
     (build-system python-build-system)
     (native-inputs
-     `(;; For testing
+     `( ;; For testing
        ("python-mock" ,python-mock)
        ("python-pytest-mock" ,python-pytest-mock)
        ("python-pytest" ,python-pytest)))
-- 
2.23.0


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

* [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (10 preceding siblings ...)
  2019-10-14 15:15 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
@ 2019-10-14 15:16 ` Tanguy Le Carrour
  2019-10-14 15:17 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:16 UTC (permalink / raw)
  To: 37704

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



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

From 8eb707675cfd180bf7751f500c6c4b24ede0eae4 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:34:10 +0200
Subject: [PATCH 2/9] gnu: Add python-tomlkit.

* gnu/packages/python-xyz.scm (python-tomlkit): 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 e53ad59986..a83b91574e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10517,6 +10517,31 @@ docstring and colored output.")
 (define-public python2-cleo
   (package-with-python2 python-cleo))
 
+(define-public python-tomlkit
+  (package
+    (name "python-tomlkit")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tomlkit" version))
+       (sha256
+        (base32
+         "18820ga5z3if1w8dvykxrfm000akracq01ic402xrbljgbn5grn4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/sdispater/tomlkit")
+    (synopsis "Style preserving TOML library")
+    (description
+     "TOML Kit is a 0.5.0-compliant TOML library.  It includes a parser that
+preserves all comments, indentations, whitespace and internal element ordering,
+and makes them accessible and editable via an intuitive API.  You can also
+create new TOML documents from scratch using the provided helpers.  Part of the
+implementation as been adapted, improved and fixed from Molten.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 3/9] gnu: Add python-shellingham.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (11 preceding siblings ...)
  2019-10-14 15:16 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
@ 2019-10-14 15:17 ` Tanguy Le Carrour
  2019-10-14 15:17 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:17 UTC (permalink / raw)
  To: 37704

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



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

From 847a0e9e8b64badb10d1f6bb236f6e9300ace3ac Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:39:17 +0200
Subject: [PATCH 3/9] gnu: Add python-shellingham.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a83b91574e..1d014b5e64 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10542,6 +10542,26 @@ create new TOML documents from scratch using the provided helpers.  Part of the
 implementation as been adapted, improved and fixed from Molten.")
     (license license:expat)))
 
+(define-public python-shellingham
+  (package
+    (name "python-shellingham")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "shellingham" version))
+       (sha256
+        (base32
+         "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/sarugaku/shellingham")
+    (synopsis "Tool to Detect Surrounding Shell")
+    (description
+     "Shellingham detects what shell the current Python executable is
+running in.")
+    (license license:isc)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 4/9] gnu: Add python-memcached.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (12 preceding siblings ...)
  2019-10-14 15:17 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
@ 2019-10-14 15:17 ` Tanguy Le Carrour
  2019-10-14 15:18 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:17 UTC (permalink / raw)
  To: 37704

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



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

From 96dd29f12b93552a6aeacce1159bbf784b216fc7 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:51:17 +0200
Subject: [PATCH 4/9] gnu: Add python-memcached.

* gnu/packages/python-xyz.scm (python-memcached): 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 1d014b5e64..dcfd9d4221 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10562,6 +10562,29 @@ implementation as been adapted, improved and fixed from Molten.")
 running in.")
     (license license:isc)))
 
+(define-public python-memcached
+  (package
+    (name "python-memcached")
+    (version "1.59")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-memcached" version))
+       (sha256
+        (base32
+         "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-six" ,python-six)))
+    (home-page
+     "https://github.com/linsomniac/python-memcached")
+    (synopsis "Pure python memcached client")
+    (description
+     "This software is a 100% Python interface to the memcached memory cache
+daemon. It is the client side software which allows storing values in one or
+more, possibly remote, memcached servers. Search google for memcached for more
+information.")
+    (license license:psfl)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 5/9] gnu: Add python-clikit.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (13 preceding siblings ...)
  2019-10-14 15:17 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
@ 2019-10-14 15:18 ` Tanguy Le Carrour
  2019-10-14 15:18 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:18 UTC (permalink / raw)
  To: 37704

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



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

From eb3ca5d9ec9e2752f99a6348910bc5e8ef47679a Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 09:55:19 +0200
Subject: [PATCH 5/9] gnu: Add python-clikit.

* gnu/packages/python-xyz.scm (python-clikit): 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 dcfd9d4221..fc2ee25f0d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10585,6 +10585,28 @@ more, possibly remote, memcached servers. Search google for memcached for more
 information.")
     (license license:psfl)))
 
+(define-public python-clikit
+  (package
+    (name "python-clikit")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "clikit" version))
+       (sha256
+        (base32
+         "0dc8czib5f4j9px1ivcpqnmivnx2zjpc0xb00ldrhsqylks7r06n"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pastel" ,python-pastel)
+       ("python-pylev" ,python-pylev)))
+    (home-page "https://github.com/sdispater/clikit")
+    (synopsis "Group of utilities to build command line interfaces")
+    (description
+     "CliKit is a group of utilities to build beautiful and testable
+command line interfaces.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (14 preceding siblings ...)
  2019-10-14 15:18 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
@ 2019-10-14 15:18 ` Tanguy Le Carrour
  2019-10-14 15:19 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:18 UTC (permalink / raw)
  To: 37704

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



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

From c3bb42d6d3273d4fd63aead528ec6c864a55c4fa Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:00:18 +0200
Subject: [PATCH 6/9] gnu: Add python-msgpack-python.

* gnu/packages/python-xyz.scm (python-msgpack-python): 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 fc2ee25f0d..c1f68042c7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10607,6 +10607,23 @@ information.")
 command line interfaces.")
     (license license:expat)))
 
+(define-public python-msgpack-python
+  (package
+    (name "python-msgpack-python")
+    (version "0.5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msgpack-python" version))
+       (sha256
+        (base32
+         "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"))))
+    (build-system python-build-system)
+    (home-page "http://msgpack.org/")
+    (synopsis "MessagePack (de)serializer")
+    (description "MessagePack (de)serializer.")
+    (license license:asl2.0)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 7/9] gnu: Add python-cachy.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (15 preceding siblings ...)
  2019-10-14 15:18 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
@ 2019-10-14 15:19 ` Tanguy Le Carrour
  2019-10-14 15:19 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:19 UTC (permalink / raw)
  To: 37704

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



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

From cd9d5a2894a964c0c3808ba301870e259436b43a Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:03:31 +0200
Subject: [PATCH 7/9] gnu: Add python-cachy.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c1f68042c7..4207f3dde4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10624,6 +10624,34 @@ command line interfaces.")
     (description "MessagePack (de)serializer.")
     (license license:asl2.0)))
 
+(define-public python-cachy
+  (package
+    (name "python-cachy")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachy" version))
+       (sha256
+        (base32
+         "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-fakeredis" ,python-fakeredis)
+       ("python-flexmock" ,python-flexmock)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-memcached" ,python-memcached)
+       ("python-msgpack-python" ,python-msgpack-python)
+       ("python-redis" ,python-redis)))
+    (home-page "https://github.com/sdispater/cachy")
+    (synopsis "Simple yet effective caching library")
+    (description
+     "Cachy provides a simple yet effective caching library.  A simple but
+powerful API: thread-safety; decorator syntax; support for memcached, redis,
+database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (16 preceding siblings ...)
  2019-10-14 15:19 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
@ 2019-10-14 15:19 ` Tanguy Le Carrour
  2019-10-14 15:20 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:19 UTC (permalink / raw)
  To: 37704

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



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

From 79676f293533f038edc9b563b23279ea2048a2fa Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:30:26 +0200
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.

* gnu/packages/python-web.scm (python-cachecontrol): Update to 0.12.5.
---
 gnu/packages/python-web.scm | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ffef3319f7..5d67f21330 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1987,7 +1987,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
 (define-public python-cachecontrol
   (package
     (name "python-cachecontrol")
-    (version "0.11.6")
+    (version "0.12.5")
     (source
      (origin
        (method git-fetch)
@@ -1998,25 +1998,12 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
+         "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Drop test that requires internet access.
-             (delete-file "tests/test_regressions.py")
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             (invoke "py.test" "-vv")
-             #t)))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-redis" ,python-redis)
-       ("python-webtest" ,python-webtest)
-       ("python-mock" ,python-mock)))
+     ;; Versions > 0.11.6 depend on CherryPy for testing.
+     ;; It's too much work to package CherryPy for now.
+     `(#:tests? #f))
     (propagated-inputs
      `(("python-requests" ,python-requests)
        ("python-lockfile" ,python-lockfile)))
-- 
2.23.0


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

* [bug#37704] [PATCH 9/9] gnu: Add python-poetry.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (17 preceding siblings ...)
  2019-10-14 15:19 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
@ 2019-10-14 15:20 ` Tanguy Le Carrour
  2019-10-18 16:06 ` [bug#37704] [PATCH v2 " Tanguy Le Carrour
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-14 15:20 UTC (permalink / raw)
  To: 37704

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



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

From c2670973c759b9f7a6265e64fa7e24abb49851c0 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:41:23 +0200
Subject: [PATCH 9/9] gnu: Add python-poetry.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4207f3dde4..4b62af428f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10652,6 +10652,52 @@ powerful API: thread-safety; decorator syntax; support for memcached, redis,
 database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
     (license license:expat)))
 
+(define-public python-poetry
+  (package
+    (name "python-poetry")
+    (version "0.12.17")
+    ;; Poetry can only be built from source with poetry.
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poetry" version))
+       (sha256
+        (base32
+         "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ;; Pypi does not have tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-cachecontrol" ,python-cachecontrol)
+       ("python-cachy" ,python-cachy)
+       ("python-cleo" ,python-cleo)
+       ("python-glob2" ,python-glob2)
+       ("python-html5lib" ,python-html5lib)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-msgpack" ,python-msgpack)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-requests" ,python-requests)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-shellingham" ,python-shellingham)
+       ("python-tomlkit" ,python-tomlkit)
+       ("python-virtualenv" ,python-virtualenv)))
+    (home-page "https://poetry.eustace.io/")
+    (synopsis "Python dependency management and packaging made easy")
+    (description "Poetry is a tool for dependency management and packaging
+in Python. It allows you to declare the libraries your project depends on and
+it will manage (install/update) them for you.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH v2 9/9] gnu: Add python-poetry.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (18 preceding siblings ...)
  2019-10-14 15:20 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
@ 2019-10-18 16:06 ` Tanguy Le Carrour
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  21 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-18 16:06 UTC (permalink / raw)
  To: 37704

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

As suggested by Oleg [1], I've changed the names of the package and the
public variable.

[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37613

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

From d4f5faa7e2c4ce07da08911e70e5db641dc4df27 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy@bioneland.org>
Date: Wed, 9 Oct 2019 10:41:23 +0200
Subject: [PATCH v2 9/9] gnu: Add poetry.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3d51c63530..0c93591c3e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10748,6 +10748,52 @@ powerful API: thread-safety; decorator syntax; support for memcached, redis,
 database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
     (license license:expat)))
 
+(define-public poetry
+  (package
+    (name "poetry")
+    (version "0.12.17")
+    ;; Poetry can only be built from source with poetry.
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poetry" version))
+       (sha256
+        (base32
+         "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ;; Pypi does not have tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-cachecontrol" ,python-cachecontrol)
+       ("python-cachy" ,python-cachy)
+       ("python-cleo" ,python-cleo)
+       ("python-glob2" ,python-glob2)
+       ("python-html5lib" ,python-html5lib)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-msgpack" ,python-msgpack)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-requests" ,python-requests)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-shellingham" ,python-shellingham)
+       ("python-tomlkit" ,python-tomlkit)
+       ("python-virtualenv" ,python-virtualenv)))
+    (home-page "https://poetry.eustace.io/")
+    (synopsis "Python dependency management and packaging made easy")
+    (description "Poetry is a tool for dependency management and packaging
+in Python. It allows you to declare the libraries your project depends on and
+it will manage (install/update) them for you.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0


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

* [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (19 preceding siblings ...)
  2019-10-18 16:06 ` [bug#37704] [PATCH v2 " Tanguy Le Carrour
@ 2019-10-28  9:46 ` Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
                     ` (7 more replies)
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  21 siblings, 8 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-cleo): Update to 0.6.8.
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 476ac2f588..2207c1da45 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10587,16 +10587,16 @@ Wikipedia code samples at
 (define-public python-cleo
   (package
     (name "python-cleo")
-    (version "0.6.1")
+    (version "0.6.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cleo" version))
               (sha256
                (base32
-                "0q1cf0szr0d54am4pypzwdnm74zpladdsinad94c2fz5i06fdpf7"))))
+                "06zp695hq835rkaq6irr1ds1dp2qfzyf32v60vxpd8rcnxv319l5"))))
     (build-system python-build-system)
     (native-inputs
-     `(;; For testing
+     `( ;; For testing
        ("python-mock" ,python-mock)
        ("python-pytest-mock" ,python-pytest-mock)
        ("python-pytest" ,python-pytest)))
-- 
2.23.0

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

* [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-tomlkit): 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 2207c1da45..a6b3db83b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10614,6 +10614,31 @@ docstring and colored output.")
 (define-public python2-cleo
   (package-with-python2 python-cleo))
 
+(define-public python-tomlkit
+  (package
+    (name "python-tomlkit")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tomlkit" version))
+       (sha256
+        (base32
+         "18820ga5z3if1w8dvykxrfm000akracq01ic402xrbljgbn5grn4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/sdispater/tomlkit")
+    (synopsis "Style preserving TOML library")
+    (description
+     "TOML Kit is a 0.5.0-compliant TOML library.  It includes a parser that
+preserves all comments, indentations, whitespace and internal element ordering,
+and makes them accessible and editable via an intuitive API.  You can also
+create new TOML documents from scratch using the provided helpers.  Part of the
+implementation as been adapted, improved and fixed from Molten.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 3/9] gnu: Add python-shellingham.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6b3db83b4..0199721e97 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10639,6 +10639,26 @@ create new TOML documents from scratch using the provided helpers.  Part of the
 implementation as been adapted, improved and fixed from Molten.")
     (license license:expat)))
 
+(define-public python-shellingham
+  (package
+    (name "python-shellingham")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "shellingham" version))
+       (sha256
+        (base32
+         "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/sarugaku/shellingham")
+    (synopsis "Tool to Detect Surrounding Shell")
+    (description
+     "Shellingham detects what shell the current Python executable is
+running in.")
+    (license license:isc)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 4/9] gnu: Add python-memcached.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28 13:45     ` Mathieu Othacehe
  2019-10-28  9:46   ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
                     ` (4 subsequent siblings)
  7 siblings, 1 reply; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-memcached): 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 0199721e97..4aa422ffd6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10659,6 +10659,29 @@ implementation as been adapted, improved and fixed from Molten.")
 running in.")
     (license license:isc)))
 
+(define-public python-memcached
+  (package
+    (name "python-memcached")
+    (version "1.59")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-memcached" version))
+       (sha256
+        (base32
+         "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-six" ,python-six)))
+    (home-page
+     "https://github.com/linsomniac/python-memcached")
+    (synopsis "Pure python memcached client")
+    (description
+     "This software is a 100% Python interface to the memcached memory cache
+daemon. It is the client side software which allows storing values in one or
+more, possibly remote, memcached servers. Search google for memcached for more
+information.")
+    (license license:psfl)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 5/9] gnu: Add python-clikit.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (2 preceding siblings ...)
  2019-10-28  9:46   ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28 13:47     ` Mathieu Othacehe
  2019-10-28  9:46   ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
                     ` (3 subsequent siblings)
  7 siblings, 1 reply; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-clikit): 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 4aa422ffd6..8236b26d16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10682,6 +10682,28 @@ more, possibly remote, memcached servers. Search google for memcached for more
 information.")
     (license license:psfl)))
 
+(define-public python-clikit
+  (package
+    (name "python-clikit")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "clikit" version))
+       (sha256
+        (base32
+         "0dc8czib5f4j9px1ivcpqnmivnx2zjpc0xb00ldrhsqylks7r06n"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pastel" ,python-pastel)
+       ("python-pylev" ,python-pylev)))
+    (home-page "https://github.com/sdispater/clikit")
+    (synopsis "Group of utilities to build command line interfaces")
+    (description
+     "CliKit is a group of utilities to build beautiful and testable
+command line interfaces.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (3 preceding siblings ...)
  2019-10-28  9:46   ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28 13:48     ` Mathieu Othacehe
  2019-10-28  9:46   ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
                     ` (2 subsequent siblings)
  7 siblings, 1 reply; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-msgpack-python): 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 8236b26d16..d53864794e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10704,6 +10704,23 @@ information.")
 command line interfaces.")
     (license license:expat)))
 
+(define-public python-msgpack-python
+  (package
+    (name "python-msgpack-python")
+    (version "0.5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msgpack-python" version))
+       (sha256
+        (base32
+         "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"))))
+    (build-system python-build-system)
+    (home-page "http://msgpack.org/")
+    (synopsis "MessagePack (de)serializer")
+    (description "MessagePack (de)serializer.")
+    (license license:asl2.0)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 7/9] gnu: Add python-cachy.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (4 preceding siblings ...)
  2019-10-28  9:46   ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 9/9] gnu: Add poetry Tanguy Le Carrour
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d53864794e..a2b3414454 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10721,6 +10721,34 @@ command line interfaces.")
     (description "MessagePack (de)serializer.")
     (license license:asl2.0)))
 
+(define-public python-cachy
+  (package
+    (name "python-cachy")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachy" version))
+       (sha256
+        (base32
+         "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-fakeredis" ,python-fakeredis)
+       ("python-flexmock" ,python-flexmock)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-memcached" ,python-memcached)
+       ("python-msgpack-python" ,python-msgpack-python)
+       ("python-redis" ,python-redis)))
+    (home-page "https://github.com/sdispater/cachy")
+    (synopsis "Simple yet effective caching library")
+    (description
+     "Cachy provides a simple yet effective caching library.  A simple but
+powerful API: thread-safety; decorator syntax; support for memcached, redis,
+database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (5 preceding siblings ...)
  2019-10-28  9:46   ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28  9:46   ` [bug#37704] [PATCH 9/9] gnu: Add poetry Tanguy Le Carrour
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-web.scm (python-cachecontrol): Update to 0.12.5.
---
 gnu/packages/python-web.scm | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b79b10d51e..eb25bd0ade 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2013,7 +2013,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
 (define-public python-cachecontrol
   (package
     (name "python-cachecontrol")
-    (version "0.11.6")
+    (version "0.12.5")
     (source
      (origin
        (method git-fetch)
@@ -2024,25 +2024,12 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
+         "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Drop test that requires internet access.
-             (delete-file "tests/test_regressions.py")
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             (invoke "py.test" "-vv")
-             #t)))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-redis" ,python-redis)
-       ("python-webtest" ,python-webtest)
-       ("python-mock" ,python-mock)))
+     ;; Versions > 0.11.6 depend on CherryPy for testing.
+     ;; It's too much work to package CherryPy for now.
+     `(#:tests? #f))
     (propagated-inputs
      `(("python-requests" ,python-requests)
        ("python-lockfile" ,python-lockfile)))
-- 
2.23.0

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

* [bug#37704] [PATCH 9/9] gnu: Add poetry.
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (6 preceding siblings ...)
  2019-10-28  9:46   ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
@ 2019-10-28  9:46   ` Tanguy Le Carrour
  2019-10-28 13:53     ` Mathieu Othacehe
  7 siblings, 1 reply; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28  9:46 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a2b3414454..e7d04befda 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10749,6 +10749,52 @@ powerful API: thread-safety; decorator syntax; support for memcached, redis,
 database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
     (license license:expat)))
 
+(define-public poetry
+  (package
+    (name "poetry")
+    (version "0.12.17")
+    ;; Poetry can only be built from source with poetry.
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poetry" version))
+       (sha256
+        (base32
+         "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ;; Pypi does not have tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-cachecontrol" ,python-cachecontrol)
+       ("python-cachy" ,python-cachy)
+       ("python-cleo" ,python-cleo)
+       ("python-glob2" ,python-glob2)
+       ("python-html5lib" ,python-html5lib)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-msgpack" ,python-msgpack)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-requests" ,python-requests)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-shellingham" ,python-shellingham)
+       ("python-tomlkit" ,python-tomlkit)
+       ("python-virtualenv" ,python-virtualenv)))
+    (home-page "https://poetry.eustace.io/")
+    (synopsis "Python dependency management and packaging made easy")
+    (description "Poetry is a tool for dependency management and packaging
+in Python.  It allows you to declare the libraries your project depends on and
+it will manage (install/update) them for you.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH 4/9] gnu: Add python-memcached.
  2019-10-28  9:46   ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
@ 2019-10-28 13:45     ` Mathieu Othacehe
  0 siblings, 0 replies; 44+ messages in thread
From: Mathieu Othacehe @ 2019-10-28 13:45 UTC (permalink / raw)
  To: 37704; +Cc: tanguy


> +daemon. It is the client side software which allows storing values in one or
          ^
          two spaces
> +more, possibly remote, memcached servers. Search google for memcached for more
> +information.

Please remove the last sentence.

Mathieu

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

* [bug#37704] [PATCH 5/9] gnu: Add python-clikit.
  2019-10-28  9:46   ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
@ 2019-10-28 13:47     ` Mathieu Othacehe
  0 siblings, 0 replies; 44+ messages in thread
From: Mathieu Othacehe @ 2019-10-28 13:47 UTC (permalink / raw)
  To: 37704; +Cc: tanguy


> +     "CliKit is a group of utilities to build beautiful and testable
> +command line interfaces.")

Avoid adjectives such as beautiful. Please elaborate a bit on what are
the features of this package.

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

* [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python.
  2019-10-28  9:46   ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
@ 2019-10-28 13:48     ` Mathieu Othacehe
  0 siblings, 0 replies; 44+ messages in thread
From: Mathieu Othacehe @ 2019-10-28 13:48 UTC (permalink / raw)
  To: 37704; +Cc: tanguy


> +    (synopsis "MessagePack (de)serializer")
> +    (description "MessagePack (de)serializer.")

Please make full sentences for description. Elaborate on both fields.

Mathieu

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

* [bug#37704] [PATCH 9/9] gnu: Add poetry.
  2019-10-28  9:46   ` [bug#37704] [PATCH 9/9] gnu: Add poetry Tanguy Le Carrour
@ 2019-10-28 13:53     ` Mathieu Othacehe
  2019-10-28 14:39       ` Tanguy Le Carrour
  0 siblings, 1 reply; 44+ messages in thread
From: Mathieu Othacehe @ 2019-10-28 13:53 UTC (permalink / raw)
  To: 37704; +Cc: tanguy


> +             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
> +             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")

This line is too long.

Mathieu

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

* [bug#37704] [PATCH 9/9] gnu: Add poetry.
  2019-10-28 13:53     ` Mathieu Othacehe
@ 2019-10-28 14:39       ` Tanguy Le Carrour
  0 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:39 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 37704

Le 10/28, Mathieu Othacehe a écrit :
> > +daemon. It is the client side software which allows storing values in one or
>           ^
>           two spaces
> > +more, possibly remote, memcached servers. Search google for memcached for more
> > +information.
>
> Please remove the last sentence.

*Outch*, sorry! Copy/paste is **not** your friend! … done!


> > +     "CliKit is a group of utilities to build beautiful and testable
> > +command line interfaces.")
>
> Avoid adjectives such as beautiful. Please elaborate a bit on what are
> the features of this package.

Done!


> > +    (synopsis "MessagePack (de)serializer")
> > +    (description "MessagePack (de)serializer.")
>
> Please make full sentences for description. Elaborate on both fields.

Done!


> > +             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
> > +             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" "setup.py")
>
> This line is too long.

Neither etc/indent-code.el nor `guix lint` complained!? Fixed anyway!

I'm sending v3…

Thanks for reviewing!

-- 
Tanguy

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

* [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8.
  2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
                   ` (20 preceding siblings ...)
  2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
@ 2019-10-28 14:41 ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
                     ` (7 more replies)
  21 siblings, 8 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-cleo): Update to 0.6.8.
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 476ac2f588..2207c1da45 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10587,16 +10587,16 @@ Wikipedia code samples at
 (define-public python-cleo
   (package
     (name "python-cleo")
-    (version "0.6.1")
+    (version "0.6.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cleo" version))
               (sha256
                (base32
-                "0q1cf0szr0d54am4pypzwdnm74zpladdsinad94c2fz5i06fdpf7"))))
+                "06zp695hq835rkaq6irr1ds1dp2qfzyf32v60vxpd8rcnxv319l5"))))
     (build-system python-build-system)
     (native-inputs
-     `(;; For testing
+     `( ;; For testing
        ("python-mock" ,python-mock)
        ("python-pytest-mock" ,python-pytest-mock)
        ("python-pytest" ,python-pytest)))
-- 
2.23.0

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

* [bug#37704] [PATCH v4 2/9] gnu: Add python-tomlkit.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 3/9] gnu: Add python-shellingham Tanguy Le Carrour
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-tomlkit): 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 2207c1da45..a6b3db83b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10614,6 +10614,31 @@ docstring and colored output.")
 (define-public python2-cleo
   (package-with-python2 python-cleo))
 
+(define-public python-tomlkit
+  (package
+    (name "python-tomlkit")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tomlkit" version))
+       (sha256
+        (base32
+         "18820ga5z3if1w8dvykxrfm000akracq01ic402xrbljgbn5grn4"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/sdispater/tomlkit")
+    (synopsis "Style preserving TOML library")
+    (description
+     "TOML Kit is a 0.5.0-compliant TOML library.  It includes a parser that
+preserves all comments, indentations, whitespace and internal element ordering,
+and makes them accessible and editable via an intuitive API.  You can also
+create new TOML documents from scratch using the provided helpers.  Part of the
+implementation as been adapted, improved and fixed from Molten.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 3/9] gnu: Add python-shellingham.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 4/9] gnu: Add python-memcached Tanguy Le Carrour
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6b3db83b4..aa534badda 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10639,6 +10639,26 @@ create new TOML documents from scratch using the provided helpers.  Part of the
 implementation as been adapted, improved and fixed from Molten.")
     (license license:expat)))
 
+(define-public python-shellingham
+  (package
+    (name "python-shellingham")
+    (version "1.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "shellingham" version))
+       (sha256
+        (base32
+         "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/sarugaku/shellingham")
+    (synopsis "Tool to detect surrounding shell")
+    (description
+     "Shellingham detects what shell the current Python executable is
+running in.")
+    (license license:isc)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 4/9] gnu: Add python-memcached.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 3/9] gnu: Add python-shellingham Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 5/9] gnu: Add python-clikit Tanguy Le Carrour
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-memcached): 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 aa534badda..9b7b3cd8b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10659,6 +10659,28 @@ implementation as been adapted, improved and fixed from Molten.")
 running in.")
     (license license:isc)))
 
+(define-public python-memcached
+  (package
+    (name "python-memcached")
+    (version "1.59")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-memcached" version))
+       (sha256
+        (base32
+         "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2"))))
+    (build-system python-build-system)
+    (propagated-inputs `(("python-six" ,python-six)))
+    (home-page
+     "https://github.com/linsomniac/python-memcached")
+    (synopsis "Pure python memcached client")
+    (description
+     "This software is a 100% Python interface to the memcached memory cache
+daemon.  It is the client side software which allows storing values in one or
+more, possibly remote, memcached servers.")
+    (license license:psfl)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 5/9] gnu: Add python-clikit.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (2 preceding siblings ...)
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 4/9] gnu: Add python-memcached Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-clikit): 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 9b7b3cd8b8..1a95407fd3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10681,6 +10681,28 @@ daemon.  It is the client side software which allows storing values in one or
 more, possibly remote, memcached servers.")
     (license license:psfl)))
 
+(define-public python-clikit
+  (package
+    (name "python-clikit")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "clikit" version))
+       (sha256
+        (base32
+         "0dc8czib5f4j9px1ivcpqnmivnx2zjpc0xb00ldrhsqylks7r06n"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pastel" ,python-pastel)
+       ("python-pylev" ,python-pylev)))
+    (home-page "https://github.com/sdispater/clikit")
+    (synopsis "Group of utilities to build command line interfaces")
+    (description
+     "CliKit is a group of utilities to build testable command line
+interfaces.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 6/9] gnu: Add python-msgpack-python.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (3 preceding siblings ...)
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 5/9] gnu: Add python-clikit Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 7/9] gnu: Add python-cachy Tanguy Le Carrour
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-xyz.scm (python-msgpack-python): 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 1a95407fd3..1a0a948f52 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10703,6 +10703,27 @@ more, possibly remote, memcached servers.")
 interfaces.")
     (license license:expat)))
 
+(define-public python-msgpack-python
+  (package
+    (name "python-msgpack-python")
+    (version "0.5.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "msgpack-python" version))
+       (sha256
+        (base32
+         "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"))))
+    (build-system python-build-system)
+    (home-page "http://msgpack.org/")
+    (synopsis "Package to deserialize messages in MessagePack binary format")
+    (description
+     "MessagePack is an efficient binary serialization format.  It lets you
+exchange data among multiple languages like JSON.  But it's faster and
+smaller.  Small integers are encoded into a single byte, and typical short
+strings require only one extra byte in addition to the strings themselves.")
+    (license license:asl2.0)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 7/9] gnu: Add python-cachy.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (4 preceding siblings ...)
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 9/9] gnu: Add poetry Tanguy Le Carrour
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1a0a948f52..8568c22784 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10724,6 +10724,34 @@ smaller.  Small integers are encoded into a single byte, and typical short
 strings require only one extra byte in addition to the strings themselves.")
     (license license:asl2.0)))
 
+(define-public python-cachy
+  (package
+    (name "python-cachy")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachy" version))
+       (sha256
+        (base32
+         "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-fakeredis" ,python-fakeredis)
+       ("python-flexmock" ,python-flexmock)
+       ("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-memcached" ,python-memcached)
+       ("python-msgpack-python" ,python-msgpack-python)
+       ("python-redis" ,python-redis)))
+    (home-page "https://github.com/sdispater/cachy")
+    (synopsis "Simple yet effective caching library")
+    (description
+     "Cachy provides a simple yet effective caching library.  A simple but
+powerful API: thread-safety; decorator syntax; support for memcached, redis,
+database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

* [bug#37704] [PATCH v4 8/9] gnu: python-cachecontrol: Update to 0.12.5.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (5 preceding siblings ...)
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 7/9] gnu: Add python-cachy Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 9/9] gnu: Add poetry Tanguy Le Carrour
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

* gnu/packages/python-web.scm (python-cachecontrol): Update to 0.12.5.
---
 gnu/packages/python-web.scm | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b79b10d51e..eb25bd0ade 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2013,7 +2013,7 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
 (define-public python-cachecontrol
   (package
     (name "python-cachecontrol")
-    (version "0.11.6")
+    (version "0.12.5")
     (source
      (origin
        (method git-fetch)
@@ -2024,25 +2024,12 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
+         "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Drop test that requires internet access.
-             (delete-file "tests/test_regressions.py")
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             (invoke "py.test" "-vv")
-             #t)))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-redis" ,python-redis)
-       ("python-webtest" ,python-webtest)
-       ("python-mock" ,python-mock)))
+     ;; Versions > 0.11.6 depend on CherryPy for testing.
+     ;; It's too much work to package CherryPy for now.
+     `(#:tests? #f))
     (propagated-inputs
      `(("python-requests" ,python-requests)
        ("python-lockfile" ,python-lockfile)))
-- 
2.23.0

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

* [bug#37704] [PATCH v4 9/9] gnu: Add poetry.
  2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
                     ` (6 preceding siblings ...)
  2019-10-28 14:41   ` [bug#37704] [PATCH v4 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
@ 2019-10-28 14:41   ` Tanguy Le Carrour
  7 siblings, 0 replies; 44+ messages in thread
From: Tanguy Le Carrour @ 2019-10-28 14:41 UTC (permalink / raw)
  To: 37704; +Cc: Tanguy Le Carrour

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8568c22784..3ac1173c96 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10752,6 +10752,53 @@ powerful API: thread-safety; decorator syntax; support for memcached, redis,
 database, file, dict stores.  Cachy supports python versions 2.7+ and 3.2+.")
     (license license:expat)))
 
+(define-public poetry
+  (package
+    (name "poetry")
+    (version "0.12.17")
+    ;; Poetry can only be built from source with poetry.
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "poetry" version))
+       (sha256
+        (base32
+         "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ;; Pypi does not have tests.
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+             (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/"
+                     "setup.py")
+             #t)))))
+    (propagated-inputs
+     `(("python-cachecontrol" ,python-cachecontrol)
+       ("python-cachy" ,python-cachy)
+       ("python-cleo" ,python-cleo)
+       ("python-glob2" ,python-glob2)
+       ("python-html5lib" ,python-html5lib)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-msgpack" ,python-msgpack)
+       ("python-pathlib2" ,python-pathlib2)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-pyparsing" ,python-pyparsing)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-requests" ,python-requests)
+       ("python-requests-toolbelt" ,python-requests-toolbelt)
+       ("python-shellingham" ,python-shellingham)
+       ("python-tomlkit" ,python-tomlkit)
+       ("python-virtualenv" ,python-virtualenv)))
+    (home-page "https://poetry.eustace.io/")
+    (synopsis "Python dependency management and packaging made easy")
+    (description "Poetry is a tool for dependency management and packaging
+in Python.  It allows you to declare the libraries your project depends on and
+it will manage (install/update) them for you.")
+    (license license:expat)))
+
 (define-public python-lazy-object-proxy
   (package
     (name "python-lazy-object-proxy")
-- 
2.23.0

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

end of thread, other threads:[~2019-10-28 14:43 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 16:34 [bug#37704] [PATCH 0/9] gnu: Add python-poetry Tanguy Le Carrour
2019-10-11 16:36 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
2019-10-11 16:38 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
2019-10-11 16:39 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
2019-10-11 16:39 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
2019-10-11 16:40 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
2019-10-11 16:40 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
2019-10-11 16:41 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
2019-10-11 16:41 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
2019-10-11 16:42 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
2019-10-14  7:32 ` [bug#37704] Updating commit messages Tanguy Le Carrour
2019-10-14 15:15 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
2019-10-14 15:16 ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
2019-10-14 15:17 ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
2019-10-14 15:17 ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
2019-10-14 15:18 ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
2019-10-14 15:18 ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
2019-10-14 15:19 ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
2019-10-14 15:19 ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
2019-10-14 15:20 ` [bug#37704] [PATCH 9/9] gnu: Add python-poetry Tanguy Le Carrour
2019-10-18 16:06 ` [bug#37704] [PATCH v2 " Tanguy Le Carrour
2019-10-28  9:46 ` [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
2019-10-28  9:46   ` [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
2019-10-28  9:46   ` [bug#37704] [PATCH 3/9] gnu: Add python-shellingham Tanguy Le Carrour
2019-10-28  9:46   ` [bug#37704] [PATCH 4/9] gnu: Add python-memcached Tanguy Le Carrour
2019-10-28 13:45     ` Mathieu Othacehe
2019-10-28  9:46   ` [bug#37704] [PATCH 5/9] gnu: Add python-clikit Tanguy Le Carrour
2019-10-28 13:47     ` Mathieu Othacehe
2019-10-28  9:46   ` [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
2019-10-28 13:48     ` Mathieu Othacehe
2019-10-28  9:46   ` [bug#37704] [PATCH 7/9] gnu: Add python-cachy Tanguy Le Carrour
2019-10-28  9:46   ` [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
2019-10-28  9:46   ` [bug#37704] [PATCH 9/9] gnu: Add poetry Tanguy Le Carrour
2019-10-28 13:53     ` Mathieu Othacehe
2019-10-28 14:39       ` Tanguy Le Carrour
2019-10-28 14:41 ` [bug#37704] [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8 Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 2/9] gnu: Add python-tomlkit Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 3/9] gnu: Add python-shellingham Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 4/9] gnu: Add python-memcached Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 5/9] gnu: Add python-clikit Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 6/9] gnu: Add python-msgpack-python Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 7/9] gnu: Add python-cachy Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 8/9] gnu: python-cachecontrol: Update to 0.12.5 Tanguy Le Carrour
2019-10-28 14:41   ` [bug#37704] [PATCH v4 9/9] gnu: Add poetry Tanguy Le Carrour

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.