Stop overriding

This commit is contained in:
Micah Lee 2022-10-05 21:17:30 -07:00
parent ecb9896f84
commit 92164a1d17
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -111,10 +111,6 @@ parts:
- libxslt1.1 - libxslt1.1
- libxtst6 - libxtst6
- qtwayland5 - qtwayland5
override-build: |
python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL
# fix bug where the shebang is wrong
sed -i 's|#!/snap/gnome-42-2204-sdk/current/usr/bin/python3|#!/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare
after: [onionshare-cli] after: [onionshare-cli]
onionshare-cli: onionshare-cli:
@ -125,27 +121,21 @@ parts:
- libssl-dev - libssl-dev
- libffi-dev - libffi-dev
- python3-dev - python3-dev
override-build: | python-packages:
# setuptools must be installed before stem - cepa==1.8.4
python3 -m pip install setuptools --upgrade - click
python3 -m pip install stem==1.8.1 - colorama
# the rest of the dependencies - eventlet
python3 -m pip install click - flask==2.0.3
python3 -m pip install colorama - flask-socketio==5.3.1
python3 -m pip install eventlet - gevent-websocket
python3 -m pip install flask==2.0.3 - psutil
python3 -m pip install flask-socketio==5.3.1 - pynacl
python3 -m pip install gevent-websocket - pysocks
python3 -m pip install psutil - requests[socks]
python3 -m pip install pynacl - setuptools==65.4.1
python3 -m pip install pysocks - unidecode
python3 -m pip install requests[socks] - urllib3
python3 -m pip install unidecode
python3 -m pip install urllib3
# build
python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL
# fix bug where the shebang is wrong
sed -i 's|#!/snap/gnome-42-2204-sdk/current/usr/bin/python3|#!/usr/bin/env python3|g' $SNAPCRAFT_PART_INSTALL/bin/onionshare-cli
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]
tor: tor: