Skip to contentSkip to conversation

package/python-magic-wormhole-mailbox-server: new package

PATCH Yann E. MORIN 2 participants 2 messages Feb 11, 2023

lore
Share & tools
lore
#0 lore raw

Julien, All,

On 2022-11-22 21:31 +0100, Julien Olivain spake thusly:

Quoted 9 lines

This package is the main server that Magic-Wormhole clients connect to. The server performs store-and-forward delivery for small key-exchange and control messages. Bulk data is sent over a direct TCP connection, or through a transit-relay.

https://github.com/magic-wormhole/magic-wormhole-mailbox-server

---

[--SNIP--]

package/python-magic-wormhole-mailbox-server/Config.in line 5

Quoted 11 lines
package/python-magic-wormhole-mailbox-server/Config.in new file +5 -0
new file mode 100644
index 0000000000..db20d3e7b6
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER
+	bool "python-magic-wormhole-mailbox-server"
+	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
+	select BR2_PACKAGE_PYTHON_ATTRS # runtime
+	select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime

python-autobahn depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS, so this should have been propagated. It's relatively easy to reproduce on current master as of commit 451672e890b5:

    $ KCONFIG_SEED=0x1D15B9D4 make randconfig
    [...]
    WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_AUTOBAHN
      Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n]
      Selected by [y]:
      - BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER [=y] && BR2_PACKAGE_PYTHON3 [=y]

Care to send a fix, and check the other packages that were added in this series, please?

Regards,
Yann E. MORIN.

Quoted 48 lines
package/python-magic-wormhole-mailbox-server/Config.in new file +10 -0
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	select BR2_PACKAGE_PYTHON_TWISTED # runtime
+	help
+	  This package is the main server that Magic-Wormhole clients
+	  connect to. The server performs store-and-forward delivery
+	  for small key-exchange and control messages. Bulk data is
+	  sent over a direct TCP connection, or through a
+	  transit-relay.
+
+	  https://github.com/magic-wormhole/magic-wormhole-mailbox-server
package/python-magic-wormhole-mailbox-server/python-magic-wormhole-mailbox-server.hash new file +5 -0
new file mode 100644
index 0000000000..c714712641
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/magic-wormhole-mailbox-server/json
+md5  3da441df1f354a8399a728da3421ac8f  magic-wormhole-mailbox-server-0.4.1.tar.gz
+sha256  1af10592909caaf519c00e706eac842c5e77f8d4356215fe9c61c7b2258a88fb  magic-wormhole-mailbox-server-0.4.1.tar.gz
+# Locally computed sha256 checksums
+sha256  4a9cc2415c52cef591b6822eee68fed36d7e6d80284b09638cff61d762d99060  LICENSE
package/python-magic-wormhole-mailbox-server/python-magic-wormhole-mailbox-server.mk new file +14 -0
new file mode 100644
index 0000000000..a3394c7dcd
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-magic-wormhole-mailbox-server
+#
+################################################################################
+
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_VERSION = 0.4.1
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_SOURCE = magic-wormhole-mailbox-server-$(PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_VERSION).tar.gz
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_SITE = https://files.pythonhosted.org/packages/5b/ba/cbb211bc8f8bfdf7fb620d33331f07bcd889c7a28e7fd8a0de9029bb5a2f
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_SETUP_TYPE = setuptools
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_LICENSE = MIT
+PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.38.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
#1 lore raw

Yann, All,

Quoted 39 lines · Yann E. MORIN

Julien, All,

On 2022-11-22 21:31 +0100, Julien Olivain spake thusly:

Quoted 9 lines

This package is the main server that Magic-Wormhole clients connect to. The server performs store-and-forward delivery for small key-exchange and control messages. Bulk data is sent over a direct TCP connection, or through a transit-relay.

https://github.com/magic-wormhole/magic-wormhole-mailbox-server

---

[--SNIP--]

package/python-magic-wormhole-mailbox-server/Config.in line 5

Quoted 11 lines
package/python-magic-wormhole-mailbox-server/Config.in new file +5 -0
new file mode 100644
index 0000000000..db20d3e7b6
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER
+	bool "python-magic-wormhole-mailbox-server"
+	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
+	select BR2_PACKAGE_PYTHON_ATTRS # runtime
+	select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime

python-autobahn depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS, so this should have been propagated. It's relatively easy to reproduce on current master as of commit 451672e890b5:

    $ KCONFIG_SEED=0x1D15B9D4 make randconfig
    [...]
    WARNING: unmet direct dependencies detected for 
BR2_PACKAGE_PYTHON_AUTOBAHN
      Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] &&
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n]
      Selected by [y]:
      - BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER [=y] &&
BR2_PACKAGE_PYTHON3 [=y]
Quoted 2 lines

Care to send a fix, and check the other packages that were added in this series, please?

Thank you for reporting this issue! I just checked the series and it is the only patch selecting autobhan with the missing host rustc dependency.

I will send a patch right away.

Best regards,

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