From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57765) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK29g-0005oG-B2 for guix-patches@gnu.org; Mon, 14 Oct 2019 11:21:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK29f-0008O4-1M for guix-patches@gnu.org; Mon, 14 Oct 2019 11:21:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK29e-0008Nv-UB for guix-patches@gnu.org; Mon, 14 Oct 2019 11:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK29e-0006PR-PR for guix-patches@gnu.org; Mon, 14 Oct 2019 11:21:02 -0400 Subject: [bug#37704] [PATCH 9/9] gnu: Add python-poetry. References: <20191011163447.utqgomsalw7r6nul@rafflesia> In-Reply-To: <20191011163447.utqgomsalw7r6nul@rafflesia> Resent-Message-ID: Date: Mon, 14 Oct 2019 17:20:22 +0200 From: Tanguy Le Carrour Message-ID: <20191014152022.y32yf5ky7q64qnxz@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wxacfefosgsnws7b" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37704@debbugs.gnu.org --wxacfefosgsnws7b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --wxacfefosgsnws7b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >From c2670973c759b9f7a6265e64fa7e24abb49851c0 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour 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 --wxacfefosgsnws7b--