unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 37704@debbugs.gnu.org
Subject: [bug#37704] [PATCH 9/9] gnu: Add python-poetry.
Date: Mon, 14 Oct 2019 17:20:22 +0200	[thread overview]
Message-ID: <20191014152022.y32yf5ky7q64qnxz@rafflesia> (raw)
In-Reply-To: <20191011163447.utqgomsalw7r6nul@rafflesia>

[-- 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


  parent reply	other threads:[~2019-10-14 15:21 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Tanguy Le Carrour [this message]
2019-10-18 16:06 ` [bug#37704] [PATCH v2 9/9] gnu: Add python-poetry 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191014152022.y32yf5ky7q64qnxz@rafflesia \
    --to=tanguy@bioneland.org \
    --cc=37704@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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