diff options
| author | 2021-02-03 19:17:50 -0500 | |
|---|---|---|
| committer | 2021-02-03 19:17:50 -0500 | |
| commit | 475d074fd74425efbe783fad08f97f2df0c4909f (patch) | |
| tree | 2acdae53999b3c74b716efa4edb5b40311fa356a /snapcraft | |
| parent | cd502d52787f666fff3254d7d7e7578930c813c2 (diff) | |
| parent | 3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 (diff) | |
Update upstream source from tag 'upstream/8.1.2'
Update to upstream version '8.1.2'
with Debian dir e5e966a9e6010ef70618dc9a61558fa4db35aceb
Diffstat (limited to 'snapcraft')
| -rw-r--r-- | snapcraft/README | 25 | ||||
| -rwxr-xr-x | snapcraft/build.sh | 6 | ||||
| -rwxr-xr-x | snapcraft/edge/build.sh | 6 | ||||
| -rw-r--r-- | snapcraft/edge/nikola.png | bin | 4767 -> 0 bytes | |||
| -rwxr-xr-x | snapcraft/edge/nikola.sh | 21 | ||||
| -rwxr-xr-x | snapcraft/edge/release.sh | 1 | ||||
| -rw-r--r-- | snapcraft/edge/requirements.txt | 27 | ||||
| -rw-r--r-- | snapcraft/edge/snapcraft.yaml | 32 | ||||
| -rw-r--r-- | snapcraft/nikola.png | bin | 4767 -> 0 bytes | |||
| -rwxr-xr-x | snapcraft/nikola.py | 10 | ||||
| -rwxr-xr-x | snapcraft/nikola.sh | 21 | ||||
| -rw-r--r-- | snapcraft/requirements.txt | 27 | ||||
| -rw-r--r-- | snapcraft/snapcraft.yaml | 33 | ||||
| -rwxr-xr-x | snapcraft/stable/build.sh | 6 | ||||
| -rw-r--r-- | snapcraft/stable/nikola.png | bin | 4767 -> 0 bytes | |||
| -rwxr-xr-x | snapcraft/stable/nikola.sh | 21 | ||||
| -rwxr-xr-x | snapcraft/stable/release.sh | 1 | ||||
| -rw-r--r-- | snapcraft/stable/requirements.txt | 27 | ||||
| -rw-r--r-- | snapcraft/stable/snapcraft.yaml | 33 |
19 files changed, 0 insertions, 297 deletions
diff --git a/snapcraft/README b/snapcraft/README deleted file mode 100644 index d026ae8..0000000 --- a/snapcraft/README +++ /dev/null @@ -1,25 +0,0 @@ -The folders edge/stable contain the files needed to build a snap package for Nikola. -Edge will build from master, stable from the latest release. - -To build, in Ubuntu 16.04: - -apt install snapd snapcraft -snap login some.account@whatever.com -./build.sh - -To just use it: - -apt install snapd -snap login some.account@whatever.com -snap install nikola - - -That should leave you with a working "nikola" command (/snap/bin/nikola if /snap/bin is not in your $PATH), -which is functional with the following caveats: - -* Locales are a bit broken: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1576411 -* The -b option in nikola serve and nikola auto will not work (need to use snap-xdg-open it seems) -* Plugin installation is tricky -* Your site needs to live in your home -* You can't use "nikola deploy". -* Probaby other things I have not noticed yet. diff --git a/snapcraft/build.sh b/snapcraft/build.sh deleted file mode 100755 index d0148d9..0000000 --- a/snapcraft/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -snapcraft -cp nikola.py stage/usr/bin/nikola -find prime/ -name '*.a' -exec rm {} \; -snapcraft - diff --git a/snapcraft/edge/build.sh b/snapcraft/edge/build.sh deleted file mode 100755 index fa6dc14..0000000 --- a/snapcraft/edge/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -snapcraft -cp ../nikola.py prime/usr/bin/nikola -find prime/ -name '*.a' -exec rm {} \; -snapcraft - diff --git a/snapcraft/edge/nikola.png b/snapcraft/edge/nikola.png Binary files differdeleted file mode 100644 index ce583bf..0000000 --- a/snapcraft/edge/nikola.png +++ /dev/null diff --git a/snapcraft/edge/nikola.sh b/snapcraft/edge/nikola.sh deleted file mode 100755 index 82da543..0000000 --- a/snapcraft/edge/nikola.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -export HOME=$SNAP_USER_DATA - -export I18NPATH=$SNAP/usr/share/i18n -export LOCPATH=$SNAP_USER_DATA - -APPLANG=en_US -APPENC=UTF-8 -APPLOC="$APPLANG.$APPENC" - -# generate a locale so we get properly working charsets and graphics -if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then - localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC -fi - -export LC_ALL=$APPLOC -export LANG=$APPLOC -export LANGUAGE=${APPLANG%_*} - -$SNAP/usr/bin/nikola "$@" diff --git a/snapcraft/edge/release.sh b/snapcraft/edge/release.sh deleted file mode 100755 index f05935e..0000000 --- a/snapcraft/edge/release.sh +++ /dev/null @@ -1 +0,0 @@ -snapcraft push nikola_master_amd64.snap --release edge diff --git a/snapcraft/edge/requirements.txt b/snapcraft/edge/requirements.txt deleted file mode 100644 index 063f588..0000000 --- a/snapcraft/edge/requirements.txt +++ /dev/null @@ -1,27 +0,0 @@ -Markdown>=2.4.0 -Jinja2>=2.7.2 -pyphen>=0.9.1 -micawber>=0.3.0 -pygal>=2.0.0 -typogrify>=2.0.4 -phpserialize>=1.3 -webassets>=0.10.1 -ghp-import2>=1.0.0 -ws4py==0.3.5 -watchdog==0.8.3 -doit>=0.28.0,<=0.29.0 -Pygments>=1.6 -python-dateutil>=2.4.0 -docutils>=0.12 -mako>=1.0.0 -unidecode>=0.04.16 -lxml>=3.3.5 -Yapsy>=1.11.223 -PyRSS2Gen>=1.1 -logbook>=0.7.0 -blinker>=1.3 -setuptools>=5.4.1 -natsort>=3.5.2 -requests>=2.2.0 -husl>=4.0.2 -piexif>=1.0.3 diff --git a/snapcraft/edge/snapcraft.yaml b/snapcraft/edge/snapcraft.yaml deleted file mode 100644 index a9d31dd..0000000 --- a/snapcraft/edge/snapcraft.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: nikola -version: master -summary: A static website generator -description: A static website generator -confinement: strict - -apps: - nikola: - command: nikola.sh - plugs: [network, network-bind, home] - -parts: - nikola: - plugin: copy - files: - nikola.sh: nikola.sh - nikola-source: - plugin: python3 - source: git://github.com/getnikola/nikola.git - requirements: requirements.txt - stage-packages: - - locales - - libc-bin - - python3-lxml - - python3-pil - build-packages: - - zlib1g-dev - - libjpeg-turbo8-dev - - libpng12-dev - - libxslt1-dev - - libxml2-dev - - gcc diff --git a/snapcraft/nikola.png b/snapcraft/nikola.png Binary files differdeleted file mode 100644 index ce583bf..0000000 --- a/snapcraft/nikola.png +++ /dev/null diff --git a/snapcraft/nikola.py b/snapcraft/nikola.py deleted file mode 100755 index 624fcd3..0000000 --- a/snapcraft/nikola.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/snap/nikola/current/usr/bin/python3 -# EASY-INSTALL-ENTRY-SCRIPT: 'Nikola==7.8.1' -__requires__ = 'Nikola==7.8.1' -import sys -from pkg_resources import load_entry_point - -if __name__ == '__main__': - sys.exit( - load_entry_point('Nikola', 'console_scripts', 'nikola')() - ) diff --git a/snapcraft/nikola.sh b/snapcraft/nikola.sh deleted file mode 100755 index 82da543..0000000 --- a/snapcraft/nikola.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -export HOME=$SNAP_USER_DATA - -export I18NPATH=$SNAP/usr/share/i18n -export LOCPATH=$SNAP_USER_DATA - -APPLANG=en_US -APPENC=UTF-8 -APPLOC="$APPLANG.$APPENC" - -# generate a locale so we get properly working charsets and graphics -if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then - localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC -fi - -export LC_ALL=$APPLOC -export LANG=$APPLOC -export LANGUAGE=${APPLANG%_*} - -$SNAP/usr/bin/nikola "$@" diff --git a/snapcraft/requirements.txt b/snapcraft/requirements.txt deleted file mode 100644 index 063f588..0000000 --- a/snapcraft/requirements.txt +++ /dev/null @@ -1,27 +0,0 @@ -Markdown>=2.4.0 -Jinja2>=2.7.2 -pyphen>=0.9.1 -micawber>=0.3.0 -pygal>=2.0.0 -typogrify>=2.0.4 -phpserialize>=1.3 -webassets>=0.10.1 -ghp-import2>=1.0.0 -ws4py==0.3.5 -watchdog==0.8.3 -doit>=0.28.0,<=0.29.0 -Pygments>=1.6 -python-dateutil>=2.4.0 -docutils>=0.12 -mako>=1.0.0 -unidecode>=0.04.16 -lxml>=3.3.5 -Yapsy>=1.11.223 -PyRSS2Gen>=1.1 -logbook>=0.7.0 -blinker>=1.3 -setuptools>=5.4.1 -natsort>=3.5.2 -requests>=2.2.0 -husl>=4.0.2 -piexif>=1.0.3 diff --git a/snapcraft/snapcraft.yaml b/snapcraft/snapcraft.yaml deleted file mode 100644 index d149c79..0000000 --- a/snapcraft/snapcraft.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: nikola -version: 7.7.12 -summary: A static website generator -description: A static website generator -confinement: strict - -apps: - nikola: - command: nikola.sh - plugs: [network, network-bind, home] - -parts: - nikola: - plugin: copy - files: - nikola.sh: nikola.sh - nikola-source: - plugin: python3 - source: git://github.com/getnikola/nikola.git - source-tag: v7.7.12 - requirements: requirements.txt - stage-packages: - - locales - - libc-bin - - python3-lxml - - python3-pil - build-packages: - - zlib1g-dev - - libjpeg-turbo8-dev - - libpng12-dev - - libxslt1-dev - - libxml2-dev - - gcc diff --git a/snapcraft/stable/build.sh b/snapcraft/stable/build.sh deleted file mode 100755 index fa6dc14..0000000 --- a/snapcraft/stable/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -snapcraft -cp ../nikola.py prime/usr/bin/nikola -find prime/ -name '*.a' -exec rm {} \; -snapcraft - diff --git a/snapcraft/stable/nikola.png b/snapcraft/stable/nikola.png Binary files differdeleted file mode 100644 index ce583bf..0000000 --- a/snapcraft/stable/nikola.png +++ /dev/null diff --git a/snapcraft/stable/nikola.sh b/snapcraft/stable/nikola.sh deleted file mode 100755 index 82da543..0000000 --- a/snapcraft/stable/nikola.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -export HOME=$SNAP_USER_DATA - -export I18NPATH=$SNAP/usr/share/i18n -export LOCPATH=$SNAP_USER_DATA - -APPLANG=en_US -APPENC=UTF-8 -APPLOC="$APPLANG.$APPENC" - -# generate a locale so we get properly working charsets and graphics -if [ ! -e $SNAP_USER_DATA/$APPLOC ]; then - localedef --prefix=$SNAP_USER_DATA -f $APPENC -i $APPLANG $SNAP_USER_DATA/$APPLOC -fi - -export LC_ALL=$APPLOC -export LANG=$APPLOC -export LANGUAGE=${APPLANG%_*} - -$SNAP/usr/bin/nikola "$@" diff --git a/snapcraft/stable/release.sh b/snapcraft/stable/release.sh deleted file mode 100755 index 332b426..0000000 --- a/snapcraft/stable/release.sh +++ /dev/null @@ -1 +0,0 @@ -snapcraft push nikola_*_amd64.snap --release stable,beta,candidate diff --git a/snapcraft/stable/requirements.txt b/snapcraft/stable/requirements.txt deleted file mode 100644 index 063f588..0000000 --- a/snapcraft/stable/requirements.txt +++ /dev/null @@ -1,27 +0,0 @@ -Markdown>=2.4.0 -Jinja2>=2.7.2 -pyphen>=0.9.1 -micawber>=0.3.0 -pygal>=2.0.0 -typogrify>=2.0.4 -phpserialize>=1.3 -webassets>=0.10.1 -ghp-import2>=1.0.0 -ws4py==0.3.5 -watchdog==0.8.3 -doit>=0.28.0,<=0.29.0 -Pygments>=1.6 -python-dateutil>=2.4.0 -docutils>=0.12 -mako>=1.0.0 -unidecode>=0.04.16 -lxml>=3.3.5 -Yapsy>=1.11.223 -PyRSS2Gen>=1.1 -logbook>=0.7.0 -blinker>=1.3 -setuptools>=5.4.1 -natsort>=3.5.2 -requests>=2.2.0 -husl>=4.0.2 -piexif>=1.0.3 diff --git a/snapcraft/stable/snapcraft.yaml b/snapcraft/stable/snapcraft.yaml deleted file mode 100644 index e85e88b..0000000 --- a/snapcraft/stable/snapcraft.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: nikola -version: 7.8.1 -summary: A static website generator -description: A static website generator -confinement: strict - -apps: - nikola: - command: nikola.sh - plugs: [network, network-bind, home] - -parts: - nikola: - plugin: copy - files: - nikola.sh: nikola.sh - nikola-source: - plugin: python3 - source: git://github.com/getnikola/nikola.git - source-tag: v7.8.1 - requirements: requirements.txt - stage-packages: - - locales - - libc-bin - - python3-lxml - - python3-pil - build-packages: - - zlib1g-dev - - libjpeg-turbo8-dev - - libpng12-dev - - libxslt1-dev - - libxml2-dev - - gcc |
