aboutsummaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
blob: 5882d1aae1ad4431c86043f0927c8a04b2dc2af5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: nikola
version: 8.2.0
summary: A static website generator
description: A static website generator
confinement: strict
base: core18
grade: stable

apps:
    nikola:
         command: nikola.sh
         plugs: [network, network-bind, home, removable-media]

parts:
    nikola-script:
        plugin: dump
        source: scripts/snapcraft
    nikola:
        source: .
        stage-packages:
            - locales
            - libc-bin
        plugin: python
        python-packages:
            - feedparser
            - Markdown
            - Jinja2
            - pyphen
            - micawber
            - pygal
            - typogrify
            - phpserialize
            - ghp-import2
            - ws4py
            - watchdog
            - doit
            - Pygments
            - python-dateutil
            - docutils
            - mako
            - unidecode
            - lxml
            - Yapsy
            - PyRSS2Gen
            - blinker
            - setuptools
            - natsort
            - requests
            - husl
            - piexif
            - notebook
            - ipykernel
        build-packages: [libjpeg-dev]
        override-build: |
            snapcraftctl build
            find $SNAPCRAFT_PART_INSTALL -name '*.a'  -print0 | xargs -0r rm
            find $SNAPCRAFT_PART_INSTALL -name 'terminado' -type d -print0 | xargs -0r rm -rf
            find $SNAPCRAFT_PART_INSTALL -name 'tornado' -type d -print0 | xargs -0r rm -rf