From 21d6985a8b3c6e53aab648275dc27b72c7453437 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 15 Apr 2023 22:44:33 -0400 Subject: [PATCH] gnu: python-poetry-core: Update to 1.5.2. * gnu/packages/python-build.scm (python-poetry-core): Update to 1.5.2. [source]: Adjust URL. [build-system]: Use pyproject-build-system. [arguments]: New field. --- gnu/packages/python-build.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 1e60c5ab38..d87f3034ef 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -454,14 +454,22 @@ order to make bootstrapping easier.") (define-public python-poetry-core (package (name "python-poetry-core") - (version "1.0.7") + (version "1.5.2") (source (origin (method url-fetch) - (uri (pypi-uri "poetry-core" version)) + (uri (pypi-uri "poetry_core" version)) (sha256 - (base32 "01n2rbsvks7snrq3m1d08r3xz9q2715ajb62fdb6rvqnb9sirhcq")))) - (build-system python-build-system) + (base32 "053c8dw632p7jkhjb51k0wcx6hdw4r3lk97mds76df653qxnqmf6")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f ;disabled to avoid extra dependencies + #:phases + (modify-phases %standard-phases + (add-before 'build 'add-self-to-path + (lambda _ + ;; The build system requires itself. + (setenv "PYTHONPATH" "src")))))) (home-page "https://github.com/python-poetry/poetry-core") (synopsis "Poetry PEP 517 build back-end") (description