* [Buildroot] [PATCH 2/5] package/flask-caching: add version 2.3.1
2025-03-31 23:37 [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Daniel Crowe
@ 2025-03-31 23:37 ` Daniel Crowe
2025-04-19 21:53 ` Thomas Petazzoni via buildroot
2025-03-31 23:37 ` [Buildroot] [PATCH 3/5] package/python-aniso8601: add version 10.0.0 Daniel Crowe
` (3 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Daniel Crowe @ 2025-03-31 23:37 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Daniel Crowe, Thomas Petazzoni
Provides caching for python Flask applications
https://flask-caching.readthedocs.io/en/latest/
Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
---
package/Config.in | 1 +
package/python-flask-caching/Config.in | 8 ++++++++
.../python-flask-caching/python-flask-caching.hash | 6 ++++++
.../python-flask-caching/python-flask-caching.mk | 14 ++++++++++++++
4 files changed, 29 insertions(+)
create mode 100644 package/python-flask-caching/Config.in
create mode 100644 package/python-flask-caching/python-flask-caching.hash
create mode 100644 package/python-flask-caching/python-flask-caching.mk
diff --git a/package/Config.in b/package/Config.in
index 71d8580638..fa8a347464 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1115,6 +1115,7 @@ menu "External python modules"
source "package/python-fire/Config.in"
source "package/python-flask/Config.in"
source "package/python-flask-babel/Config.in"
+ source "package/python-flask-caching/Config.in"
source "package/python-flask-cors/Config.in"
source "package/python-flask-expects-json/Config.in"
source "package/python-flask-jsonrpc/Config.in"
diff --git a/package/python-flask-caching/Config.in b/package/python-flask-caching/Config.in
new file mode 100644
index 0000000000..ad8c617f7a
--- /dev/null
+++ b/package/python-flask-caching/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_FLASK_CACHING
+ bool "python-flask-caching"
+ select BR2_PACKAGE_PYTHON_CACHELIB # runtime
+ select BR2_PACKAGE_PYTHON_FLASK # runtime
+ help
+ Adds caching support to Flask applications.
+
+ https://github.com/pallets-eco/flask-caching
diff --git a/package/python-flask-caching/python-flask-caching.hash b/package/python-flask-caching/python-flask-caching.hash
new file mode 100644
index 0000000000..ee3f669934
--- /dev/null
+++ b/package/python-flask-caching/python-flask-caching.hash
@@ -0,0 +1,6 @@
+# md5, sha256 from https://pypi.org/pypi/flask-caching/json
+md5 026d06167ba7353ac65c861950ad5696 flask_caching-2.3.1.tar.gz
+sha256 65d7fd1b4eebf810f844de7de6258254b3248296ee429bdcb3f741bcbf7b98c9 flask_caching-2.3.1.tar.gz
+# Locally computed sha256 checksums
+sha256 1f3c445faa26eb32d90291228510e2d8594bd1fe15463f5d70c87d44f38872fd LICENSE
+sha256 7729328f7b1ce664dbf630f077581cdfe97379b58b49e9a4f20c63912a5e5c09 docs/license.rst
diff --git a/package/python-flask-caching/python-flask-caching.mk b/package/python-flask-caching/python-flask-caching.mk
new file mode 100644
index 0000000000..db305d3dde
--- /dev/null
+++ b/package/python-flask-caching/python-flask-caching.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-caching
+#
+################################################################################
+
+PYTHON_FLASK_CACHING_VERSION = 2.3.1
+PYTHON_FLASK_CACHING_SOURCE = flask_caching-$(PYTHON_FLASK_CACHING_VERSION).tar.gz
+PYTHON_FLASK_CACHING_SITE = https://files.pythonhosted.org/packages/e2/80/74846c8af58ed60972d64f23a6cd0c3ac0175677d7555dff9f51bf82c294
+PYTHON_FLASK_CACHING_SETUP_TYPE = setuptools
+PYTHON_FLASK_CACHING_LICENSE = BSD-3-Clause
+PYTHON_FLASK_CACHING_LICENSE_FILES = LICENSE docs/license.rst
+
+$(eval $(python-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [Buildroot] [PATCH 2/5] package/flask-caching: add version 2.3.1
2025-03-31 23:37 ` [Buildroot] [PATCH 2/5] package/flask-caching: add version 2.3.1 Daniel Crowe
@ 2025-04-19 21:53 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-04-19 21:53 UTC (permalink / raw)
To: Daniel Crowe; +Cc: buildroot, James Hilliard
Hello Daniel,
On Tue, 1 Apr 2025 10:07:23 +1030
Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
> Provides caching for python Flask applications
> https://flask-caching.readthedocs.io/en/latest/
>
> Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
> ---
> package/Config.in | 1 +
> package/python-flask-caching/Config.in | 8 ++++++++
> .../python-flask-caching/python-flask-caching.hash | 6 ++++++
> .../python-flask-caching/python-flask-caching.mk | 14 ++++++++++++++
> 4 files changed, 29 insertions(+)
> create mode 100644 package/python-flask-caching/Config.in
> create mode 100644 package/python-flask-caching/python-flask-caching.hash
> create mode 100644 package/python-flask-caching/python-flask-caching.mk
Same comments as the previous patch: the commit title wasn't entirely
correct, and the entry in the DEVELOPERS file was missing. Aside from
that, looked good, so: applied to master, thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 3/5] package/python-aniso8601: add version 10.0.0
2025-03-31 23:37 [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Daniel Crowe
2025-03-31 23:37 ` [Buildroot] [PATCH 2/5] package/flask-caching: add version 2.3.1 Daniel Crowe
@ 2025-03-31 23:37 ` Daniel Crowe
2025-04-20 21:13 ` Thomas Petazzoni via buildroot
2025-03-31 23:37 ` [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0 Daniel Crowe
` (2 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Daniel Crowe @ 2025-03-31 23:37 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Daniel Crowe, Thomas Petazzoni
A library for parsing ISO 8601 strings
https://bitbucket.org/nielsenb/aniso8601/src/master/
Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
---
package/Config.in | 1 +
package/python-aniso8601/Config.in | 6 ++++++
package/python-aniso8601/python-aniso8601.hash | 5 +++++
package/python-aniso8601/python-aniso8601.mk | 14 ++++++++++++++
4 files changed, 26 insertions(+)
create mode 100644 package/python-aniso8601/Config.in
create mode 100644 package/python-aniso8601/python-aniso8601.hash
create mode 100644 package/python-aniso8601/python-aniso8601.mk
diff --git a/package/Config.in b/package/Config.in
index fa8a347464..f15f5c76d8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -994,6 +994,7 @@ menu "External python modules"
source "package/python-aiozipkin/Config.in"
source "package/python-alembic/Config.in"
source "package/python-alsaaudio/Config.in"
+ source "package/python-aniso8601/Config.in"
source "package/python-annotated-types/Config.in"
source "package/python-ansicolors/Config.in"
source "package/python-anyio/Config.in"
diff --git a/package/python-aniso8601/Config.in b/package/python-aniso8601/Config.in
new file mode 100644
index 0000000000..cea76eeff5
--- /dev/null
+++ b/package/python-aniso8601/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ANISO8601
+ bool "python-aniso8601"
+ help
+ A library for parsing ISO 8601 strings.
+
+ https://bitbucket.org/nielsenb/aniso8601
diff --git a/package/python-aniso8601/python-aniso8601.hash b/package/python-aniso8601/python-aniso8601.hash
new file mode 100644
index 0000000000..c0e8f95f3b
--- /dev/null
+++ b/package/python-aniso8601/python-aniso8601.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aniso8601/json
+md5 29acca96d02d182b7ff09f02047b84a8 aniso8601-10.0.0.tar.gz
+sha256 ff1d0fc2346688c62c0151547136ac30e322896ed8af316ef7602c47da9426cf aniso8601-10.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 c3cca0b9a74fd29668bd99b5dcf0274d53be904de6778916dc852708f407b0f0 LICENSE
diff --git a/package/python-aniso8601/python-aniso8601.mk b/package/python-aniso8601/python-aniso8601.mk
new file mode 100644
index 0000000000..1bb6628953
--- /dev/null
+++ b/package/python-aniso8601/python-aniso8601.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aniso8601
+#
+################################################################################
+
+PYTHON_ANISO8601_VERSION = 10.0.0
+PYTHON_ANISO8601_SOURCE = aniso8601-$(PYTHON_ANISO8601_VERSION).tar.gz
+PYTHON_ANISO8601_SITE = https://files.pythonhosted.org/packages/f3/3f/dc8a28fa6dc72c13d8c158b01f8975f240e9e72c336cc1ae00f424e2d7ce
+PYTHON_ANISO8601_SETUP_TYPE = setuptools
+PYTHON_ANISO8601_LICENSE = BSD-3-Clause
+PYTHON_ANISO8601_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0
2025-03-31 23:37 [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Daniel Crowe
2025-03-31 23:37 ` [Buildroot] [PATCH 2/5] package/flask-caching: add version 2.3.1 Daniel Crowe
2025-03-31 23:37 ` [Buildroot] [PATCH 3/5] package/python-aniso8601: add version 10.0.0 Daniel Crowe
@ 2025-03-31 23:37 ` Daniel Crowe
2025-04-20 21:15 ` Thomas Petazzoni via buildroot
2025-03-31 23:37 ` [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1 Daniel Crowe
2025-04-19 21:48 ` [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Thomas Petazzoni via buildroot
4 siblings, 1 reply; 12+ messages in thread
From: Daniel Crowe @ 2025-03-31 23:37 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Daniel Crowe, Thomas Petazzoni
Support REST APIs with Flask applications
https://flask-restx.readthedocs.io/en/latest/
Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
---
package/Config.in | 1 +
package/python-flask-restx/Config.in | 13 +++++++++++++
package/python-flask-restx/python-flask-restx.hash | 5 +++++
package/python-flask-restx/python-flask-restx.mk | 14 ++++++++++++++
4 files changed, 33 insertions(+)
create mode 100644 package/python-flask-restx/Config.in
create mode 100644 package/python-flask-restx/python-flask-restx.hash
create mode 100644 package/python-flask-restx/python-flask-restx.mk
diff --git a/package/Config.in b/package/Config.in
index f15f5c76d8..dc042875e8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1121,6 +1121,7 @@ menu "External python modules"
source "package/python-flask-expects-json/Config.in"
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"
+ source "package/python-flask-restx/Config.in"
source "package/python-flask-smorest/Config.in"
source "package/python-flask-sqlalchemy/Config.in"
source "package/python-flask-wtf/Config.in"
diff --git a/package/python-flask-restx/Config.in b/package/python-flask-restx/Config.in
new file mode 100644
index 0000000000..cdbe509891
--- /dev/null
+++ b/package/python-flask-restx/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_FLASK_RESTX
+ bool "python-flask-restx"
+ select BR2_PACKAGE_PYTHON_ANISO8601 # runtime
+ select BR2_PACKAGE_PYTHON_FLASK # runtime
+ select BR2_PACKAGE_PYTHON_IMPORTLIB_RESOURCES # runtime
+ select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime
+ select BR2_PACKAGE_PYTHON_PYTZ # runtime
+ select BR2_PACKAGE_PYTHON_WERKZEUG # runtime
+ help
+ Fully featured framework for fast, easy and documented API
+ development with Flask.
+
+ https://github.com/python-restx/flask-restx
diff --git a/package/python-flask-restx/python-flask-restx.hash b/package/python-flask-restx/python-flask-restx.hash
new file mode 100644
index 0000000000..f90601cdc1
--- /dev/null
+++ b/package/python-flask-restx/python-flask-restx.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/flask-restx/json
+md5 262984a0c902db0b6f4afb86a69ea40e flask-restx-1.3.0.tar.gz
+sha256 4f3d3fa7b6191fcc715b18c201a12cd875176f92ba4acc61626ccfd571ee1728 flask-restx-1.3.0.tar.gz
+# Locally computed sha256 checksums
+sha256 d736fc20d979831ab5c380973d01542de97857d975b60a4cf03efbd9e4e38997 LICENSE
diff --git a/package/python-flask-restx/python-flask-restx.mk b/package/python-flask-restx/python-flask-restx.mk
new file mode 100644
index 0000000000..23596f23d4
--- /dev/null
+++ b/package/python-flask-restx/python-flask-restx.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-restx
+#
+################################################################################
+
+PYTHON_FLASK_RESTX_VERSION = 1.3.0
+PYTHON_FLASK_RESTX_SOURCE = flask-restx-$(PYTHON_FLASK_RESTX_VERSION).tar.gz
+PYTHON_FLASK_RESTX_SITE = https://files.pythonhosted.org/packages/45/4c/2e7d84e2b406b47cf3bf730f521efe474977b404ee170d8ea68dc37e6733
+PYTHON_FLASK_RESTX_SETUP_TYPE = setuptools
+PYTHON_FLASK_RESTX_LICENSE = BSD-3-Clause
+PYTHON_FLASK_RESTX_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0
2025-03-31 23:37 ` [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0 Daniel Crowe
@ 2025-04-20 21:15 ` Thomas Petazzoni via buildroot
2025-05-07 3:44 ` Daniel Crowe
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-04-20 21:15 UTC (permalink / raw)
To: Daniel Crowe; +Cc: buildroot, James Hilliard
Hello Daniel,
On Tue, 1 Apr 2025 10:07:25 +1030
Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
> package/Config.in | 1 +
> package/python-flask-restx/Config.in | 13 +++++++++++++
> package/python-flask-restx/python-flask-restx.hash | 5 +++++
> package/python-flask-restx/python-flask-restx.mk | 14 ++++++++++++++
> 4 files changed, 33 insertions(+)
The entry in the DEVELOPERS file is missing.
> diff --git a/package/python-flask-restx/Config.in b/package/python-flask-restx/Config.in
> new file mode 100644
> index 0000000000..cdbe509891
> --- /dev/null
> +++ b/package/python-flask-restx/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_PYTHON_FLASK_RESTX
> + bool "python-flask-restx"
> + select BR2_PACKAGE_PYTHON_ANISO8601 # runtime
> + select BR2_PACKAGE_PYTHON_FLASK # runtime
> + select BR2_PACKAGE_PYTHON_IMPORTLIB_RESOURCES # runtime
Unless I'm missing something, this particular option doesn't exist in
Buildroot. What did you want to achieve here? Is this a package you
have in your private branch, and that you forgot to submit, or?
Thanks a lot in advance for your clarification!
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0
2025-04-20 21:15 ` Thomas Petazzoni via buildroot
@ 2025-05-07 3:44 ` Daniel Crowe
0 siblings, 0 replies; 12+ messages in thread
From: Daniel Crowe @ 2025-05-07 3:44 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1839 bytes --]
Thanks for the feedback Thomas.
I'll remove the dependency and send it again.
The `importlib-resources` package is a public package used to provide
backwards compatibility with older python versions; definitely not needed
with the python version used by buildroot. It was automatically added by
the import tool and I didn't notice it.
Cheers,
Daniel Crowe
On Mon, 21 Apr 2025 at 06:45, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
wrote:
> Hello Daniel,
>
> On Tue, 1 Apr 2025 10:07:25 +1030
> Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
>
> > package/Config.in | 1 +
> > package/python-flask-restx/Config.in | 13 +++++++++++++
> > package/python-flask-restx/python-flask-restx.hash | 5 +++++
> > package/python-flask-restx/python-flask-restx.mk | 14 ++++++++++++++
> > 4 files changed, 33 insertions(+)
>
> The entry in the DEVELOPERS file is missing.
>
>
> > diff --git a/package/python-flask-restx/Config.in
> b/package/python-flask-restx/Config.in
> > new file mode 100644
> > index 0000000000..cdbe509891
> > --- /dev/null
> > +++ b/package/python-flask-restx/Config.in
> > @@ -0,0 +1,13 @@
> > +config BR2_PACKAGE_PYTHON_FLASK_RESTX
> > + bool "python-flask-restx"
> > + select BR2_PACKAGE_PYTHON_ANISO8601 # runtime
> > + select BR2_PACKAGE_PYTHON_FLASK # runtime
> > + select BR2_PACKAGE_PYTHON_IMPORTLIB_RESOURCES # runtime
>
> Unless I'm missing something, this particular option doesn't exist in
> Buildroot. What did you want to achieve here? Is this a package you
> have in your private branch, and that you forgot to submit, or?
>
> Thanks a lot in advance for your clarification!
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2701 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1
2025-03-31 23:37 [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Daniel Crowe
` (2 preceding siblings ...)
2025-03-31 23:37 ` [Buildroot] [PATCH 4/5] package/python-flask-restx: add version 1.3.0 Daniel Crowe
@ 2025-03-31 23:37 ` Daniel Crowe
2025-04-20 21:27 ` Thomas Petazzoni via buildroot
2025-04-19 21:48 ` [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Thomas Petazzoni via buildroot
4 siblings, 1 reply; 12+ messages in thread
From: Daniel Crowe @ 2025-03-31 23:37 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Daniel Crowe, Thomas Petazzoni
Provides cartographic projections in Python
https://pyproj4.github.io/pyproj/stable/
Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
---
package/Config.in | 1 +
package/python-pyproj/Config.in | 8 ++++++++
package/python-pyproj/python-pyproj.hash | 5 +++++
package/python-pyproj/python-pyproj.mk | 14 ++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/python-pyproj/Config.in
create mode 100644 package/python-pyproj/python-pyproj.hash
create mode 100644 package/python-pyproj/python-pyproj.mk
diff --git a/package/Config.in b/package/Config.in
index dc042875e8..b82bffd227 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1325,6 +1325,7 @@ menu "External python modules"
source "package/python-pyphen/Config.in"
source "package/python-pypika-tortoise/Config.in"
source "package/python-pypng/Config.in"
+ source "package/python-pyproj/Config.in"
source "package/python-pyqrcode/Config.in"
source "package/python-pyqt5/Config.in"
source "package/python-pyqt5-sip/Config.in"
diff --git a/package/python-pyproj/Config.in b/package/python-pyproj/Config.in
new file mode 100644
index 0000000000..b53b828d5f
--- /dev/null
+++ b/package/python-pyproj/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_PYPROJ
+ bool "python-pyproj"
+ select BR2_PACKAGE_PYTHON_CERTIFI # runtime
+ help
+ Python interface to PROJ (cartographic projections and
+ coordinate transformations library).
+
+ https://github.com/pyproj4/pyproj
diff --git a/package/python-pyproj/python-pyproj.hash b/package/python-pyproj/python-pyproj.hash
new file mode 100644
index 0000000000..6d9d4d2a20
--- /dev/null
+++ b/package/python-pyproj/python-pyproj.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyproj/json
+md5 ad62b11249d8e62879778190a3e3ef8c pyproj-3.7.1.tar.gz
+sha256 60d72facd7b6b79853f19744779abcd3f804c4e0d4fa8815469db20c9f640a47 pyproj-3.7.1.tar.gz
+# Locally computed sha256 checksums
+sha256 a652687151814d4c4715445912fcb49e7e58f5b248d47a1a88b859a8815e0822 LICENSE
diff --git a/package/python-pyproj/python-pyproj.mk b/package/python-pyproj/python-pyproj.mk
new file mode 100644
index 0000000000..f94d9218ba
--- /dev/null
+++ b/package/python-pyproj/python-pyproj.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyproj
+#
+################################################################################
+
+PYTHON_PYPROJ_VERSION = 3.7.1
+PYTHON_PYPROJ_SOURCE = pyproj-$(PYTHON_PYPROJ_VERSION).tar.gz
+PYTHON_PYPROJ_SITE = https://files.pythonhosted.org/packages/67/10/a8480ea27ea4bbe896c168808854d00f2a9b49f95c0319ddcbba693c8a90
+PYTHON_PYPROJ_SETUP_TYPE = setuptools
+PYTHON_PYPROJ_LICENSE = MIT
+PYTHON_PYPROJ_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1
2025-03-31 23:37 ` [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1 Daniel Crowe
@ 2025-04-20 21:27 ` Thomas Petazzoni via buildroot
2025-05-07 5:18 ` Daniel Crowe
0 siblings, 1 reply; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-04-20 21:27 UTC (permalink / raw)
To: Daniel Crowe; +Cc: buildroot, James Hilliard
Hello Daniel,
On Tue, 1 Apr 2025 10:07:26 +1030
Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
> Provides cartographic projections in Python
> https://pyproj4.github.io/pyproj/stable/
>
> Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
I was quite surprised that this didn't need any dependency on the
"proj" library, so I tried to build it, and it fails with:
* Getting build dependencies for wheel...
ERROR: Cython.Build.cythonize not found. Cython is required to build pyproj.
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
I just built:
BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_PYPROJ=y
Also, since it's a fairly complex Python package, could you add a test
case in support/testing/? It can be as simple as some trivial examples
from https://pyproj4.github.io/pyproj/stable/examples.html.
See support/testing/tests/package/test_python_ubjson.py for a very
simple example of Python test.
(Also, please add an entry in the DEVELOPERS file. Thanks!)
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1
2025-04-20 21:27 ` Thomas Petazzoni via buildroot
@ 2025-05-07 5:18 ` Daniel Crowe
0 siblings, 0 replies; 12+ messages in thread
From: Daniel Crowe @ 2025-05-07 5:18 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1637 bytes --]
Thanks for the excellent feedback Thomas.
You were quite right, it needed quite a bit of work to actually compile
correctly outside of my environment.
The testing infrastructure is really nice to play with!
I'll fix up and push another patch.
Thanks,
Daniel
On Mon, 21 Apr 2025 at 06:57, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
wrote:
> Hello Daniel,
>
> On Tue, 1 Apr 2025 10:07:26 +1030
> Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
>
> > Provides cartographic projections in Python
> > https://pyproj4.github.io/pyproj/stable/
> >
> > Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
>
> I was quite surprised that this didn't need any dependency on the
> "proj" library, so I tried to build it, and it fails with:
>
> * Getting build dependencies for wheel...
> ERROR: Cython.Build.cythonize not found. Cython is required to build
> pyproj.
>
> ERROR Backend subprocess exited when trying to invoke
> get_requires_for_build_wheel
>
> I just built:
>
> BR2_arm=y
> BR2_cortex_a8=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_PER_PACKAGE_DIRECTORIES=y
> BR2_PACKAGE_PYTHON3=y
> BR2_PACKAGE_PYTHON_PYPROJ=y
>
> Also, since it's a fairly complex Python package, could you add a test
> case in support/testing/? It can be as simple as some trivial examples
> from https://pyproj4.github.io/pyproj/stable/examples.html.
>
> See support/testing/tests/package/test_python_ubjson.py for a very
> simple example of Python test.
>
> (Also, please add an entry in the DEVELOPERS file. Thanks!)
>
> Thanks a lot!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
[-- Attachment #1.2: Type: text/html, Size: 2637 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0
2025-03-31 23:37 [Buildroot] [PATCH 1/5] package/python-cachelib: add version 0.13.0 Daniel Crowe
` (3 preceding siblings ...)
2025-03-31 23:37 ` [Buildroot] [PATCH 5/5] package/python-pyproj: add version 3.7.1 Daniel Crowe
@ 2025-04-19 21:48 ` Thomas Petazzoni via buildroot
4 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-04-19 21:48 UTC (permalink / raw)
To: Daniel Crowe; +Cc: buildroot, James Hilliard
On Tue, 1 Apr 2025 10:07:22 +1030
Daniel Crowe <daniel.crowe@maxmine.com.au> wrote:
> Provides caching APIs.
> https://cachelib.readthedocs.io/en/stable/
>
> Signed-off-by: Daniel Crowe <daniel.crowe@maxmine.com.au>
> ---
> package/Config.in | 1 +
> package/python-cachelib/Config.in | 6 ++++++
> package/python-cachelib/python-cachelib.hash | 6 ++++++
> package/python-cachelib/python-cachelib.mk | 14 ++++++++++++++
> 4 files changed, 27 insertions(+)
> create mode 100644 package/python-cachelib/Config.in
> create mode 100644 package/python-cachelib/python-cachelib.hash
> create mode 100644 package/python-cachelib/python-cachelib.mk
Thanks for the patch! Two minor nits:
1. The commit title should have been "package/python-cachelib: new
package"
2. An entry should have been added in the DEVELOPERS file.
Other than that, looked good, so I've applied after fixing those two
minor nits. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread