From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Martin Povišer" <povik+lin@cutebit.org>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1 RESEND] package/python-construct: new package
Date: Wed, 3 Aug 2022 21:58:25 +0200 [thread overview]
Message-ID: <20220803215825.30affd56@windsurf> (raw)
In-Reply-To: <A46AAF2E-D74E-4308-A9B3-3B18C3E1CD09@cutebit.org>
Hello Martin,
On Wed, 3 Aug 2022 17:42:48 +0200
Martin Povišer <povik+lin@cutebit.org> wrote:
> construct is a Python library for declarative serialization/
> deserialization of structured binary data.
>
> Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
> ---
> I don't know if you set a bar for the inclusion of packages in
> buildroot, but I think by its nature construct makes for a useful
> package on embedded systems.
Thanks for your contribution! It looked good, but there was one issue:
the patch was damaged, perhaps because you didn't send it using git
send-email?
So I fixed up the damage, but also added a test in our runtime test
infrastructure for this new package. This allows to verify that the
package works at runtime, which is quite important for Python modules.
See:
support/testing/tests/package/test_python_construct.py
which builds a simple Buildroot configuration with python-construct
enabled, boots it under Qemu, and runs:
support/testing/tests/package/sample_python_construct.py
inside this environment.
> +PYTHON_CONSTRUCT_DEPENDENCIES = host-python-setuptools-scm
I also dropped this dependency, because I couldn't see in setup.py why
this dependency would be needed, and a test build without this
dependency showed it was working. Hopefully I was not wrong on this :-)
See the final commit at:
https://gitlab.com/buildroot.org/buildroot/-/commit/c05caa755723737e91ffd57e736298cb19c9c87f
Again, thanks for your contribution!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-08-03 19:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 15:42 [Buildroot] [PATCH 1/1 RESEND] package/python-construct: new package Martin Povišer
2022-08-03 19:58 ` Thomas Petazzoni via buildroot [this message]
2022-08-03 20:19 ` Martin Povišer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220803215825.30affd56@windsurf \
--to=buildroot@buildroot.org \
--cc=povik+lin@cutebit.org \
--cc=thomas.petazzoni@bootlin.com \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.