Commit 23a4bdfe authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: improve pycharm (ALT bug 43613)

parent d05db50b
На сайт: eepm.ru
как устанавливать
https://losst.ru/ustanovka-wps-office-v-ubuntu-20-04
Сделать поддержку внешних команд?
Пробовать локальный кэш — каталог, откуда брать пакеты для epm play, а не скачивать. Что-то подобное на ecryptmgr. Установка 1С и другого проприетарного.
......
......@@ -6,9 +6,7 @@ DESCRIPTION="PyCharm CE — The Python IDE for Professional Developers"
. $(dirname $0)/common.sh
URL=$(epm tool eget -O- "https://data.services.jetbrains.com/products/releases?code=PCC&latest=true&type=release" | epm --inscript tool json -b | grep '"PCC",0,"downloads","linux","link"' | sed -e 's|.*[[:space:]]||')
#URL=https://download.jetbrains.com/python/pycharm-community-2022.2.tar.gz
URL=$(epm tool eget -O- "https://data.services.jetbrains.com/products/releases?code=PCC&latest=true&type=release" | epm --inscript tool json -b | grep '"PCC",0,"downloads","linux","link"' | sed -e 's|.*[[:space:]]||' | sed -e 's|"||g')
# eval for drop quotes
eval epm install $URL
epm install $URL
......@@ -62,17 +62,21 @@ for i in attach_amd64.dll attach_linux_x86.so attach_linux_amd64.so attach_x86.d
remove_dir $PRODUCTDIR/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/
done
for i in $BUILDROOT$PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_{darwin,win32}* ; do
remove_file $PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_bundle/$(basename $i)
cd $BUILDROOT/ || exit
for i in $PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_cython_{darwin,win32}* ; do
remove_file $i
done
for i in $BUILDROOT$PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/{win32.pyd,win_amd64.pyd,darwin.so} ; do
remove_file $PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/$(basename $i)
for i in $PRODUCTDIR/plugins/python-ce/helpers/pydev/_pydevd_frame_eval/*-{win32.pyd,win_amd64.pyd,darwin.so} ; do
remove_file $i
done
cd $BUILDROOT$PRODUCTDIR/ || exit
epm assure patchelf || exit
for i in jbr/lib/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/server:$ORIGIN' $BUILDROOT$PRODUCTDIR/$i
a= patchelf --set-rpath '$ORIGIN/server:$ORIGIN' $i
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment