|
@@ -235,19 +235,16 @@ parts:
|
|
|
stage:
|
|
|
- -lib/python3.11/site-packages/homeassistant/components/updater
|
|
|
- -lib/python3.11/site-packages/aiogithubapi*
|
|
|
- - -lib/python3.11/site-packages/icalendar
|
|
|
+ - -lib/python3.11/site-packages/icalendar*
|
|
|
requirements:
|
|
|
- requirements.txt
|
|
|
- - requirements_all.txt
|
|
|
+ #- requirements_all.txt
|
|
|
constraints:
|
|
|
- homeassistant/package_constraints.txt
|
|
|
override-build: |
|
|
|
CWD="$(pwd)"
|
|
|
- cd "${SNAPCRAFT_PART_BUILD}"
|
|
|
- python3 -m script.translations develop --all
|
|
|
- cd "${CWD}"
|
|
|
+ cd "${SNAPCRAFT_PART_BUILD}" && python3 -m script.translations develop --all && cd "${CWD}"
|
|
|
snapcraftctl build
|
|
|
-
|
|
|
override-stage: |
|
|
|
snapcraftctl stage
|
|
|
find $SNAPCRAFT_STAGE/bin -type f -executable -exec sed -i 's/!\/usr\/bin\/env python3.11/!\/usr\/bin\/env python3/' {} \;
|