public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Vincent Jardin via buildroot <buildroot@buildroot.org>
Cc: Vincent Jardin <vjardin@free.fr>
Subject: Re: [Buildroot] [PATCH v1 1/1] package/python-ncclient: new package
Date: Wed, 7 Jan 2026 23:47:23 +0100	[thread overview]
Message-ID: <20260107234723.330fc373@windsurf> (raw)
In-Reply-To: <20260107180108.2470425-2-vjardin@free.fr>

Hello Vincent,

On Wed,  7 Jan 2026 19:01:08 +0100
Vincent Jardin via buildroot <buildroot@buildroot.org> wrote:

> diff --git a/package/python-ncclient/Config.in b/package/python-ncclient/Config.in
> new file mode 100644
> index 0000000000..2be69efb2b
> --- /dev/null
> +++ b/package/python-ncclient/Config.in
> @@ -0,0 +1,16 @@
> +config BR2_PACKAGE_PYTHON_NCCLIENT
> +	bool "python-ncclient"
> +	depends on BR2_PACKAGE_PYTHON3

Not needed.

> +	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko
> +	select BR2_PACKAGE_PYTHON_LXML
> +	select BR2_PACKAGE_PYTHON_PARAMIKO
> +	select BR2_PACKAGE_PYTHON_SIX
> +	help
> +	  ncclient is a Python library for NETCONF clients. It
> +	  facilitates client-side scripting and application
> +	  development around NETCONF.
> +
> +	  https://github.com/ncclient/ncclient
> +
> +comment "python-ncclient needs python3 and host Rust (for paramiko)"
> +	depends on !BR2_PACKAGE_PYTHON3 || !BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS

Not needed. BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS is an
architecture dependency, so we don't write a comment about it, since
there's nothing the user can do about it.

> diff --git a/package/python-ncclient/python-ncclient.mk b/package/python-ncclient/python-ncclient.mk
> new file mode 100644
> index 0000000000..ca1b23e441
> --- /dev/null
> +++ b/package/python-ncclient/python-ncclient.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# python-ncclient
> +#
> +################################################################################
> +
> +PYTHON_NCCLIENT_VERSION = 0.7.0
> +PYTHON_NCCLIENT_SOURCE = ncclient-$(PYTHON_NCCLIENT_VERSION).tar.gz
> +PYTHON_NCCLIENT_SITE = https://files.pythonhosted.org/packages/source/n/ncclient
> +
> +PYTHON_NCCLIENT_LICENSE = Apache-2.0
> +PYTHON_NCCLIENT_LICENSE_FILES = LICENSE
> +
> +PYTHON_NCCLIENT_SETUP_TYPE = setuptools
> +
> +PYTHON_NCCLIENT_DEPENDENCIES = \
> +	python-lxml \
> +	python-paramiko \
> +	python-six

Are you sure these are build-time dependencies? Most of the time Python
modules are only run-time dependencies.

And as asked for some other patches, a test case in support/testing/
would be nice.

Thanks!

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

      reply	other threads:[~2026-01-07 22:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07 18:01 [Buildroot] [PATCH v1 0/1] package/python-ncclient: new package Vincent Jardin via buildroot
2026-01-07 18:01 ` [Buildroot] [PATCH v1 1/1] " Vincent Jardin via buildroot
2026-01-07 22:47   ` Thomas Petazzoni via buildroot [this message]

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=20260107234723.330fc373@windsurf \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vjardin@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox