summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorJustin Reynolds <justinr1234@gmail.com>2019-07-17 23:53:34 +0000
committerJustin Reynolds <justinr1234@gmail.com>2019-07-17 23:57:38 +0000
commitfbbcd47c4ca3a25cd5e3ab45fc6665b0e0641863 (patch)
treef7d63b4affa8fdde25d949bcf39d673349e0d0c5 /snapcraft.yaml
parent797ea291138371e4cf205d1aa4ef531025aaf758 (diff)
downloadwekan-fbbcd47c4ca3a25cd5e3ab45fc6665b0e0641863.tar.gz
wekan-fbbcd47c4ca3a25cd5e3ab45fc6665b0e0641863.tar.bz2
wekan-fbbcd47c4ca3a25cd5e3ab45fc6665b0e0641863.zip
Fix snap
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml55
1 files changed, 29 insertions, 26 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index dbcd11ed..86392eaf 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,5 +1,6 @@
name: wekan
-version-script: git describe --dirty --tags | cut -c 2-
+version: '0'
+version-script: git describe --dirty --tags | cut -c 2-
summary: The open-source kanban
description: |
Wekan is an open-source and collaborative kanban board application.
@@ -66,38 +67,38 @@ parts:
mongodb:
source: https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/4.0/multiverse/binary-amd64/mongodb-org-server_4.0.10_amd64.deb
plugin: dump
- stage-packages: [libssl1.1]
+ stage-packages: [libssl1.0.0]
filesets:
mongo:
- usr
- bin
- lib
- stage:
- - $mongo
- prime:
- - $mongo
-
+ # stage:
+ # - $mongo
+ # prime:
+ # - $mongo
wekan:
source: .
plugin: nodejs
node-engine: 8.16.0
- node-packages:
- - node-gyp
- - node-pre-gyp
- - fibers@4.0.1
+# node-packages:
+# - node-gyp
+# - node-pre-gyp
+# - fibers@4.0.1
build-packages:
- - ca-certificates
- - apt-utils
- - python3
- - gcc-8
- - capnproto
- - curl
- - execstack
- - nodejs
- - npm
- - python3-pip
- stage-packages:
- - libfontconfig1
+ # - ca-certificates
+ # - apt-utils
+ - python3
+ # - gcc++-8
+ # - capnproto
+ # - curl
+ # - execstack
+ # - nodejs
+ # - npm
+ - python3-pip
+ - python3-venv
+ # stage-packages:
+ # - libfontconfig1
override-build: |
echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
@@ -105,6 +106,8 @@ parts:
rm -rf .build
mkdir -p .build/python
cd .build/python
+ python3 -m venv env
+ . ./env/bin/activate
pip3 install -U setuptools wheel
git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
cd esprima-python
@@ -211,10 +214,10 @@ parts:
cd ../../../..
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
- rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
+ # rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
#rm $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
- rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp
- rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp
+ # rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp
+ # rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp
organize:
README: README.wekan
prime: