Skip to contentSkip to conversation

package/python-opcua-asyncio: bump to version 1.0.0

PATCH In review James Hilliard 2 participants 3 messages Nov 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-opcua-asyncio: bump to version 1.0.0

---
 package/python-opcua-asyncio/python-opcua-asyncio.hash | 6 ++++--
 package/python-opcua-asyncio/python-opcua-asyncio.mk   | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-opcua-asyncio/python-opcua-asyncio.hash +4 -2
index d8aee272de..36b16a1596 100644
@@ -1,3 +1,5 @@
-# Locally computed
-sha256  e5fab37a92162351fe40cab43df09db8a2e9f8b8a2a8f13ed680aa6f6d687ec3  opcua-asyncio-0.8.4.tar.gz
+# md5, sha256 from https://pypi.org/pypi/asyncua/json
+md5  a52df0dc0586abd1592c97a0274d1c9d  asyncua-1.0.0.tar.gz
+sha256  25966e374b0c90da112a96e9dbc5cc36c123b2b60412eac6f26b04a4b0b4d91e  asyncua-1.0.0.tar.gz
+# Locally computed sha256 checksums
 sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  COPYING
package/python-opcua-asyncio/python-opcua-asyncio.mk +3 -3
index 50b581037b..54f8a1d0a0 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_OPCUA_ASYNCIO_VERSION = 0.8.4
-PYTHON_OPCUA_ASYNCIO_SOURCE = opcua-asyncio-$(PYTHON_OPCUA_ASYNCIO_VERSION).tar.gz
-PYTHON_OPCUA_ASYNCIO_SITE = $(call github,FreeOpcUa,opcua-asyncio,$(PYTHON_OPCUA_ASYNCIO_VERSION))
+PYTHON_OPCUA_ASYNCIO_VERSION = 1.0.0
+PYTHON_OPCUA_ASYNCIO_SOURCE = asyncua-$(PYTHON_ASYNCUA_VERSION).tar.gz
+PYTHON_OPCUA_ASYNCIO_SITE = https://files.pythonhosted.org/packages/e7/ea/6fe0799c740b0fc8ffda42fc97bf45204ffe06fe41d505c02654e0d4e379
 PYTHON_OPCUA_ASYNCIO_SETUP_TYPE = setuptools
 PYTHON_OPCUA_ASYNCIO_LICENSE = LGPL-3.0+
 PYTHON_OPCUA_ASYNCIO_LICENSE_FILES = COPYING
Signature · 6 lines
2.34.1

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

Hello James,

Quoted 11 lines · On Thu, 3 Nov 2022 07:28:29 -0600 James Hilliard <[email protected]>…
---
 package/python-opcua-asyncio/python-opcua-asyncio.hash | 6 ++++--
 package/python-opcua-asyncio/python-opcua-asyncio.mk   | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)
package/python-opcua-asyncio/python-opcua-asyncio.hash +0 -0
index d8aee272de..36b16a1596 100644

package/python-opcua-asyncio/python-opcua-asyncio.hash line 3

Quoted 5 lines
package/python-opcua-asyncio/python-opcua-asyncio.hash +3 -2
@@ -1,3 +1,5 @@
-# Locally computed
-sha256  e5fab37a92162351fe40cab43df09db8a2e9f8b8a2a8f13ed680aa6f6d687ec3  opcua-asyncio-0.8.4.tar.gz
+# md5, sha256 from https://pypi.org/pypi/asyncua/json
+md5  a52df0dc0586abd1592c97a0274d1c9d  asyncua-1.0.0.tar.gz
+sha256  25966e374b0c90da112a96e9dbc5cc36c123b2b60412eac6f26b04a4b0b4d91e  asyncua-1.0.0.tar.gz

Are you sure this is the same thing: opcua-asyncio-0.8.4.tar.gz and asyncua-1.0.0.tar.gz ?

Quoted 7 lines
package/python-opcua-asyncio/python-opcua-asyncio.hash +1 -0
+# Locally computed sha256 checksums
 sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  COPYING
package/python-opcua-asyncio/python-opcua-asyncio.mk +0 -0
index 50b581037b..54f8a1d0a0 100644

package/python-opcua-asyncio/python-opcua-asyncio.mk line 8

Quoted 8 lines
package/python-opcua-asyncio/python-opcua-asyncio.mk +2 -3
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_OPCUA_ASYNCIO_VERSION = 0.8.4
-PYTHON_OPCUA_ASYNCIO_SOURCE = opcua-asyncio-$(PYTHON_OPCUA_ASYNCIO_VERSION).tar.gz
-PYTHON_OPCUA_ASYNCIO_SITE = $(call github,FreeOpcUa,opcua-asyncio,$(PYTHON_OPCUA_ASYNCIO_VERSION))
+PYTHON_OPCUA_ASYNCIO_VERSION = 1.0.0
+PYTHON_OPCUA_ASYNCIO_SOURCE = asyncua-$(PYTHON_ASYNCUA_VERSION).tar.gz

I don't see how this can work: this package defines PYTHON_OPCUA_ASYNCIO_VERSION, but you use PYTHON_ASYNCUA_VERSION. Did you test this? :-)

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 12 lines · Thomas Petazzoni

Hello James,

Quoted 6 lines · On Thu, 3 Nov 2022 07:28:29 -0600 James Hilliard <[email protected]>…
---
 package/python-opcua-asyncio/python-opcua-asyncio.hash | 6 ++++--
 package/python-opcua-asyncio/python-opcua-asyncio.mk   | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)
Quoted 13 lines

package/python-opcua-asyncio/python-opcua-asyncio.hash line 3

Quoted 10 lines
package/python-opcua-asyncio/python-opcua-asyncio.hash +3 -2
index d8aee272de..36b16a1596 100644
@@ -1,3 +1,5 @@
-# Locally computed
-sha256  e5fab37a92162351fe40cab43df09db8a2e9f8b8a2a8f13ed680aa6f6d687ec3  opcua-asyncio-0.8.4.tar.gz
+# md5, sha256 from https://pypi.org/pypi/asyncua/json
+md5  a52df0dc0586abd1592c97a0274d1c9d  asyncua-1.0.0.tar.gz
+sha256  25966e374b0c90da112a96e9dbc5cc36c123b2b60412eac6f26b04a4b0b4d91e  asyncua-1.0.0.tar.gz

Are you sure this is the same thing: opcua-asyncio-0.8.4.tar.gz and asyncua-1.0.0.tar.gz ?

Should be:
https://github.com/FreeOpcUa/opcua-asyncio#installation

Quoted 11 lines
Quoted 11 lines
package/python-opcua-asyncio/python-opcua-asyncio.hash +1 -0
+# Locally computed sha256 checksums
 sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  COPYING
package/python-opcua-asyncio/python-opcua-asyncio.mk +0 -0
index 50b581037b..54f8a1d0a0 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
Quoted 9 lines

package/python-opcua-asyncio/python-opcua-asyncio.mk line 8

Quoted 5 lines
package/python-opcua-asyncio/python-opcua-asyncio.mk +2 -3
-PYTHON_OPCUA_ASYNCIO_VERSION = 0.8.4
-PYTHON_OPCUA_ASYNCIO_SOURCE = opcua-asyncio-$(PYTHON_OPCUA_ASYNCIO_VERSION).tar.gz
-PYTHON_OPCUA_ASYNCIO_SITE = $(call github,FreeOpcUa,opcua-asyncio,$(PYTHON_OPCUA_ASYNCIO_VERSION))
+PYTHON_OPCUA_ASYNCIO_VERSION = 1.0.0
+PYTHON_OPCUA_ASYNCIO_SOURCE = asyncua-$(PYTHON_ASYNCUA_VERSION).tar.gz

I don't see how this can work: this package defines PYTHON_OPCUA_ASYNCIO_VERSION, but you use PYTHON_ASYNCUA_VERSION. Did you test this? :-)

I did...but I bet I had not yet purged the scanpypi generated package which defined that variable from my working tree before testing.

Fixed in v2:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

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