From 63936ec32bd604a0227c156585f238455c5969f9 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Sat, 26 Sep 2020 13:45:40 +0200 Subject: [PATCH 1/2] Add serial python3 module Fixes #23, needed for esptool --- cc.arduino.arduinoide.json | 3 ++- python3-serial.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 python3-serial.json diff --git a/cc.arduino.arduinoide.json b/cc.arduino.arduinoide.json index cc1e784..c34601d 100644 --- a/cc.arduino.arduinoide.json +++ b/cc.arduino.arduinoide.json @@ -356,6 +356,7 @@ "dest": "build/ant" } ] - } + }, + "python3-serial.json" ] } diff --git a/python3-serial.json b/python3-serial.json new file mode 100644 index 0000000..44170b8 --- /dev/null +++ b/python3-serial.json @@ -0,0 +1,29 @@ +{ + "name": "python3-serial", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"serial\"" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz", + "sha256": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz", + "sha256": "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/f5/c7/06b5938e79a09112a256f26a1ae0551b04bc6aafcb71fd7ee2390c2c54c6/iso8601-0.1.13-py2.py3-none-any.whl", + "sha256": "694be0743e9f1535ea873bfc7bd6fb62380c62b75822761859428073a17fd39c" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/1f/51/6a260c498162c37d0759f3759b7647a10d8d30caba1cfc9aa4b5b1f0d08b/serial-0.0.97-py2.py3-none-any.whl", + "sha256": "e887f06e07e190e39174b694eee6724e3c48bd361be1d97964caef5d5b61c73b" + } + ] +} \ No newline at end of file From 60dd554059e1c5116944b857804141ba7f8a7a36 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Sat, 26 Sep 2020 17:56:53 +0200 Subject: [PATCH 2/2] Oops, wrong serial module --- cc.arduino.arduinoide.json | 2 +- python3-pyserial.json | 14 ++++++++++++++ python3-serial.json | 29 ----------------------------- 3 files changed, 15 insertions(+), 30 deletions(-) create mode 100644 python3-pyserial.json delete mode 100644 python3-serial.json diff --git a/cc.arduino.arduinoide.json b/cc.arduino.arduinoide.json index c34601d..01cad27 100644 --- a/cc.arduino.arduinoide.json +++ b/cc.arduino.arduinoide.json @@ -357,6 +357,6 @@ } ] }, - "python3-serial.json" + "python3-pyserial.json" ] } diff --git a/python3-pyserial.json b/python3-pyserial.json new file mode 100644 index 0000000..7fabfa5 --- /dev/null +++ b/python3-pyserial.json @@ -0,0 +1,14 @@ +{ + "name": "python3-pyserial", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyserial\"" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl", + "sha256": "e0770fadba80c31013896c7e6ef703f72e7834965954a78e71a3049488d4d7d8" + } + ] +} \ No newline at end of file diff --git a/python3-serial.json b/python3-serial.json deleted file mode 100644 index 44170b8..0000000 --- a/python3-serial.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "python3-serial", - "buildsystem": "simple", - "build-commands": [ - "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"serial\"" - ], - "sources": [ - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz", - "sha256": "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz", - "sha256": "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/f5/c7/06b5938e79a09112a256f26a1ae0551b04bc6aafcb71fd7ee2390c2c54c6/iso8601-0.1.13-py2.py3-none-any.whl", - "sha256": "694be0743e9f1535ea873bfc7bd6fb62380c62b75822761859428073a17fd39c" - }, - { - "type": "file", - "url": "https://files.pythonhosted.org/packages/1f/51/6a260c498162c37d0759f3759b7647a10d8d30caba1cfc9aa4b5b1f0d08b/serial-0.0.97-py2.py3-none-any.whl", - "sha256": "e887f06e07e190e39174b694eee6724e3c48bd361be1d97964caef5d5b61c73b" - } - ] -} \ No newline at end of file