Try to fix snap.

This commit is contained in:
Lauri Ojansivu 2019-04-20 13:31:36 -04:00
parent 0a20795ea4
commit 4aa26e292e

View file

@ -89,15 +89,14 @@ parts:
build-packages: build-packages:
- ca-certificates - ca-certificates
- apt-utils - apt-utils
- python
- python3 - python3
- g++ - gcc-8
- capnproto - capnproto
- curl - curl
- execstack - execstack
- nodejs - nodejs
- npm - npm
- python3-setuptools - python3-pip
stage-packages: stage-packages:
- libfontconfig1 - libfontconfig1
override-build: | override-build: |
@ -107,6 +106,7 @@ parts:
rm -rf .build rm -rf .build
mkdir -p .build/python mkdir -p .build/python
cd .build/python cd .build/python
pip3 install -U setuptools wheel
git clone --depth 1 -b master https://github.com/Kronuz/esprima-python git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
cd esprima-python cd esprima-python
python3 setup.py install python3 setup.py install