-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcom.jetbrains.PyCharm-Professional.yaml
89 lines (84 loc) · 2.96 KB
/
com.jetbrains.PyCharm-Professional.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
app-id: com.jetbrains.PyCharm-Professional
runtime: org.freedesktop.Sdk
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: pycharm
separate-locales: false
finish-args:
- --device=all
- --env=PATH=/app/bin:/app/extensions/bin:/usr/bin
- --env=PYCHARM_JDK=${FLATPAK_DEST}/extra/jbr/
- --filesystem=host
- --filesystem=xdg-run/keyring
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=session-bus
- --socket=ssh-auth
- --socket=x11
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
add-extensions:
com.jetbrains.PyCharm.Extensions:
directory: extensions
version: '22.08'
add-ld-path: lib
merge-dirs: bin;lib
subdirectories: true
no-autodownload: true
modules:
- shared-modules/libsecret/libsecret.json
- python3-virtualenv.yaml
- python3-pipenv.yaml
- python3-poetry.yaml
- name: pycharm
buildsystem: simple
build-commands:
- install -D apply_extra /app/bin/apply_extra
- install -D pycharm /app/bin/pycharm
- install -D idea.properties ${FLATPAK_DEST}/idea.properties
- install -Dm644 -t /app/share/metainfo com.jetbrains.PyCharm-Professional.appdata.xml
- install -Dm644 -t /app/share/applications com.jetbrains.PyCharm-Professional.desktop
- install -Dm644 -t /app/share/icons/hicolor/scalable/apps com.jetbrains.PyCharm-Professional.svg
- install -d "${FLATPAK_DEST}/extensions"
- install -d "${FLATPAK_DEST}/packages"
sources:
- type: extra-data
url: https://download.jetbrains.com/python/pycharm-professional-2023.2.1.tar.gz
sha256: 8f7c0aca8f2a832164426393e55d543b3b56867f2497d8844547fb03e217f160
size: 758623797
filename: pycharm-professional.tar.gz
only-arches: [x86_64]
x-checker-data:
type: jetbrains
code: PCP
- type: extra-data
url: https://download.jetbrains.com/python/pycharm-professional-2023.2.1-aarch64.tar.gz
sha256: b77ef65b36977cd43244efbf9e632e392349a365342c5e817be9a87784f540ca
size: 759962620
filename: pycharm-professional.tar.gz
only-arches: [aarch64]
x-checker-data:
type: jetbrains
code: PCP
- type: file
path: com.jetbrains.PyCharm-Professional.appdata.xml
- type: file
path: com.jetbrains.PyCharm-Professional.desktop
- type: file
path: com.jetbrains.PyCharm-Professional.svg
- type: file
path: idea.properties
- type: script
dest-filename: apply_extra
commands:
- set -ex
- tar xf pycharm-professional.tar.gz --strip-components 1
- rm -f pycharm-professional.tar.gz
- cat /app/idea.properties | tee -a /app/extra/bin/idea.properties
- python3 /app/extra/plugins/python/helpers/pydev/setup_cython.py build_ext
--inplace
- type: script
dest-filename: pycharm
commands:
- exec /app/extra/bin/pycharm.sh "$@"