[PATCH] gnu: Add python-pyproject2setuppy.

  • Done
  • quality assurance status badge
Details
3 participants
  • jgart
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
jgart
Severity
normal

Debbugs page

J
(address . guix-patches@gnu.org)(name . jgart)(address . jgart@dismail.de)
20211010204824.17388-1-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
J
WIP I'll send another patch soon.
(address . 51121@debbugs.gnu.org)
20211010175338.GB24443@gac.attlocal.net
Attachment: file
L
L
Ludovic Courtès wrote on 13 Nov 2021 15:20
control message for bug #51121
(address . control@debbugs.gnu.org)
8735nzbq2s.fsf@gnu.org
tags 51121 + moreinfo
quit
M
M
Maxim Cournoyer wrote on 7 Jul 2022 11:03
Re: bug#51121: [PATCH] gnu: Add python-pyproject2setuppy.
(name . jgart)(address . jgart@dismail.de)(address . 51121@debbugs.gnu.org)
87edywztoh.fsf@gmail.com
Hi,

jgart <jgart@dismail.de> writes:

Toggle quote (23 lines)
> Hi this is a WIP.
>
> I'll send another patch soon once I figure it out.
>
> Tests are currently failing:
>
> phase `wrap' succeeded after 0.0 seconds
> starting phase `check'
> ============================= test session starts ==============================
> platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
> rootdir: /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source, inifile: setup.cfg
> plugins: hypothesis-5.4.1, forked-1.3.0
> collected 205 items
>
> tests/test_common.py ... [ 1%]
> tests/test_flit.py ...s...s...s...s...s...s...s...s...s...s...s...s...s [ 26%]
> tests/test_flit_pep621.py ...s...s...s...s...s...s...s...s...s...s...s.. [ 49%]
> .s...s...s [ 54%]
> tests/test_main.py ...... [ 57%]
> tests/test_poetry.py ...s...s...s...s...s...s...s...s...s...s...s...s... [ 81%]
> s...s...s...s...s...s...s...s [ 96%]
> tests/test_setuptools.py ...F...F [100%]

We haven't gotten an update in some time.

Should we close this?

Thank you.

Maxim
J
J
jgart wrote on 7 Jul 2022 17:17
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 51121@debbugs.gnu.org)
20220707191704.GR1675@gac
On Thu, 07 Jul 2022 14:03:42 -0400 Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
Toggle quote (35 lines)
> Hi,
>
> jgart <jgart@dismail.de> writes:
>
> > Hi this is a WIP.
> >
> > I'll send another patch soon once I figure it out.
> >
> > Tests are currently failing:
> >
> > phase `wrap' succeeded after 0.0 seconds
> > starting phase `check'
> > ============================= test session starts ==============================
> > platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
> > rootdir: /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source, inifile: setup.cfg
> > plugins: hypothesis-5.4.1, forked-1.3.0
> > collected 205 items
> >
> > tests/test_common.py ... [ 1%]
> > tests/test_flit.py ...s...s...s...s...s...s...s...s...s...s...s...s...s [ 26%]
> > tests/test_flit_pep621.py ...s...s...s...s...s...s...s...s...s...s...s.. [ 49%]
> > .s...s...s [ 54%]
> > tests/test_main.py ...... [ 57%]
> > tests/test_poetry.py ...s...s...s...s...s...s...s...s...s...s...s...s... [ 81%]
> > s...s...s...s...s...s...s...s [ 96%]
> > tests/test_setuptools.py ...F...F [100%]
>
> We haven't gotten an update in some time.
>
> Should we close this?
>
> Thank you.
>
> Maxim

Sure, feel free to.

I'll get back to it when I need it or maybe someone else will pick it up.
M
M
Maxim Cournoyer wrote on 8 Jul 2022 18:38
(name . jgart)(address . jgart@dismail.de)(address . 51121-done@debbugs.gnu.org)
877d4nm5eb.fsf@gmail.com
Hello,

jgart <jgart@dismail.de> writes:

Toggle quote (40 lines)
> On Thu, 07 Jul 2022 14:03:42 -0400 Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>> Hi,
>>
>> jgart <jgart@dismail.de> writes:
>>
>> > Hi this is a WIP.
>> >
>> > I'll send another patch soon once I figure it out.
>> >
>> > Tests are currently failing:
>> >
>> > phase `wrap' succeeded after 0.0 seconds
>> > starting phase `check'
>> > ============================= test session starts ==============================
>> > platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
>> > rootdir: /tmp/guix-build-python-pyproject2setuppy-20.drv-0/source, inifile: setup.cfg
>> > plugins: hypothesis-5.4.1, forked-1.3.0
>> > collected 205 items
>> >
>> > tests/test_common.py ... [ 1%]
>> > tests/test_flit.py ...s...s...s...s...s...s...s...s...s...s...s...s...s [ 26%]
>> > tests/test_flit_pep621.py ...s...s...s...s...s...s...s...s...s...s...s.. [ 49%]
>> > .s...s...s [ 54%]
>> > tests/test_main.py ...... [ 57%]
>> > tests/test_poetry.py ...s...s...s...s...s...s...s...s...s...s...s...s... [ 81%]
>> > s...s...s...s...s...s...s...s [ 96%]
>> > tests/test_setuptools.py ...F...F [100%]
>>
>> We haven't gotten an update in some time.
>>
>> Should we close this?
>>
>> Thank you.
>>
>> Maxim
>
> Sure, feel free to.
>
> I'll get back to it when I need it or maybe someone else will pick it up.

Thanks, closing.

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 51121@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 51121
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch