From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 25 Apr 2020 15:30:40 +0200 Subject: [Buildroot] [PATCH 1/1] package/python-autobahn: bump to version 20.4.3 In-Reply-To: <20200424224752.63673-1-james.hilliard1@gmail.com> References: <20200424224752.63673-1-james.hilliard1@gmail.com> Message-ID: <20200425153040.297e371c@windsurf.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Fri, 24 Apr 2020 16:47:52 -0600 James Hilliard 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