Skip to content

Commit ec1aaac

Browse files
authored
Updated snapcraft yaml (soxoj#720)
* Update snapcraft.yaml * Update snapcraft.yaml * Oops...forgot home and network interfaces * for cryin' out loud. * cleaning things up
1 parent bc1035c commit ec1aaac

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

snapcraft.yaml

+30-17
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,43 @@
11
name: maigret2
2-
version: git
2+
adopt-info: maigret2
33
summary: SOCMINT / Instagram
44
description: |
55
Test Test Test
6-
base: core18
7-
confinement: strict
86
7+
license: MIT
98

10-
parts:
11-
maigret2:
12-
plugin: python
13-
python-version: python3
14-
source: .
15-
stage-packages:
16-
- python-six
9+
base: core20
10+
grade: stable
11+
confinement: strict
12+
compression: lzo
1713

14+
architectures:
15+
- build-on: amd64
1816

1917
apps:
2018
maigret2:
2119
command: bin/maigret
20+
environment:
21+
LC_ALL: C.UTF-8
22+
plugs:
23+
- home
24+
- network
25+
26+
parts:
27+
maigret2:
28+
plugin: python
29+
source: https://github.com/soxoj/maigret
30+
source-type: git
2231

23-
24-
architectures:
25-
- build-on: amd64
26-
- build-on: i386
27-
28-
29-
32+
build-packages:
33+
- python3-pip
34+
- python3-six
35+
- python3
36+
37+
stage-packages:
38+
- python3
39+
- python3-six
3040

41+
override-pull: |
42+
snapcraftctl pull
43+
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"

0 commit comments

Comments
 (0)