(address . guix-patches@gnu.org)(name . jgart)(address . jgart@dismail.de)
* gnu/packages/python-xyz.scm (python-pyproject2setuppy): New variable.
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Toggle diff (40 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 634cd5efec..577bea8144 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27266,6 +27266,33 @@ and powerful way to handle real-world data, featuring:
@end itemize")
(license license:bsd-3)))
+(define-public python-pyproject2setuppy
+ (package
+ (name "python-pyproject2setuppy")
+ (version "20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyproject2setuppy" version))
+ (sha256
+ (base32 "1bfms0mpi6ijgxfl2v7nirjld3yph13fbqm29fx007kj0w14m2pw"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-forked" ,python-pytest-forked)))
+ (propagated-inputs
+ `(("python-toml" ,python-toml)
+ ;; ignore linter because setuptools library functions are used directly
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/mgorny/pyproject2setuppy")
+ (synopsis "Build pyproject.toml-based projects using setuptools")
+ (description
+"@command{pyproject2setuppy} is a tool to install pyproject.toml-based
+packages using plain setuptools. It maps the project metadata into
+@code{setup()} call arguments, making it possible to build them without
+installing the dependency hell of the new build systems.")
+ (license license:bsd-2)))
+
(define-public python-box
(package
(name "python-box")
--
2.33.0