package/python-flask: bump version to 1.1.1
PATCH 1/1 package/python-flask: bump version to 1.1.1
LICENSE was renamed to LICENSE.rst with little rephrasing. In addition, statements about the documentation licensing were moved from LICENSE to docs/license.rst so this file was added to _LICENSE_FILES (plus hash).
--- package/python-flask/python-flask.hash | 10 ++++++---- package/python-flask/python-flask.mk | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-)
package/python-flask/python-flask.hash +6 -4
@@ -1,4 +1,6 @@ -# md5 from https://pypi.python.org/pypi/Flask/json, sha256 locally computed -md5 824f0f20aae1f44c9c7dc4054adb7969 Flask-1.0.2.tar.gz -sha256 2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48 Flask-1.0.2.tar.gz -sha256 ce2117037008b9a8949f5a9ee1c7755f10844964d8ae4e138cded06f4e89de5f LICENSE +# md5, sha256 from https://pypi.org/pypi/flask/json +md5 0e3ed44ece1c489ed835d1b7047e349c Flask-1.1.1.tar.gz +sha256 13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52 Flask-1.1.1.tar.gz +# Locally computed sha256 checksums +sha256 489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea LICENSE.rst +sha256 0ef3ae025f4a398761079f0d687ff3d66f4fef3a32ac2607318e909c0cba9150 docs/license.rst
package/python-flask/python-flask.mk +3 -3
@@ -4,11 +4,11 @@ # ################################################################################ -PYTHON_FLASK_VERSION = 1.0.2 +PYTHON_FLASK_VERSION = 1.1.1 PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz -PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/4b/12/c1fbf4971fda0e4de05565694c9f0c92646223cff53f15b6eb248a310a62 +PYTHON_FLASK_SITE = https://files.pythonhosted.org/packages/2e/80/3726a729de758513fd3dbc64e93098eb009c49305a97c6751de55b20b694 PYTHON_FLASK_SETUP_TYPE = setuptools PYTHON_FLASK_LICENSE = BSD-3-Clause -PYTHON_FLASK_LICENSE_FILES = LICENSE +PYTHON_FLASK_LICENSE_FILES = LICENSE.rst docs/license.rst $(eval $(python-package))
Signature · 1 line
2.20.1
PATCH 1/1 package/python-reentry: add host variant
Add needed host variants to relevant dependencies.
--- package/python-click/python-click.mk | 1 + package/python-pathlib2/python-pathlib2.mk | 1 + package/python-reentry/python-reentry.mk | 5 +++++ 3 files changed, 7 insertions(+)
package/python-click/python-click.mk +1 -0
@@ -12,3 +12,4 @@ PYTHON_CLICK_LICENSE_FILES = LICENSE.rst PYTHON_CLICK_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package))
package/python-pathlib2/python-pathlib2.mk +1 -0
@@ -12,3 +12,4 @@ PYTHON_PATHLIB2_LICENSE_FILES = LICENSE.rst PYTHON_PATHLIB2_SETUP_TYPE = setuptools $(eval $(python-package)) +$(eval $(host-python-package))
package/python-reentry/python-reentry.mk +5 -0
@@ -10,5 +10,10 @@ PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/ee/3f/a90789e01c4d PYTHON_REENTRY_SETUP_TYPE = setuptools PYTHON_REENTRY_LICENSE = MIT PYTHON_REENTRY_LICENSE_FILES = LICENSE +HOST_PYTHON_REENTRY_DEPENDENCIES = \ + host-python-six + host-python-click + $(if $(BR2_PACKAGE_PYTHON),host-python-pathlib2,) $(eval $(python-package)) +$(eval $(host-python-package))
Signature · 1 line
2.20.1
PATCH 1/1 package/python-reentry: add host variant
Quoted 3 lines · On Sun, 20 Oct 2019 22:01:42 +0300 Asaf Kahlon <[email protected]> wrote:
Add needed host variants to relevant dependencies.
Signed-off-by Asaf Kahlon <[email protected]>
Why do we need a host variant for python-reentry ?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/python-reentry: add host variant
Hello,
Quoted 9 lines · Thomas Petazzoni
Quoted 3 lines · On Sun, 20 Oct 2019 22:01:42 +0300 Asaf Kahlon <[email protected]> wrote:
Add needed host variants to relevant dependencies.
Signed-off-by Asaf Kahlon <[email protected]>Why do we need a host variant for python-reentry ?
That's because packages which use reentry will probably have setup_requires=['reentry'] and reentry_register=True in their setup.py.
On installation, reentry creates a file with the registered entrypoints that you can read on the target when you need to load them.
Maybe I should send a v2 and explain that in the commit?
Quoted 6 lines
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Asaf.
PATCH 1/1 package/python-reentry: add host variant
Quoted 3 lines · On Mon, 21 Oct 2019 12:00:49 +0300 Asaf Kahlon <[email protected]> wrote:
Quoted 1 line
Why do we need a host variant for python-reentry ?
That's because packages which use reentry will probably have
"probably" ?
Quoted 6 lines
setup_requires=['reentry'] and reentry_register=True in their
setup.py.
On installation, reentry creates a file with the registered entrypoints that you can read on the target when you need to load them.
Maybe I should send a v2 and explain that in the commit?
Yes, we will need a better commit log, but more importantly, do we have any package in Buildroot that needs this ? Or is it custom/private packages that you have ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/python-reentry: add host variant
Hello,
Quoted 9 lines · Thomas Petazzoni
Quoted 3 lines · On Mon, 21 Oct 2019 12:00:49 +0300 Asaf Kahlon <[email protected]> wrote:
Quoted 1 line
Why do we need a host variant for python-reentry ?
That's because packages which use reentry will probably have
"probably" ?
Well, if you want to use reentry it's more than just "probably" =]
Quoted 11 lines
Quoted 7 lines
setup_requires=['reentry'] and reentry_register=True in their
setup.py.
On installation, reentry creates a file with the registered entrypoints that you can read on the target when you need to load them.
Maybe I should send a v2 and explain that in the commit?Yes, we will need a better commit log, but more importantly, do we have any package in Buildroot that needs this ? Or is it custom/private packages that you have ?
I don't see any Buildroot package which uses reentry...
To be honest, I don't know the project in depth and I don't know who maintains it.
I found it when I looked for an efficient entrypoint mechanism after I noticed that
making "import pkg_resources" on my board took very long time, and I thought it would
be nice to share this package with the Buildroot community in order to let other people
benefit from it.
In my private Python packages I use reentry as a replacement for pkg_resources and
I got much improved performance.
Quoted 8 lines
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Asaf.
Thomas Petazzoni
AppliedPATCH 1/1 package/python-flask: bump version to 1.1.1
In reply to Asaf KahlonQuoted 10 lines · On Sun, 20 Oct 2019 22:01:41 +0300 Asaf Kahlon <[email protected]> wrote:
LICENSE was renamed to
LICENSE.rstwith little rephrasing. In addition, statements about the documentation licensing were moved from LICENSE todocs/license.rstso this file was added to_LICENSE_FILES(plus hash).Signed-off-by Asaf Kahlon <[email protected]>--- package/python-flask/python-flask.hash | 10 ++++++---- package/python-flask/python-flask.mk | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com