-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Theengs Gateway 1.1.0 (#21)
- Loading branch information
1 parent
8ac3ca6
commit 271f83f
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ description: | | |
LYWSDCGQ, and Mi Flora. It translates these data into a readable JSON | ||
format and pushes those to an MQTT broker. | ||
icon: snap/local/logo-Theengs.png | ||
version: 1.0.0 | ||
version: 1.1.0 | ||
license: GPL-3.0 | ||
contact: [email protected] | ||
website: https://github.com/theengs/gateway-snap | ||
|
@@ -28,10 +28,10 @@ parts: | |
theengs-decoder: | ||
plugin: python | ||
source: https://github.com/theengs/decoder.git | ||
source-tag: v1.4.0 | ||
source-tag: v1.5.0 | ||
override-pull: | | ||
craftctl default | ||
sed -i "s/version_tag/1.4.0/g" $CRAFT_PART_SRC/setup.py | ||
sed -i "s/version_tag/1.5.0/g" $CRAFT_PART_SRC/setup.py | ||
sed -i "s/ shutil.rmtree('TheengsDecoder.egg-info')//g" $CRAFT_PART_SRC/setup.py | ||
rm $SNAPCRAFT_PART_SRC/pyproject.toml # Use pre-built system-site requirements | ||
build-packages: | ||
|
@@ -45,17 +45,17 @@ parts: | |
- wheel | ||
stage: | ||
- lib/python3.10/site-packages/TheengsDecoder/* | ||
- lib/python3.10/site-packages/TheengsDecoder-1.4.0.dist-info/* | ||
- lib/python3.10/site-packages/TheengsDecoder-1.5.0.dist-info/* | ||
theengs-gateway: | ||
after: | ||
- theengs-decoder | ||
plugin: python | ||
source: https://github.com/theengs/gateway.git | ||
source-tag: v1.0.0 | ||
source-tag: v1.1.0 | ||
override-pull: | | ||
craftctl default | ||
sed -i "s/version_tag/$SNAPCRAFT_PROJECT_VERSION/g" $CRAFT_PART_SRC/setup.py | ||
sed -i 's/ "TheengsDecoder>=1.4.0",/"importlib_metadata",/g' $CRAFT_PART_SRC/setup.py | ||
sed -i 's/ "TheengsDecoder>=1.5.0",/"importlib_metadata",/g' $CRAFT_PART_SRC/setup.py | ||
scripts: | ||
plugin: dump | ||
source: scripts | ||
|