summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml58
1 files changed, 58 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 0000000..041898f
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,58 @@
+name: nikola
+version: 8.1.2
+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