From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: "Jugurtha BELKALEM" <jugurtha.belkalem@smile.fr>,
"Gustavo Heinz" <gustavo@gsthnz.com>,
"Raphaël Mélotte" <raphael.melotte@mind.be>,
"Attila Wagner" <attila.wagner@onyxinsight.com>,
"Gwenhael Goavec-Merou" <gwenhael.goavec-merou@trabucayre.com>,
"Louis Aussedat" <aussedat.louis@gmail.com>,
"Angelo Compagnucci" <angelo.compagnucci@gmail.com>,
"Asaf Kahlon" <asafka7@gmail.com>,
"Wojciech M . Zabolotny" <wzab01@gmail.com>,
"Joris Offouga" <offougajoris@gmail.com>,
"James Hilliard" <james.hilliard1@gmail.com>,
"Marcin Niestroj" <m.niestroj@grinn-global.com>,
"Christian Kellermann" <christian.kellermann@solectrix.de>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Giulio Benetti" <giulio.benetti@benettiengineering.com>,
"Mauro Condarelli" <mc5686@mclink.it>,
"Lionel Flandrin" <lionel@svkt.org>
Subject: [Buildroot] [PATCH v9 02/18] package/python-dbus-fast: migrate to poetry core pep517 build backend
Date: Sat, 30 Mar 2024 18:41:17 -0600 [thread overview]
Message-ID: <20240331004133.636618-2-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com>
We need to migrate python-dbus-fast to the pep517 poetry-core backend
as setuptools is not supported when building with a pep517 frontend.
This package currently builds using setuptools as we do not yet
use setuptools with a pep517 build frontend. The package contains
a setuptools fallback which only can be used when using setuptools
without a pep517 frontend as the pep517 frontend will only use the
build backend specified in the package pyproject.toml which is
poetry-core and not setuptools.
We do need to additinally keep a dependency on host-python-setuptools
as that is specified as an additional build requirement.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/python-dbus-fast/python-dbus-fast.mk | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/python-dbus-fast/python-dbus-fast.mk b/package/python-dbus-fast/python-dbus-fast.mk
index b890177c74..1456ce5e4c 100644
--- a/package/python-dbus-fast/python-dbus-fast.mk
+++ b/package/python-dbus-fast/python-dbus-fast.mk
@@ -7,10 +7,13 @@
PYTHON_DBUS_FAST_VERSION = 2.12.0
PYTHON_DBUS_FAST_SOURCE = dbus_fast-$(PYTHON_DBUS_FAST_VERSION).tar.gz
PYTHON_DBUS_FAST_SITE = https://files.pythonhosted.org/packages/f5/8c/220fcbe4337b842d730d5752f207fc8efd3a02405c71c329e61218e947b8
-PYTHON_DBUS_FAST_SETUP_TYPE = setuptools
+PYTHON_DBUS_FAST_SETUP_TYPE = pep517
PYTHON_DBUS_FAST_LICENSE = MIT
PYTHON_DBUS_FAST_LICENSE_FILES = LICENSE
PYTHON_DBUS_FAST_ENV = REQUIRE_CYTHON=1
-PYTHON_DBUS_FAST_DEPENDENCIES = host-python-cython
+PYTHON_DBUS_FAST_DEPENDENCIES = \
+ host-python-cython \
+ host-python-poetry-core \
+ host-python-setuptools
$(eval $(python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-03-31 0:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-31 0:41 [Buildroot] [PATCH v9 01/18] package/python-canopen: add setuptools-scm build dependency James Hilliard
2024-03-31 0:41 ` James Hilliard [this message]
2024-03-31 0:41 ` [Buildroot] [PATCH v9 03/18] package/python-dnspython: migrate to poetry core pep517 build backend James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 04/18] package/python-flask-babel: " James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 05/18] package/python-flask-wtf: migrate to hatching " James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 06/18] package/python-expandvars: new host package James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 07/18] package/python-frozenlist: migrate to in-tree pep517 build backend James Hilliard
2024-04-01 18:54 ` Arnout Vandecappelle via buildroot
2024-03-31 0:41 ` [Buildroot] [PATCH v9 08/18] package/python-humanize: add setuptools-scm build dependency James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 09/18] package/python-iso8601: migrate to poetry core pep517 build backend James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 10/18] package/python-cppy: add setuptools-scm build dependency James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 11/18] package/python-pylibftdi: migrate to poetry core pep517 build backend James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 12/18] package/python-sip: add missing setuptools dependency James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 13/18] package/python-rsa: migrate to poetry core pep517 build backend James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 14/18] package/python-sh: " James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 15/18] package/python-simplelogging: " James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 16/18] package/python-pyzmq: add cython for python-pyzmq James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 17/18] package/python-setuptools: bump to version 69.2.0 James Hilliard
2024-03-31 0:41 ` [Buildroot] [PATCH v9 18/18] package/pkg-python.mk: migrate setuptools to pep517 James Hilliard
2024-04-01 20:11 ` Arnout Vandecappelle via buildroot
2024-04-01 20:32 ` James Hilliard
2024-04-01 20:12 ` [Buildroot] [PATCH v9 01/18] package/python-canopen: add setuptools-scm build dependency Arnout Vandecappelle via buildroot
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=20240331004133.636618-2-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=angelo.compagnucci@gmail.com \
--cc=asafka7@gmail.com \
--cc=attila.wagner@onyxinsight.com \
--cc=aussedat.louis@gmail.com \
--cc=buildroot@buildroot.org \
--cc=christian.kellermann@solectrix.de \
--cc=giulio.benetti@benettiengineering.com \
--cc=gustavo@gsthnz.com \
--cc=gwenhael.goavec-merou@trabucayre.com \
--cc=jugurtha.belkalem@smile.fr \
--cc=lionel@svkt.org \
--cc=m.niestroj@grinn-global.com \
--cc=mc5686@mclink.it \
--cc=offougajoris@gmail.com \
--cc=raphael.melotte@mind.be \
--cc=thomas.petazzoni@bootlin.com \
--cc=wzab01@gmail.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.