GNU bug report logs - #37704
[PATCH 0/9] gnu: Add python-poetry.

Previous Next

Package: guix-patches;

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

Date: Fri, 11 Oct 2019 16:35:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37704 in the body.
You can then email your comments to 37704 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 11 Oct 2019 16:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/9] gnu: Add python-poetry.
Date: Fri, 11 Oct 2019 18:34:47 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:37:01 GMT) Full text and rfc822 format available.

Message #8 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
Date: Fri, 11 Oct 2019 18:36:52 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 2/9] gnu: Add python-tomlkit.
Date: Fri, 11 Oct 2019 18:38:08 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:40:02 GMT) Full text and rfc822 format available.

Message #14 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 3/9] gnu: Add python-shellingham.
Date: Fri, 11 Oct 2019 18:39:05 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:40:02 GMT) Full text and rfc822 format available.

Message #17 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 4/9] gnu: Add python-memcached.
Date: Fri, 11 Oct 2019 18:39:36 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:41:01 GMT) Full text and rfc822 format available.

Message #20 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 5/9] gnu: Add python-clikit.
Date: Fri, 11 Oct 2019 18:40:04 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:41:02 GMT) Full text and rfc822 format available.

Message #23 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 6/9] gnu: Add python-msgpack-python.
Date: Fri, 11 Oct 2019 18:40:31 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:42:01 GMT) Full text and rfc822 format available.

Message #26 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 7/9] gnu: Add python-cachy.
Date: Fri, 11 Oct 2019 18:41:02 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:42:02 GMT) Full text and rfc822 format available.

Message #29 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
Date: Fri, 11 Oct 2019 18:41:36 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 11 Oct 2019 16:43:02 GMT) Full text and rfc822 format available.

Message #32 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 9/9] gnu: Add python-poetry.
Date: Fri, 11 Oct 2019 18:42:06 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 07:33:03 GMT) Full text and rfc822 format available.

Message #35 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: Updating commit messages
Date: Mon, 14 Oct 2019 09:32:25 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:16:02 GMT) Full text and rfc822 format available.

Message #38 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
Date: Mon, 14 Oct 2019 17:15:36 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:17:02 GMT) Full text and rfc822 format available.

Message #41 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 2/9] gnu: Add python-tomlkit.
Date: Mon, 14 Oct 2019 17:16:30 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:18:01 GMT) Full text and rfc822 format available.

Message #44 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 3/9] gnu: Add python-shellingham.
Date: Mon, 14 Oct 2019 17:17:09 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:18:04 GMT) Full text and rfc822 format available.

Message #47 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 4/9] gnu: Add python-memcached.
Date: Mon, 14 Oct 2019 17:17:44 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:19:02 GMT) Full text and rfc822 format available.

Message #50 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 5/9] gnu: Add python-clikit.
Date: Mon, 14 Oct 2019 17:18:16 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:19:03 GMT) Full text and rfc822 format available.

Message #53 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 6/9] gnu: Add python-msgpack-python.
Date: Mon, 14 Oct 2019 17:18:41 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:20:02 GMT) Full text and rfc822 format available.

Message #56 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 7/9] gnu: Add python-cachy.
Date: Mon, 14 Oct 2019 17:19:20 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:20:02 GMT) Full text and rfc822 format available.

Message #59 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
Date: Mon, 14 Oct 2019 17:19:52 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 14 Oct 2019 15:21:02 GMT) Full text and rfc822 format available.

Message #62 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: [PATCH 9/9] gnu: Add python-poetry.
Date: Mon, 14 Oct 2019 17:20:22 +0200
[Message part 1 (text/plain, inline)]

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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Fri, 18 Oct 2019 16:07:02 GMT) Full text and rfc822 format available.

Message #65 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Subject: Re: [PATCH v2 9/9] gnu: Add python-poetry.
Date: Fri, 18 Oct 2019 18:06:28 +0200
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/plain, inline)]
From d4f5faa7e2c4ce07da08911e70e5db641dc4df27 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <tanguy <at> 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


Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:47:03 GMT) Full text and rfc822 format available.

Message #68 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Guix <guix-devel <at> gnu.org>
Cc: 37704 <at> debbugs.gnu.org
Subject: [PATCH v3 0/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 10:46:00 +0100
Hi Guix!

I've just rebased my patches for Poetry because they were few weeks old.
If someone had time to take a look at them, it would be great!

Regards,

-- 
Tanguy




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:01 GMT) Full text and rfc822 format available.

Message #71 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 1/9] gnu: python-cleo: Update to 0.6.8.
Date: Mon, 28 Oct 2019 10:46:22 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:02 GMT) Full text and rfc822 format available.

Message #74 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 2/9] gnu: Add python-tomlkit.
Date: Mon, 28 Oct 2019 10:46:23 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:02 GMT) Full text and rfc822 format available.

Message #77 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 3/9] gnu: Add python-shellingham.
Date: Mon, 28 Oct 2019 10:46:24 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:03 GMT) Full text and rfc822 format available.

Message #80 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 4/9] gnu: Add python-memcached.
Date: Mon, 28 Oct 2019 10:46:25 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:03 GMT) Full text and rfc822 format available.

Message #83 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 5/9] gnu: Add python-clikit.
Date: Mon, 28 Oct 2019 10:46:26 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:48:04 GMT) Full text and rfc822 format available.

Message #86 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 6/9] gnu: Add python-msgpack-python.
Date: Mon, 28 Oct 2019 10:46:27 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:49:01 GMT) Full text and rfc822 format available.

Message #89 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 7/9] gnu: Add python-cachy.
Date: Mon, 28 Oct 2019 10:46:28 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:49:02 GMT) Full text and rfc822 format available.

Message #92 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
Date: Mon, 28 Oct 2019 10:46:29 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 09:49:02 GMT) Full text and rfc822 format available.

Message #95 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 9/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 10:46:30 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:47:02 GMT) Full text and rfc822 format available.

Message #98 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>, 37704 <at> debbugs.gnu.org
Subject: Re: [bug#37704] [PATCH 4/9] gnu: Add python-memcached.
Date: Mon, 28 Oct 2019 14:45:39 +0100
> +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




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:47:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:49:01 GMT) Full text and rfc822 format available.

Message #104 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>, 37704 <at> debbugs.gnu.org
Subject: Re: [bug#37704] [PATCH 5/9] gnu: Add python-clikit.
Date: Mon, 28 Oct 2019 14:47:44 +0100
> +     "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.




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:49:04 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:50:02 GMT) Full text and rfc822 format available.

Message #110 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>, 37704 <at> debbugs.gnu.org
Subject: Re: [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python.
Date: Mon, 28 Oct 2019 14:48:45 +0100
> +    (synopsis "MessagePack (de)serializer")
> +    (description "MessagePack (de)serializer.")

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

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:50:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:54:01 GMT) Full text and rfc822 format available.

Message #116 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>, 37704 <at> debbugs.gnu.org
Subject: Re: [bug#37704] [PATCH 9/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 14:53:21 +0100
> +             ;; 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




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:54:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 13:55:01 GMT) Full text and rfc822 format available.

Message #122 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-devel <at> gnu.org
Cc: 37704 <at> debbugs.gnu.org
Subject: Re: [PATCH v3 0/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 14:54:32 +0100
Hello Tanguy,

> I've just rebased my patches for Poetry because they were few weeks old.
> If someone had time to take a look at them, it would be great!

Apart from some style related issues, your serie seems fine. Can you
please send a v4 :)

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:40:01 GMT) Full text and rfc822 format available.

Message #125 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 37704 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#37704] [PATCH 9/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 15:39:39 +0100
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




Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:40:05 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:01 GMT) Full text and rfc822 format available.

Message #131 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 1/9] gnu: python-cleo: Update to 0.6.8.
Date: Mon, 28 Oct 2019 15:41:29 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:02 GMT) Full text and rfc822 format available.

Message #134 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 2/9] gnu: Add python-tomlkit.
Date: Mon, 28 Oct 2019 15:41:30 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:03 GMT) Full text and rfc822 format available.

Message #137 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 3/9] gnu: Add python-shellingham.
Date: Mon, 28 Oct 2019 15:41:31 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:04 GMT) Full text and rfc822 format available.

Message #140 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 4/9] gnu: Add python-memcached.
Date: Mon, 28 Oct 2019 15:41:32 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:04 GMT) Full text and rfc822 format available.

Message #143 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 5/9] gnu: Add python-clikit.
Date: Mon, 28 Oct 2019 15:41:33 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:05 GMT) Full text and rfc822 format available.

Message #146 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 6/9] gnu: Add python-msgpack-python.
Date: Mon, 28 Oct 2019 15:41:34 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:05 GMT) Full text and rfc822 format available.

Message #149 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 7/9] gnu: Add python-cachy.
Date: Mon, 28 Oct 2019 15:41:35 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:06 GMT) Full text and rfc822 format available.

Message #152 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 8/9] gnu: python-cachecontrol: Update to 0.12.5.
Date: Mon, 28 Oct 2019 15:41:36 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:43:06 GMT) Full text and rfc822 format available.

Message #155 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37704 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v4 9/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 15:41:37 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#37704; Package guix-patches. (Mon, 28 Oct 2019 14:45:02 GMT) Full text and rfc822 format available.

Message #158 received at 37704 <at> debbugs.gnu.org (full text, mbox):

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: guix-devel <at> gnu.org, 37704 <at> debbugs.gnu.org
Subject: Re: [PATCH v3 0/9] gnu: Add poetry.
Date: Mon, 28 Oct 2019 15:44:17 +0100
Hi Mathieu,

Le 10/28, Mathieu Othacehe a écrit :
> > I've just rebased my patches for Poetry because they were few weeks old.
> > If someone had time to take a look at them, it would be great!
> 
> Apart from some style related issues, your serie seems fine. Can you
> please send a v4 :)

I've just sent the new patches… but wrote "v3" in the email when I actually
named the series "v4"! ^_^'

Thanks!

-- 
Tanguy




Reply sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
You have taken responsibility. (Tue, 29 Oct 2019 07:42:01 GMT) Full text and rfc822 format available.

Notification sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
bug acknowledged by developer. (Tue, 29 Oct 2019 07:42:02 GMT) Full text and rfc822 format available.

Message #163 received at 37704-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: guix-devel <at> gnu.org, Mathieu Othacehe <m.othacehe <at> gmail.com>,
 37704-done <at> debbugs.gnu.org
Subject: Re: [PATCH v3 0/9] gnu: Add poetry.
Date: Tue, 29 Oct 2019 08:41:26 +0100
Hey Tanguy,

I pushed this serie, thanks for your contribution :)

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Nov 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 146 days ago.

Previous Next


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