Another try for snap - Related to #1801

This commit is contained in:
nicolargo 2022-10-22 11:53:39 +02:00
parent a4105ee6e8
commit facb436030

View File

@ -53,6 +53,7 @@ parts:
override-pull: | override-pull: |
snapcraftctl pull snapcraftctl pull
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout "$SNAPCRAFT_STAGE"/scriptlets/selective-checkout
bottle: bottle:
plugin: python plugin: python
source: https://github.com/bottlepy/bottle.git source: https://github.com/bottlepy/bottle.git
@ -63,21 +64,24 @@ parts:
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/bottle-dist cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/bottle-dist
organize: organize:
bottle-dist: bottle/dist bottle-dist: bottle/dist
docker: docker:
plugin: python plugin: python
source: https://github.com/docker/docker-py.git source: https://github.com/docker/docker-py.git
source-tag: '3.7.3' source-tag: '6.0.0'
source-depth: 1 source-depth: 1
override-build: | override-build: |
mkdir -p $SNAPCRAFT_PART_BUILD/dist mkdir -p $SNAPCRAFT_PART_BUILD/dist
cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/docker-dist cp -r $SNAPCRAFT_PART_BUILD/dist $SNAPCRAFT_PART_INSTALL/docker-dist
organize: organize:
bottle-dist: docker/dist bottle-dist: docker/dist
launchers: launchers:
source: snap/local/launchers source: local/launchers
plugin: dump plugin: dump
organize: organize:
'*': bin/ '*': bin/
selective-checkout: selective-checkout:
plugin: nil plugin: nil
build-packages: build-packages: