[Buildroot] [PATCH v3 1/7] package/python-cryptography: enable host package

Clément Léger clement.leger at bootlin.com
Mon Mar 14 08:38:26 UTC 2022


Le Fri, 11 Mar 2022 21:43:32 +0100,
Thomas Petazzoni <thomas.petazzoni at bootlin.com> a écrit :

> Hello Clément,
> 
> On Fri, 11 Mar 2022 13:36:30 +0100
> Clément Léger <clement.leger at bootlin.com> wrote:
> 
> > +HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
> > +	host-python-setuptools-rust \
> > +	host-python-cffi \
> > +	host-rustc \
> > +	openssl  
> 
> This openssl dependency seems extremely dubious. Why would a host
> package depend on the target variant of openssl?

Yes, of course that is a host-openssl dependency that is needed.

> 
> >  PYTHON_CRYPTOGRAPHY_ENV = \
> >  	$(PKG_CARGO_ENV) \
> >  	PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
> > @@ -27,4 +32,6 @@ PYTHON_CRYPTOGRAPHY_DL_ENV = \
> >  	$(PKG_CARGO_ENV) \
> >  	BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml
> >  
> > +  
> 
> Spurious newline added.
> 
> >  $(eval $(python-package))
> > +$(eval $(host-python-package))  
> 
> Thomas



-- 
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com



More information about the buildroot mailing list