2
0

Update to 2024.2

This commit is contained in:
Xavier C. Llano 2024-08-12 10:59:14 -07:00
parent 3bc2709e1d
commit 6aebee39e5
3 changed files with 12 additions and 15 deletions

View File

@ -4,7 +4,7 @@
# Contributor: Andrew Shark # Contributor: Andrew Shark
pkgname=pycharm-professional pkgname=pycharm-professional
pkgver=2024.1.4 pkgver=2024.2
pkgrel=1 pkgrel=1
pkgdesc="Python IDE for Professional Developers. Professional Edition" pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64' 'x86_64_v3' 'aarch64') arch=('x86_64' 'x86_64_v3' 'aarch64')
@ -32,9 +32,9 @@ source_x86_64_v3=($source_x86_64)
source_aarch64=("https://download-cf.jetbrains.com/python/${pkgname}-${pkgver}-aarch64.tar.gz") source_aarch64=("https://download-cf.jetbrains.com/python/${pkgname}-${pkgver}-aarch64.tar.gz")
sha256sums=('6ff245b42b475a5b97c359d97bc48d573c2988170fc195073c9187d5abe1c576' sha256sums=('6ff245b42b475a5b97c359d97bc48d573c2988170fc195073c9187d5abe1c576'
'21e9d192712fb537d9e5abccc54970becb347b32ad2be469a35b2585f45a9116') '21e9d192712fb537d9e5abccc54970becb347b32ad2be469a35b2585f45a9116')
sha256sums_x86_64=('3a12ada098a839ba3c32820071ecc04cb71e8e1066d0753397399c2e52941de9') sha256sums_x86_64=('433614ddf391fa208f65684ff511ade2d79a87de995699b6a3c6837c27b03b27')
sha256sums_x86_64_v3=('3a12ada098a839ba3c32820071ecc04cb71e8e1066d0753397399c2e52941de9') sha256sums_x86_64_v3=('433614ddf391fa208f65684ff511ade2d79a87de995699b6a3c6837c27b03b27')
sha256sums_aarch64=('a90c657a333e1825c934d524cb426115c85d19d7aebfa4a149fda5062be29fab') sha256sums_aarch64=('2af60f9229b77e2682bf3daa29d18b88598b98cfb1a42d2e739c86388f31c821')
# makedepends=('python-setuptools' 'cython') # makedepends=('python-setuptools' 'cython')
optdepends=( optdepends=(
'ipython: For enhanced interactive Python shell inside Pycharm' 'ipython: For enhanced interactive Python shell inside Pycharm'
@ -57,7 +57,7 @@ fi
prepare() { prepare() {
# clean up for PyDev debugger # clean up for PyDev debugger
find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.so -o -name *.pyd -o -name *.dll \) -delete find pycharm-${pkgver}/plugins/python-ce/helpers/pydev/ \( -name *.so -o -name *.pyd -o -name *.dll \) -delete
} }
package() { package() {
@ -75,11 +75,8 @@ package() {
install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/pycharm-professional.png" install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/pycharm-professional.png"
install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/pycharm-professional.svg" install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/pycharm-professional.svg"
# issue https://youtrack.jetbrains.com/issue/IDEA-313202
chmod 4755 "${pkgdir}/opt/pycharm-professional/jbr/lib/chrome-sandbox"
# exec # exec
install -dm 755 "${pkgdir}/usr/bin/" install -dm 755 "${pkgdir}/usr/bin/"
ln -s "/opt/${pkgname}/bin/pycharm.sh" "${pkgdir}/usr/bin/pycharm-professional" ln -s "/opt/${pkgname}/bin/pycharm" "${pkgdir}/usr/bin/pycharm-professional"
ln -s "/opt/${pkgname}/bin/ltedit.sh" "${pkgdir}/usr/bin/ltedit-professional" ln -s "/opt/${pkgname}/bin/ltedit.sh" "${pkgdir}/usr/bin/ltedit-professional"
} }

View File

@ -1,14 +1,14 @@
post_install() { post_install() {
echo ":: Building Cython speed-ups" echo ":: Building Cython speed-ups"
# compile PyDev debugger used by PyCharm to speedup debugging # compile PyDev debugger used by PyCharm to speedup debugging
python /opt/pycharm-professional/plugins/python/helpers/pydev/setup_cython.py build_ext --inplace --force-cython python /opt/pycharm-professional/plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython
# for attach debugger # for attach debugger
pushd /opt/pycharm-professional/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac pushd /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/linux_and_mac
g++ -march=armv8-a+crypto -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp g++ -march=armv8-a+crypto -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp
popd popd
rm -rf /opt/pycharm-professional/plugins/python/helpers/pydev/build rm -rf /opt/pycharm-professional/plugins/python-ce/helpers/pydev/build
echo ":: Cython speed-ups done" echo ":: Cython speed-ups done"
} }

View File

@ -1,14 +1,14 @@
post_install() { post_install() {
echo ":: Building Cython speed-ups" echo ":: Building Cython speed-ups"
# compile PyDev debugger used by PyCharm to speedup debugging # compile PyDev debugger used by PyCharm to speedup debugging
python /opt/pycharm-professional/plugins/python/helpers/pydev/setup_cython.py build_ext --inplace --force-cython python /opt/pycharm-professional/plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython
# for attach debugger # for attach debugger
pushd /opt/pycharm-professional/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac pushd /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/linux_and_mac
g++ -m64 -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp g++ -m64 -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp
popd popd
rm -rf /opt/pycharm-professional/plugins/python/helpers/pydev/build rm -rf /opt/pycharm-professional/plugins/python-ce/helpers/pydev/build
echo ":: Cython speed-ups done" echo ":: Cython speed-ups done"
} }