diff mbox series

[1/1] package/python-pysftp: fix dependencies

Message ID 20220115104729.1760707-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/python-pysftp: fix dependencies | expand

Commit Message

Fabrice Fontaine Jan. 15, 2022, 10:47 a.m. UTC
Fix the following build failure raised since bump of python-cryptography
to version 36.0.1 in commit 01764876e3d4e7ab95c8365f1c83e6c12d49757c:

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

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

Fixes:
 - No autobuilder failures (yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-pysftp/Config.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Yann E. MORIN Jan. 15, 2022, 11:11 a.m. UTC | #1
Fabrice, All,

On 2022-01-15 11:47 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump of python-cryptography
> to version 36.0.1 in commit 01764876e3d4e7ab95c8365f1c83e6c12d49757c:
> 
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
>   Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y]
>   Selected by [y]:
>   - BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]
> 
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PARAMIKO
>   Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] && BR2_PACKAGE_PYTHON3 [=y]
>   Selected by [y]:
>   - BR2_PACKAGE_PYTHON_PYSFTP [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=y]
> 
> Fixes:
>  - No autobuilder failures (yet)
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/python-pysftp/Config.in | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/package/python-pysftp/Config.in b/package/python-pysftp/Config.in
> index 5d5b731f33..c65369b667 100644
> --- a/package/python-pysftp/Config.in
> +++ b/package/python-pysftp/Config.in
> @@ -1,13 +1,9 @@
>  config BR2_PACKAGE_PYTHON_PYSFTP
>  	bool "python-pysftp"
> +	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko -> python-cryptography
>  	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
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/python-pysftp/Config.in b/package/python-pysftp/Config.in
index 5d5b731f33..c65369b667 100644
--- a/package/python-pysftp/Config.in
+++ b/package/python-pysftp/Config.in
@@ -1,13 +1,9 @@ 
 config BR2_PACKAGE_PYTHON_PYSFTP
 	bool "python-pysftp"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko -> python-cryptography
 	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