Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1
@ 2019-10-20 19:01 Asaf Kahlon
  2019-10-20 19:01 ` [Buildroot] [PATCH 1/1] package/python-reentry: add host variant Asaf Kahlon
  2019-10-21 18:47 ` [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Asaf Kahlon @ 2019-10-20 19:01 UTC (permalink / raw)
  To: buildroot

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).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 package/python-flask/python-flask.hash | 10 ++++++----
 package/python-flask/python-flask.mk   |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/package/python-flask/python-flask.hash b/package/python-flask/python-flask.hash
index 4b34ea82a0..24f68c6605 100644
--- a/package/python-flask/python-flask.hash
+++ b/package/python-flask/python-flask.hash
@@ -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
diff --git a/package/python-flask/python-flask.mk b/package/python-flask/python-flask.mk
index 344eba5edb..0cd1a18018 100644
--- a/package/python-flask/python-flask.mk
+++ b/package/python-flask/python-flask.mk
@@ -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))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-reentry: add host variant
  2019-10-20 19:01 [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Asaf Kahlon
@ 2019-10-20 19:01 ` Asaf Kahlon
  2019-10-21  8:05   ` Thomas Petazzoni
  2019-10-21 18:47 ` [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Thomas Petazzoni
  1 sibling, 1 reply; 7+ messages in thread
From: Asaf Kahlon @ 2019-10-20 19:01 UTC (permalink / raw)
  To: buildroot

Add needed host variants to relevant dependencies.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 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(+)

diff --git a/package/python-click/python-click.mk b/package/python-click/python-click.mk
index 12539f557b..1c8c28449a 100644
--- a/package/python-click/python-click.mk
+++ b/package/python-click/python-click.mk
@@ -12,3 +12,4 @@ PYTHON_CLICK_LICENSE_FILES = LICENSE.rst
 PYTHON_CLICK_SETUP_TYPE = setuptools
 
 $(eval $(python-package))
+$(eval $(host-python-package))
diff --git a/package/python-pathlib2/python-pathlib2.mk b/package/python-pathlib2/python-pathlib2.mk
index d813b77d7e..5fa885235b 100644
--- a/package/python-pathlib2/python-pathlib2.mk
+++ b/package/python-pathlib2/python-pathlib2.mk
@@ -12,3 +12,4 @@ PYTHON_PATHLIB2_LICENSE_FILES = LICENSE.rst
 PYTHON_PATHLIB2_SETUP_TYPE = setuptools
 
 $(eval $(python-package))
+$(eval $(host-python-package))
diff --git a/package/python-reentry/python-reentry.mk b/package/python-reentry/python-reentry.mk
index 428dbf2b1b..b4bd33d846 100644
--- a/package/python-reentry/python-reentry.mk
+++ b/package/python-reentry/python-reentry.mk
@@ -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))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-reentry: add host variant
  2019-10-20 19:01 ` [Buildroot] [PATCH 1/1] package/python-reentry: add host variant Asaf Kahlon
@ 2019-10-21  8:05   ` Thomas Petazzoni
  2019-10-21  9:00     ` Asaf Kahlon
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2019-10-21  8:05 UTC (permalink / raw)
  To: buildroot

On Sun, 20 Oct 2019 22:01:42 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> Add needed host variants to relevant dependencies.
> 
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>

Why do we need a host variant for python-reentry ?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-reentry: add host variant
  2019-10-21  8:05   ` Thomas Petazzoni
@ 2019-10-21  9:00     ` Asaf Kahlon
  2019-10-22 20:27       ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Asaf Kahlon @ 2019-10-21  9:00 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, Oct 21, 2019 at 11:05 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Sun, 20 Oct 2019 22:01:42 +0300
> Asaf Kahlon <asafka7@gmail.com> wrote:
>
> > Add needed host variants to relevant dependencies.
> >
> > Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
>
> 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?

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

Asaf.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1
  2019-10-20 19:01 [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Asaf Kahlon
  2019-10-20 19:01 ` [Buildroot] [PATCH 1/1] package/python-reentry: add host variant Asaf Kahlon
@ 2019-10-21 18:47 ` Thomas Petazzoni
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2019-10-21 18:47 UTC (permalink / raw)
  To: buildroot

On Sun, 20 Oct 2019 22:01:41 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> 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).
> 
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-reentry: add host variant
  2019-10-21  9:00     ` Asaf Kahlon
@ 2019-10-22 20:27       ` Thomas Petazzoni
  2019-10-23 19:27         ` Asaf Kahlon
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2019-10-22 20:27 UTC (permalink / raw)
  To: buildroot

On Mon, 21 Oct 2019 12:00:49 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> > Why do we need a host variant for python-reentry ?  
> 
> That's because packages which use reentry will probably have

"probably" ?

> 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/1] package/python-reentry: add host variant
  2019-10-22 20:27       ` Thomas Petazzoni
@ 2019-10-23 19:27         ` Asaf Kahlon
  0 siblings, 0 replies; 7+ messages in thread
From: Asaf Kahlon @ 2019-10-23 19:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, Oct 22, 2019 at 11:27 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Mon, 21 Oct 2019 12:00:49 +0300
> Asaf Kahlon <asafka7@gmail.com> wrote:
>
> > > 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" =]
>
> > 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.

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

Asaf.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-23 19:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-20 19:01 [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Asaf Kahlon
2019-10-20 19:01 ` [Buildroot] [PATCH 1/1] package/python-reentry: add host variant Asaf Kahlon
2019-10-21  8:05   ` Thomas Petazzoni
2019-10-21  9:00     ` Asaf Kahlon
2019-10-22 20:27       ` Thomas Petazzoni
2019-10-23 19:27         ` Asaf Kahlon
2019-10-21 18:47 ` [Buildroot] [PATCH 1/1] package/python-flask: bump version to 1.1.1 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox