From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 9 Apr 2018 09:14:06 +0200 Subject: [Buildroot] [PATCH 1/1] python-fastentrypoints: new package In-Reply-To: References: <20180408174859.19679-1-asafka7@gmail.com> Message-ID: <20180409091406.70f4fd06@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Sun, 8 Apr 2018 22:59:32 +0200, Yegor Yefremov wrote: > On Sun, Apr 8, 2018 at 7:48 PM, Asaf Kahlon wrote: > > host-package that is able to shorten the load time of entry_points declared > > in setup.py of python packages. > > > > Unfortunately, license file was not found. > > This comment shouldn't be part of the commit log. I disagree, this comment makes sense in a commit log. > > diff --git a/package/python-fastentrypoints/Config.in b/package/python-fastentrypoints/Config.in > > new file mode 100644 > > index 0000000000..d2c86dbc5e > > --- /dev/null > > +++ b/package/python-fastentrypoints/Config.in > > @@ -0,0 +1,6 @@ > > +config BR2_PACKAGE_PYTHON_FASTENTRYPOINTS > > + bool "python-fastentrypoints" > > + help > > + Makes entry_points specified in setup.py load more quickly. > > + > > + https://github.com/ninjaaron/fast-entry_points So we have a Config.in option for a target package. > > +PYTHON_FASTENTRYPOINTS_VERSION = 0.10 > > +PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz > > +PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907 > > +PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools > > The license file can be found on github and seems to be BSD-2c [1] > > With these changes applied you can add my: Reviewed-by: Yegor Yefremov > > > [1] https://github.com/ninjaaron/fast-entry_points/blob/master/LICENSE > > Yegor > > > + > > +$(eval $(host-python-package)) But this is a host only package ? I don't see how this can work. Am I missing something ? Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com