unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 51121@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#51121] [PATCH] gnu: Add python-pyproject2setuppy.
Date: Sun, 10 Oct 2021 16:48:24 -0400	[thread overview]
Message-ID: <20211010204824.17388-1-jgart@dismail.de> (raw)

* gnu/packages/python-xyz.scm (python-pyproject2setuppy): New variable.
---
 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 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





             reply	other threads:[~2021-10-10 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-10 20:48 jgart via Guix-patches via [this message]
2021-10-10 21:53 ` [bug#51121] WIP I'll send another patch soon jgart via Guix-patches via
2022-07-07 18:03   ` [bug#51121] [PATCH] gnu: Add python-pyproject2setuppy Maxim Cournoyer
2022-07-08  0:17     ` jgart via Guix-patches via
2022-07-09  1:38       ` bug#51121: " Maxim Cournoyer

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=20211010204824.17388-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=51121@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /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).