Skip to contentSkip to conversation

python3-aws-iot-device-sdk-python: Upgrade to 1.5.0

PATCH New Khem Raj 1 participant 1 message Mar 2, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-aws-iot-device-sdk-python: Upgrade to 1.5.0

Use github to fetch it since its not yet available on pypi Port to use setuptools

---
 ...-Use-setuptools-instead-of-distutils.patch | 29 ++++++++++++
 ...python3-aws-iot-device-sdk-python_1.5.0.bb | 44 +++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python/0001-setup.py-Use-setuptools-instead-of-distutils.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.0.bb
meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python/0001-setup.py-Use-setuptools-instead-of-distutils.patch new file +29 -0
new file mode 100644
index 0000000000..9bc8b36f36
@@ -0,0 +1,29 @@
+From 36f8106535150b970c75e8b8456ebc5a7d1dbdb3 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 2 Mar 2022 11:11:01 -0800
+Subject: [PATCH] setup.py: Use setuptools instead of distutils
+
+distutils is deprecated and will be gone in 3.12+
+
+Upstream-Status: Submitted [https://github.com/aws/aws-iot-device-sdk-python/pull/305]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 3846bae..d0c2b8d 100644
+--- a/setup.py
++++ b/setup.py
+@@ -3,7 +3,7 @@ sys.path.insert(0, 'AWSIoTPythonSDK')
+ import AWSIoTPythonSDK
+ currentVersion = AWSIoTPythonSDK.__version__
+ 
+-from distutils.core import setup
++from setuptools import setup
+ setup(
+     name = 'AWSIoTPythonSDK',
+     packages=['AWSIoTPythonSDK', 'AWSIoTPythonSDK.core',
+-- 
+2.35.1
+
meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.0.bb new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.35.1