kumquat-buildroot/package/python-pysftp/Config.in
Thomas Petazzoni 8d1a72866a package/python-pysftp: add missing C++ dependency from paramiko
python-paramiko has a dependency on C++ support, which was added in
commit 2d7b73cf75 in 2016.

When python-pysftp was added in commit
3b920487ba in 2020, this C++ dependency
was not propagated, even though python-pysftp selects python-paramiko.

This commit fixes this issue by propagating the dependency, which
fixes this warning:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
  Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=n]
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y]

That occurs with configuration with C++ disabled, but python-pysftp
enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-25 15:38:34 +02:00

14 lines
413 B
Plaintext

config BR2_PACKAGE_PYTHON_PYSFTP
bool "python-pysftp"
depends on BR2_PACKAGE_PYTHON3 # python-paramiko -> python-bcrypt
depends on BR2_INSTALL_LIBSTDCPP # python-paramiko
select BR2_PACKAGE_PYTHON_PARAMIKO # runtime
help
A friendly face on SFTP.
https://bitbucket.org/dundeemt/pysftp
comment "python-pysftp needs a toolchain w/ C++"
depends on BR2_PACKAGE_PYTHON3
depends on !BR2_INSTALL_LIBSTDCPP