[Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 20.4.3

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 25 13:30:40 UTC 2020


On Fri, 24 Apr 2020 16:47:52 -0600
James Hilliard <james.hilliard1 at gmail.com> wrote:

> Autobahn recently added a feature called xbr which we don't support,
> let's remove this before building autobahn.

Why don't we support it? Can it be made optional in a way that is
acceptable upstream?

> +define PYTHON_AUTOBAHN_REMOVE_XBR
> +	rm -rf $(@D)/autobahn/xbr
> +	rm -f $(@D)/autobahn/asyncio/xbr.py
> +	rm -f $(@D)/autobahn/twisted/xbr.py
> +	sed -i -e "/'autobahn\.xbr',/d" $(@D)/setup.py
> +	sed -i -e "/'xbr': \['\.\/xbr\/contracts\/\*\.json'\],/d" $(@D)/setup.py
> +	sed -i -e '/"xbrnetwork = autobahn\.xbr\._cli:_main",/d' $(@D)/setup.py
> +	sed -i -e '/xbr/d' $(@D)/MANIFEST.in
> +endef

Urgh, we want a patch, not tweaks like that. I guess perhaps the patch
doesn't need to remove the actual source files, just remove the
handling in setup.py.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list