-
Notifications
You must be signed in to change notification settings - Fork 0
/
pArm.yml
39 lines (37 loc) · 1.49 KB
/
pArm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
app: npcmos.parm
ingredients:
dist: xenial
sources:
- deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial main
- deb http://es.archive.ubuntu.com/ubuntu/ xenial xenial-updates xenial-security main universe
- deb http://es.archive.ubuntu.com/ubuntu/ xenial-updates main universe
- deb http://es.archive.ubuntu.com/ubuntu/ xenial-security main universe
packages:
- software-properties-common python3.8 qt5-default
script:
- wget -c https://raw.githubusercontent.com/mu-editor/mu/master/conf/mu.codewith.editor.png
- wget -c https://raw.githubusercontent.com/mu-editor/mu/master/conf/mu.appdata.xml
script:
- cp ../mu.codewith.editor.png ./usr/share/icons/hicolor/256x256/
- cp ../mu.codewith.editor.png .
- mkdir -p ./opt/pArm
- python3 ../../setup.py install --root ./opt/pArm
- ln -s /usr/local/bin/pArm ./usr/bin
# - cp -r ../../pArm/ ./opt/pArm/pArm
# - cp ../../app.py ./opt/pArm
# - python3 -m pip install -r ../../requirements.txt
- cat > usr/share/applications/mu.codewith.editor.desktop <<\EOF
- [Desktop Entry]
- Type=Application
- Name=pArm
- Comment=A Python editor for beginner programmers
- Icon=mu.codewith.editor
- Exec=pArm %F
- Terminal=false
- Categories=Application;Development;
- Keywords=Python;Editor;microbit;micro:bit;
- StartupWMClass=mu
- MimeType=text/x-python3;text/x-python3;
- EOF
- cp usr/share/applications/mu.codewith.editor.desktop .
- usr/bin/pip3 freeze | grep "mu-editor" | cut -d "=" -f 3 >> ../VERSION