Skip to contentSkip to conversation

package/python-async-generator: new package

PATCH In review James Hilliard 3 participants 10 messages Jan 29, 2023 – Feb 6, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/7 package/python-async-generator: new package

---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-async-generator/Config.in           |  6 ++++++
 .../python-async-generator.hash                    |  7 +++++++
 .../python-async-generator.mk                      | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-async-generator/Config.in
 create mode 100644 package/python-async-generator/python-async-generator.hash
 create mode 100644 package/python-async-generator/python-async-generator.mk
DEVELOPERS +1 -0
index c8bc5eee22..6cf2b48a8f 100644
@@ -1365,6 +1365,7 @@ F:	package/python-aiosignal/
 F:	package/python-aiozipkin/
 F:	package/python-argon2-cffi/
 F:	package/python-argon2-cffi-bindings/
+F:	package/python-async-generator/
 F:	package/python-async-lru/
 F:	package/python-async-timeout/
 F:	package/python-bidict/
package/Config.in +1 -0
index 24be67b925..dd15467b11 100644
@@ -962,6 +962,7 @@ menu "External python modules"
 	source "package/python-arrow/Config.in"
 	source "package/python-asgiref/Config.in"
 	source "package/python-asn1crypto/Config.in"
+	source "package/python-async-generator/Config.in"
 	source "package/python-async-lru/Config.in"
 	source "package/python-async-timeout/Config.in"
 	source "package/python-attrs/Config.in"
package/python-async-generator/Config.in new file +6 -0
new file mode 100644
index 0000000000..eb5720c652
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ASYNC_GENERATOR
+	bool "python-async-generator"
+	help
+	  Async generators and context managers for Python 3.5+.
+
+	  https://github.com/python-trio/async_generator
package/python-async-generator/python-async-generator.hash new file +7 -0
new file mode 100644
index 0000000000..3a94d5eb31
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/async_generator/json
+md5  078a29b4afb3d7f38c097a530f042a55  async_generator-1.10.tar.gz
+sha256  6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144  async_generator-1.10.tar.gz
+# Locally computed sha256 checksums
+sha256  b54d37617a67005623de975715952a2df062a2616c197bc3b6b451245b0c9265  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  3e6dae555eb92787fc82d1d48355677f454c7f65aeb38d3f9e72bf9a3daf034b  LICENSE.MIT
package/python-async-generator/python-async-generator.mk new file +14 -0
new file mode 100644
index 0000000000..d5e4f430fc
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-async-generator
+#
+################################################################################
+
+PYTHON_ASYNC_GENERATOR_VERSION = 1.10
+PYTHON_ASYNC_GENERATOR_SOURCE = async_generator-$(PYTHON_ASYNC_GENERATOR_VERSION).tar.gz
+PYTHON_ASYNC_GENERATOR_SITE = https://files.pythonhosted.org/packages/ce/b6/6fa6b3b598a03cba5e80f829e0dadbb49d7645f523d209b2fb7ea0bbb02a
+PYTHON_ASYNC_GENERATOR_SETUP_TYPE = setuptools
+PYTHON_ASYNC_GENERATOR_LICENSE = Apache-2.0 or MIT
+PYTHON_ASYNC_GENERATOR_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/7 package/python-sniffio: new package

---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-sniffio/Config.in           |  6 ++++++
 package/python-sniffio/python-sniffio.hash |  7 +++++++
 package/python-sniffio/python-sniffio.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-sniffio/Config.in
 create mode 100644 package/python-sniffio/python-sniffio.hash
 create mode 100644 package/python-sniffio/python-sniffio.mk
DEVELOPERS +1 -0
index 6cf2b48a8f..608512a4bb 100644
@@ -1396,6 +1396,7 @@ F:	package/python-pypa-build/
 F:	package/python-pyphen/
 F:	package/python-rtoml/
 F:	package/python-snappy/
+F:	package/python-sniffio/
 F:	package/python-sockjs/
 F:	package/python-terminaltables/
 F:	package/python-tinycss2/
package/Config.in +1 -0
index dd15467b11..594590a52a 100644
@@ -1280,6 +1280,7 @@ menu "External python modules"
 	source "package/python-smbus-cffi/Config.in"
 	source "package/python-smmap2/Config.in"
 	source "package/python-snappy/Config.in"
+	source "package/python-sniffio/Config.in"
 	source "package/python-socketio/Config.in"
 	source "package/python-sockjs/Config.in"
 	source "package/python-sortedcontainers/Config.in"
package/python-sniffio/Config.in new file +6 -0
new file mode 100644
index 0000000000..6f3947afe6
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_SNIFFIO
+	bool "python-sniffio"
+	help
+	  Sniff out which async library your code is running under.
+
+	  https://github.com/python-trio/sniffio
package/python-sniffio/python-sniffio.hash new file +7 -0
new file mode 100644
index 0000000000..00af7c58bb
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/sniffio/json
+md5  abb96bcda81817d6c632915c53ac29c8  sniffio-1.3.0.tar.gz
+sha256  e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101  sniffio-1.3.0.tar.gz
+# Locally computed sha256 checksums
+sha256  652c878488d1456361e08c3f8607fd7ba59892a14103d15cce4ff93c85b5cc8b  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  3e6dae555eb92787fc82d1d48355677f454c7f65aeb38d3f9e72bf9a3daf034b  LICENSE.MIT
package/python-sniffio/python-sniffio.mk new file +14 -0
new file mode 100644
index 0000000000..fa369a0e2f
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-sniffio
+#
+################################################################################
+
+PYTHON_SNIFFIO_VERSION = 1.3.0
+PYTHON_SNIFFIO_SOURCE = sniffio-$(PYTHON_SNIFFIO_VERSION).tar.gz
+PYTHON_SNIFFIO_SITE = https://files.pythonhosted.org/packages/cd/50/d49c388cae4ec10e8109b1b833fd265511840706808576df3ada99ecb0ac
+PYTHON_SNIFFIO_SETUP_TYPE = setuptools
+PYTHON_SNIFFIO_LICENSE = Apache-2.0 or MIT
+PYTHON_SNIFFIO_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 3/7 package/python-outcome: new package

In reply to James Hilliard
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-outcome/Config.in           |  7 +++++++
 package/python-outcome/python-outcome.hash |  7 +++++++
 package/python-outcome/python-outcome.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-outcome/Config.in
 create mode 100644 package/python-outcome/python-outcome.hash
 create mode 100644 package/python-outcome/python-outcome.mk
DEVELOPERS +1 -0
index 608512a4bb..b686dbd87a 100644
@@ -1388,6 +1388,7 @@ F:	package/python-logstash/
 F:	package/python-maturin/
 F:	package/python-multidict/
 F:	package/python-mypy-extensions/
+F:	package/python-outcome/
 F:	package/python-pathspec/
 F:	package/python-pep517/
 F:	package/python-pycares/
package/Config.in +1 -0
index 594590a52a..195398b844 100644
@@ -1148,6 +1148,7 @@ menu "External python modules"
 	source "package/python-oauthlib/Config.in"
 	source "package/python-opcua-asyncio/Config.in"
 	source "package/python-orjson/Config.in"
+	source "package/python-outcome/Config.in"
 	source "package/python-packaging/Config.in"
 	source "package/python-paho-mqtt/Config.in"
 	source "package/python-paramiko/Config.in"
package/python-outcome/Config.in new file +7 -0
new file mode 100644
index 0000000000..bd51f3daea
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_OUTCOME
+	bool "python-outcome"
+	select BR2_PACKAGE_PYTHON_ATTRS # runtime
+	help
+	  Capture the outcome of Python function calls.
+
+	  https://github.com/python-trio/outcome
package/python-outcome/python-outcome.hash new file +7 -0
new file mode 100644
index 0000000000..43796e89ac
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/outcome/json
+md5  58612ee4407901985f85ad3869dd83b8  outcome-1.2.0.tar.gz
+sha256  6f82bd3de45da303cf1f771ecafa1633750a358436a8bb60e06a1ceb745d2672  outcome-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256  652c878488d1456361e08c3f8607fd7ba59892a14103d15cce4ff93c85b5cc8b  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  3e6dae555eb92787fc82d1d48355677f454c7f65aeb38d3f9e72bf9a3daf034b  LICENSE.MIT
package/python-outcome/python-outcome.mk new file +14 -0
new file mode 100644
index 0000000000..27d7fdede3
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-outcome
+#
+################################################################################
+
+PYTHON_OUTCOME_VERSION = 1.2.0
+PYTHON_OUTCOME_SOURCE = outcome-$(PYTHON_OUTCOME_VERSION).tar.gz
+PYTHON_OUTCOME_SITE = https://files.pythonhosted.org/packages/dd/91/741e1626e89fdc3664169e16300c59eefa4b23540cc6d6c70450f885098f
+PYTHON_OUTCOME_SETUP_TYPE = setuptools
+PYTHON_OUTCOME_LICENSE = Apache-2.0 or MIT
+PYTHON_OUTCOME_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 4/7 package/python-trio: new package

In reply to James Hilliard
---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/python-trio/Config.in        | 12 ++++++++++++
 package/python-trio/python-trio.hash |  7 +++++++
 package/python-trio/python-trio.mk   | 14 ++++++++++++++
 5 files changed, 35 insertions(+)
 create mode 100644 package/python-trio/Config.in
 create mode 100644 package/python-trio/python-trio.hash
 create mode 100644 package/python-trio/python-trio.mk
DEVELOPERS +1 -0
index b686dbd87a..9fdc66f60b 100644
@@ -1402,6 +1402,7 @@ F:	package/python-sockjs/
 F:	package/python-terminaltables/
 F:	package/python-tinycss2/
 F:	package/python-tomli/
+F:	package/python-trio/
 F:	package/python-typeguard/
 F:	package/python-typing-inspect/
 F:	package/python-uhid/
package/Config.in +1 -0
index 195398b844..aa6bb7bce3 100644
@@ -1306,6 +1306,7 @@ menu "External python modules"
 	source "package/python-tqdm/Config.in"
 	source "package/python-traitlets/Config.in"
 	source "package/python-treq/Config.in"
+	source "package/python-trio/Config.in"
 	source "package/python-twisted/Config.in"
 	source "package/python-txaio/Config.in"
 	source "package/python-txdbus/Config.in"
package/python-trio/Config.in new file +12 -0
new file mode 100644
index 0000000000..0aa53c90ca
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_TRIO
+	bool "python-trio"
+	select BR2_PACKAGE_PYTHON_ASYNC_GENERATOR # runtime
+	select BR2_PACKAGE_PYTHON_ATTRS # runtime
+	select BR2_PACKAGE_PYTHON_IDNA # runtime
+	select BR2_PACKAGE_PYTHON_OUTCOME # runtime
+	select BR2_PACKAGE_PYTHON_SNIFFIO # runtime
+	select BR2_PACKAGE_PYTHON_SORTEDCONTAINERS # runtime
+	help
+	  A friendly Python library for async concurrency and I/O.
+
+	  https://github.com/python-trio/trio
package/python-trio/python-trio.hash new file +7 -0
new file mode 100644
index 0000000000..487194662e
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/trio/json
+md5  f7dbfa6a8722065f09da188641d8ed93  trio-0.22.0.tar.gz
+sha256  ce68f1c5400a47b137c5a4de72c7c901bd4e7a24fbdebfe9b41de8c6c04eaacf  trio-0.22.0.tar.gz
+# Locally computed sha256 checksums
+sha256  418d025e1284311f2690263e6efa6bf51585e5741818ece63e5862487e505bb9  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  faa301d72dcc023b432bd77dc08a773ca3449e5c27440b9d66eb46fb8500b430  LICENSE.MIT
package/python-trio/python-trio.mk new file +14 -0
new file mode 100644
index 0000000000..80da203c15
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-trio
+#
+################################################################################
+
+PYTHON_TRIO_VERSION = 0.22.0
+PYTHON_TRIO_SOURCE = trio-$(PYTHON_TRIO_VERSION).tar.gz
+PYTHON_TRIO_SITE = https://files.pythonhosted.org/packages/0b/b8/1b81d2149c3e2c25900d40b8e6c8d3ca502a3cc844b90c962b0854aaf3f3
+PYTHON_TRIO_SETUP_TYPE = setuptools
+PYTHON_TRIO_LICENSE = Apache-2.0 or MIT
+PYTHON_TRIO_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH v2 5/7 package/python-wsproto: new package

In reply to James Hilliard
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-wsproto/Config.in           |  7 +++++++
 package/python-wsproto/python-wsproto.hash |  5 +++++
 package/python-wsproto/python-wsproto.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-wsproto/Config.in
 create mode 100644 package/python-wsproto/python-wsproto.hash
 create mode 100644 package/python-wsproto/python-wsproto.mk
DEVELOPERS +1 -0
index 9fdc66f60b..bb56753418 100644
@@ -1407,6 +1407,7 @@ F:	package/python-typeguard/
 F:	package/python-typing-inspect/
 F:	package/python-uhid/
 F:	package/python-weasyprint/
+F:	package/python-wsproto/
 F:	package/python-yarl/
 F:	package/python-zopfli/
 F:	package/rtl8192eu/
package/Config.in +1 -0
index aa6bb7bce3..2cb785c128 100644
@@ -1340,6 +1340,7 @@ menu "External python modules"
 	source "package/python-wrapt/Config.in"
 	source "package/python-ws4py/Config.in"
 	source "package/python-wsaccel/Config.in"
+	source "package/python-wsproto/Config.in"
 	source "package/python-wtforms/Config.in"
 	source "package/python-xlib/Config.in"
 	source "package/python-xlrd/Config.in"
package/python-wsproto/Config.in new file +7 -0
new file mode 100644
index 0000000000..0610348b8d
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WSPROTO
+	bool "python-wsproto"
+	select BR2_PACKAGE_PYTHON_H11 # runtime
+	help
+	  WebSockets state-machine based protocol implementation.
+
+	  https://github.com/python-hyper/wsproto/
package/python-wsproto/python-wsproto.hash new file +5 -0
new file mode 100644
index 0000000000..4eb3195785
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/wsproto/json
+md5  f64973434117e23d2079460ed64b05c3  wsproto-1.2.0.tar.gz
+sha256  ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065  wsproto-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256  c0329a8dbf3437b095f7f5cf4257d6bb855e07120cae8786586073ff7a699959  LICENSE
package/python-wsproto/python-wsproto.mk new file +14 -0
new file mode 100644
index 0000000000..629f4431b4
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-wsproto
+#
+################################################################################
+
+PYTHON_WSPROTO_VERSION = 1.2.0
+PYTHON_WSPROTO_SOURCE = wsproto-$(PYTHON_WSPROTO_VERSION).tar.gz
+PYTHON_WSPROTO_SITE = https://files.pythonhosted.org/packages/c9/4a/44d3c295350d776427904d73c189e10aeae66d7f555bb2feee16d1e4ba5a
+PYTHON_WSPROTO_SETUP_TYPE = setuptools
+PYTHON_WSPROTO_LICENSE = MIT
+PYTHON_WSPROTO_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH v2 5/7] package/python-wsproto: new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Hi,

package/python-wsproto/Config.in line 3

Quoted 5 lines

+++ b/package/python-wsproto/Config.in

package/python-wsproto/Config.in new file +3 -0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WSPROTO
+	bool "python-wsproto"
+	select BR2_PACKAGE_PYTHON_H11 # runtime

Something missing - We do not have a python-h11 package?

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH v2 5/7] package/python-wsproto: new package

Quoted 5 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"James" == James Hilliard <[email protected]> writes:

Hi,

Quoted 7 lines

package/python-wsproto/Config.in line 3

Quoted 5 lines

+++ b/package/python-wsproto/Config.in

package/python-wsproto/Config.in new file +3 -0
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WSPROTO
+    bool "python-wsproto"
+    select BR2_PACKAGE_PYTHON_H11 # runtime

Something missing - We do not have a python-h11 package?

Hmm, yeah, not sure why that didn't get sent before:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 3 lines

--
Bye, Peter Korsgaard

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

PATCH v2 6/7 package/python-trio-websocket: new package

In reply to James Hilliard
---
 DEVELOPERS                                          |  1 +
 package/Config.in                                   |  1 +
 package/python-trio-websocket/Config.in             |  9 +++++++++
 .../python-trio-websocket.hash                      |  3 +++
 .../python-trio-websocket/python-trio-websocket.mk  | 13 +++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/python-trio-websocket/Config.in
 create mode 100644 package/python-trio-websocket/python-trio-websocket.hash
 create mode 100644 package/python-trio-websocket/python-trio-websocket.mk
DEVELOPERS +1 -0
index bb56753418..7e9e4df8f1 100644
@@ -1403,6 +1403,7 @@ F:	package/python-terminaltables/
 F:	package/python-tinycss2/
 F:	package/python-tomli/
 F:	package/python-trio/
+F:	package/python-trio-websocket/
 F:	package/python-typeguard/
 F:	package/python-typing-inspect/
 F:	package/python-uhid/
package/Config.in +1 -0
index 2cb785c128..46679095b3 100644
@@ -1307,6 +1307,7 @@ menu "External python modules"
 	source "package/python-traitlets/Config.in"
 	source "package/python-treq/Config.in"
 	source "package/python-trio/Config.in"
+	source "package/python-trio-websocket/Config.in"
 	source "package/python-twisted/Config.in"
 	source "package/python-txaio/Config.in"
 	source "package/python-txdbus/Config.in"
package/python-trio-websocket/Config.in new file +9 -0
new file mode 100644
index 0000000000..7d35fd0296
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TRIO_WEBSOCKET
+	bool "python-trio-websocket"
+	select BR2_PACKAGE_PYTHON_ASYNC_GENERATOR # runtime
+	select BR2_PACKAGE_PYTHON_TRIO # runtime
+	select BR2_PACKAGE_PYTHON_WSPROTO # runtime
+	help
+	  WebSocket library for Trio.
+
+	  https://github.com/HyperionGray/trio-websocket
package/python-trio-websocket/python-trio-websocket.hash new file +3 -0
new file mode 100644
index 0000000000..3e6e832d90
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/trio-websocket/json
+md5  37b141910bdafa3c9b6731aa16646acc  trio-websocket-0.9.2.tar.gz
+sha256  a3d34de8fac26023eee701ed1e7bf4da9a8326b61a62934ec9e53b64970fd8fe  trio-websocket-0.9.2.tar.gz
package/python-trio-websocket/python-trio-websocket.mk new file +13 -0
new file mode 100644
index 0000000000..4522b87c9c
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-trio-websocket
+#
+################################################################################
+
+PYTHON_TRIO_WEBSOCKET_VERSION = 0.9.2
+PYTHON_TRIO_WEBSOCKET_SOURCE = trio-websocket-$(PYTHON_TRIO_WEBSOCKET_VERSION).tar.gz
+PYTHON_TRIO_WEBSOCKET_SITE = https://files.pythonhosted.org/packages/75/91/44a0a016025794ba9fef530a6fbe59987153e2cbea7e11fe2f3d8c618740
+PYTHON_TRIO_WEBSOCKET_SETUP_TYPE = setuptools
+PYTHON_TRIO_WEBSOCKET_LICENSE = MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw

PATCH v2 7/7 package/python-selenium: new package

In reply to James Hilliard

---
Changes v1 -> v2:
- bump to version 4.8.0

---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/python-selenium/Config.in            | 11 +++++++++++
 package/python-selenium/python-selenium.hash |  3 +++
 package/python-selenium/python-selenium.mk   | 13 +++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-selenium/Config.in
 create mode 100644 package/python-selenium/python-selenium.hash
 create mode 100644 package/python-selenium/python-selenium.mk
DEVELOPERS +1 -0
index 7e9e4df8f1..d0a51086cd 100644
@@ -1396,6 +1396,7 @@ F:	package/python-pydyf/
 F:	package/python-pypa-build/
 F:	package/python-pyphen/
 F:	package/python-rtoml/
+F:	package/python-selenium/
 F:	package/python-snappy/
 F:	package/python-sniffio/
 F:	package/python-sockjs/
package/Config.in +1 -0
index 46679095b3..fc468148df 100644
@@ -1260,6 +1260,7 @@ menu "External python modules"
 	source "package/python-sdnotify/Config.in"
 	source "package/python-secretstorage/Config.in"
 	source "package/python-see/Config.in"
+	source "package/python-selenium/Config.in"
 	source "package/python-semver/Config.in"
 	source "package/python-sentry-sdk/Config.in"
 	source "package/python-serial/Config.in"
package/python-selenium/Config.in new file +11 -0
new file mode 100644
index 0000000000..30820f07f8
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_SELENIUM
+	bool "python-selenium"
+	select BR2_PACKAGE_PYTHON_CERTIFI # runtime
+	select BR2_PACKAGE_PYTHON_PYSOCKS # runtime
+	select BR2_PACKAGE_PYTHON_TRIO # runtime
+	select BR2_PACKAGE_PYTHON_TRIO_WEBSOCKET # runtime
+	select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
+	help
+	  Python language bindings for Selenium WebDriver.
+
+	  https://www.selenium.dev
package/python-selenium/python-selenium.hash new file +3 -0
new file mode 100644
index 0000000000..d462abc62b
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/selenium/json
+md5  e9054eb95920bb2a1d594090f0773f61  selenium-4.8.0.tar.gz
+sha256  fee36724d6cf0b18c73781bb8ec7be4a35ab1e2564e64e64e64da75e50e052af  selenium-4.8.0.tar.gz
package/python-selenium/python-selenium.mk new file +13 -0
new file mode 100644
index 0000000000..6dbea6fb7e
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-selenium
+#
+################################################################################
+
+PYTHON_SELENIUM_VERSION = 4.8.0
+PYTHON_SELENIUM_SOURCE = selenium-$(PYTHON_SELENIUM_VERSION).tar.gz
+PYTHON_SELENIUM_SITE = https://files.pythonhosted.org/packages/2e/3d/492cf1a6823c48369328572c6bc63b7a957ba25c0009ee6bdb507cd9a6a4
+PYTHON_SELENIUM_SETUP_TYPE = setuptools
+PYTHON_SELENIUM_LICENSE = Apache-2.0
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw
In reply to James Hilliard

James, All,

On 2023-01-28 20:52 -0700, James Hilliard spake thusly:

Quoted 1 line

Series of 7 patches applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 87 lines
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-async-generator/Config.in           |  6 ++++++
 .../python-async-generator.hash                    |  7 +++++++
 .../python-async-generator.mk                      | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-async-generator/Config.in
 create mode 100644 package/python-async-generator/python-async-generator.hash
 create mode 100644 package/python-async-generator/python-async-generator.mk
DEVELOPERS +1 -0
index c8bc5eee22..6cf2b48a8f 100644
@@ -1365,6 +1365,7 @@ F:	package/python-aiosignal/
 F:	package/python-aiozipkin/
 F:	package/python-argon2-cffi/
 F:	package/python-argon2-cffi-bindings/
+F:	package/python-async-generator/
 F:	package/python-async-lru/
 F:	package/python-async-timeout/
 F:	package/python-bidict/
package/Config.in +1 -0
index 24be67b925..dd15467b11 100644
@@ -962,6 +962,7 @@ menu "External python modules"
 	source "package/python-arrow/Config.in"
 	source "package/python-asgiref/Config.in"
 	source "package/python-asn1crypto/Config.in"
+	source "package/python-async-generator/Config.in"
 	source "package/python-async-lru/Config.in"
 	source "package/python-async-timeout/Config.in"
 	source "package/python-attrs/Config.in"
package/python-async-generator/Config.in new file +6 -0
new file mode 100644
index 0000000000..eb5720c652
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ASYNC_GENERATOR
+	bool "python-async-generator"
+	help
+	  Async generators and context managers for Python 3.5+.
+
+	  https://github.com/python-trio/async_generator
package/python-async-generator/python-async-generator.hash new file +7 -0
new file mode 100644
index 0000000000..3a94d5eb31
@@ -0,0 +1,7 @@
+# md5, sha256 from https://pypi.org/pypi/async_generator/json
+md5  078a29b4afb3d7f38c097a530f042a55  async_generator-1.10.tar.gz
+sha256  6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144  async_generator-1.10.tar.gz
+# Locally computed sha256 checksums
+sha256  b54d37617a67005623de975715952a2df062a2616c197bc3b6b451245b0c9265  LICENSE
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.APACHE2
+sha256  3e6dae555eb92787fc82d1d48355677f454c7f65aeb38d3f9e72bf9a3daf034b  LICENSE.MIT
package/python-async-generator/python-async-generator.mk new file +14 -0
new file mode 100644
index 0000000000..d5e4f430fc
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-async-generator
+#
+################################################################################
+
+PYTHON_ASYNC_GENERATOR_VERSION = 1.10
+PYTHON_ASYNC_GENERATOR_SOURCE = async_generator-$(PYTHON_ASYNC_GENERATOR_VERSION).tar.gz
+PYTHON_ASYNC_GENERATOR_SITE = https://files.pythonhosted.org/packages/ce/b6/6fa6b3b598a03cba5e80f829e0dadbb49d7645f523d209b2fb7ea0bbb02a
+PYTHON_ASYNC_GENERATOR_SETUP_TYPE = setuptools
+PYTHON_ASYNC_GENERATOR_LICENSE = Apache-2.0 or MIT
+PYTHON_ASYNC_GENERATOR_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot