* [Buildroot] [PATCH 1/1] package/python-greenlet: new package
@ 2019-11-01 8:01 James Hilliard
2020-04-13 20:50 ` Thomas Petazzoni
2020-04-19 14:16 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: James Hilliard @ 2019-11-01 8:01 UTC (permalink / raw)
To: buildroot
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/python-greenlet/Config.in | 6 ++++++
package/python-greenlet/python-greenlet.hash | 5 +++++
package/python-greenlet/python-greenlet.mk | 14 ++++++++++++++
5 files changed, 27 insertions(+)
create mode 100644 package/python-greenlet/Config.in
create mode 100644 package/python-greenlet/python-greenlet.hash
create mode 100644 package/python-greenlet/python-greenlet.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 22332894de..c59d5c551d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1126,6 +1126,7 @@ F: package/python-aiorwlock/
F: package/python-async-timeout/
F: package/python-brotli/
F: package/python-cchardet/
+F: package/python-greenlet/
F: package/python-multidict/
F: package/python-pycares/
F: package/python-terminaltables/
diff --git a/package/Config.in b/package/Config.in
index 2819cab4ae..15dd3f0938 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -913,6 +913,7 @@ menu "External python modules"
source "package/python-functools32/Config.in"
source "package/python-futures/Config.in"
source "package/python-gobject/Config.in"
+ source "package/python-greenlet/Config.in"
source "package/python-gunicorn/Config.in"
source "package/python-h2/Config.in"
source "package/python-hiredis/Config.in"
diff --git a/package/python-greenlet/Config.in b/package/python-greenlet/Config.in
new file mode 100644
index 0000000000..ef82375b0b
--- /dev/null
+++ b/package/python-greenlet/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_GREENLET
+ bool "python-greenlet"
+ help
+ Lightweight in-process concurrent programming.
+
+ https://github.com/python-greenlet/greenlet
diff --git a/package/python-greenlet/python-greenlet.hash b/package/python-greenlet/python-greenlet.hash
new file mode 100644
index 0000000000..51a3c7efbb
--- /dev/null
+++ b/package/python-greenlet/python-greenlet.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/greenlet/json
+md5 10fa304f673fc18b28fa6d8c6658cb80 greenlet-0.4.15.tar.gz
+sha256 9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc greenlet-0.4.15.tar.gz
+# Locally computed sha256 checksums
+sha256 bbde55d5456a1e912633ed3f66d1dbd9504e3e3dce4f4c2015043cdcbc56e697 LICENSE
diff --git a/package/python-greenlet/python-greenlet.mk b/package/python-greenlet/python-greenlet.mk
new file mode 100644
index 0000000000..8dcf1fd693
--- /dev/null
+++ b/package/python-greenlet/python-greenlet.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-greenlet
+#
+################################################################################
+
+PYTHON_GREENLET_VERSION = 0.4.15
+PYTHON_GREENLET_SOURCE = greenlet-$(PYTHON_GREENLET_VERSION).tar.gz
+PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/f8/e8/b30ae23b45f69aa3f024b46064c0ac8e5fcb4f22ace0dca8d6f9c8bbe5e7
+PYTHON_GREENLET_SETUP_TYPE = distutils
+PYTHON_GREENLET_LICENSE = MIT
+PYTHON_GREENLET_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-greenlet: new package
2019-11-01 8:01 [Buildroot] [PATCH 1/1] package/python-greenlet: new package James Hilliard
@ 2020-04-13 20:50 ` Thomas Petazzoni
2020-04-19 14:16 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-04-13 20:50 UTC (permalink / raw)
To: buildroot
On Fri, 1 Nov 2019 02:01:35 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> +PYTHON_GREENLET_VERSION = 0.4.15
> +PYTHON_GREENLET_SOURCE = greenlet-$(PYTHON_GREENLET_VERSION).tar.gz
> +PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/f8/e8/b30ae23b45f69aa3f024b46064c0ac8e5fcb4f22ace0dca8d6f9c8bbe5e7
> +PYTHON_GREENLET_SETUP_TYPE = distutils
> +PYTHON_GREENLET_LICENSE = MIT
> +PYTHON_GREENLET_LICENSE_FILES = LICENSE
The LICENSE file states that there are some parts under the PSF-2.0
license. So I've updated the LICENSE variable to include PSF-2.0, and
the LICENSE_FILES variable to include the LICENSE.PSF file.
Applied with those changes. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-greenlet: new package
2019-11-01 8:01 [Buildroot] [PATCH 1/1] package/python-greenlet: new package James Hilliard
2020-04-13 20:50 ` Thomas Petazzoni
@ 2020-04-19 14:16 ` Thomas Petazzoni
2020-04-19 23:43 ` James Hilliard
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2020-04-19 14:16 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 1 Nov 2019 02:01:35 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
This package fails to build on a number of CPU architectures:
http://autobuild.buildroot.net/?reason=python-greenlet%
It seems like it contains some architecture-specific code, as it fails
like this:
greenlet.c:347:2: error: #error "greenlet needs to be ported to this platform, or teached how to detect your compiler properly."
Could you have a look ?
Are you receiving daily e-mail with the build failures that occur for
the packages you are listed for in the DEVELOPERS file ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-greenlet: new package
2020-04-19 14:16 ` Thomas Petazzoni
@ 2020-04-19 23:43 ` James Hilliard
0 siblings, 0 replies; 4+ messages in thread
From: James Hilliard @ 2020-04-19 23:43 UTC (permalink / raw)
To: buildroot
On Sun, Apr 19, 2020 at 8:16 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello,
>
> On Fri, 1 Nov 2019 02:01:35 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> This package fails to build on a number of CPU architectures:
>
> http://autobuild.buildroot.net/?reason=python-greenlet%
>
> It seems like it contains some architecture-specific code, as it fails
> like this:
>
> greenlet.c:347:2: error: #error "greenlet needs to be ported to this platform, or teached how to detect your compiler properly."
>
> Could you have a look ?
I went ahead and just disabled the failing architectures for now as adding
support for the missing architectures looks pretty tricky since I don't really
know much assembly.
https://patchwork.ozlabs.org/project/buildroot/patch/20200419233823.29410-1-james.hilliard1 at gmail.com/
I went ahead and opened issues upstream to track support for these missing
architectures:
https://github.com/python-greenlet/greenlet/issues/163
https://github.com/python-greenlet/greenlet/issues/164
https://github.com/python-greenlet/greenlet/issues/165
https://github.com/python-greenlet/greenlet/issues/166
>
> Are you receiving daily e-mail with the build failures that occur for
> the packages you are listed for in the DEVELOPERS file ?
Yes, just hadn't gotten around to looking at this one yet.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-19 23:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-01 8:01 [Buildroot] [PATCH 1/1] package/python-greenlet: new package James Hilliard
2020-04-13 20:50 ` Thomas Petazzoni
2020-04-19 14:16 ` Thomas Petazzoni
2020-04-19 23:43 ` James Hilliard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox