tis-pycharm-community icon

PyCharm Community

Silent install package for PyCharm Community

2025.1.3-2

  • package: tis-pycharm-community
  • name: PyCharm Community
  • version: 2025.1.3-2
  • categories: Development
  • maintainer: WAPT Team,Jimmy PELÉ,Jordan ARNAUD
  • editor: JetBrains
  • licence: Freemium
  • locale: all
  • target_os: debian_based
  • impacted_process: pycharm64.exe,pycharm.exe
  • architecture: arm64
  • signature_date:
  • size: 874.55 Mo
  • installed_size: 697.25 Mo
  • homepage : https://www.jetbrains.com/pycharm/
  • conflicts :

package           : tis-pycharm-community
version           : 2025.1.3-2
architecture      : arm64
section           : base
priority          : optional
name              : PyCharm Community
categories        : Development
maintainer        : WAPT Team,Jimmy PELÉ,Jordan ARNAUD
description       : PyCharm is an integrated development environment (IDE) used in computer programming, specifically for the Python language
depends           : 
conflicts         : tis-pycharm
maturity          : PROD
locale            : all
target_os         : debian_based
min_wapt_version  : 2.3
sources           : https://download.jetbrains.com/python/pycharm-community-2022.2.exe
installed_size    : 697249792
impacted_process  : pycharm64.exe,pycharm.exe
description_fr    : PyCharm est un environnement de développement intégré utilisé pour programmer en Python
description_pl    : PyCharm jest zintegrowanym środowiskiem programistycznym (IDE) używanym w programowaniu komputerowym, w szczególności dla języka Python
description_de    : PyCharm ist eine integrierte Entwicklungsumgebung (IDE) für die Computerprogrammierung, insbesondere für die Sprache Python
description_es    : PyCharm es un entorno de desarrollo integrado (IDE) utilizado en la programación informática, específicamente para el lenguaje Python
description_pt    : PyCharm é um ambiente de desenvolvimento integrado (IDE) utilizado na programação de computadores, especificamente para a linguagem Python
description_it    : PyCharm è un ambiente di sviluppo integrato (IDE) utilizzato nella programmazione informatica, in particolare per il linguaggio Python
description_nl    : PyCharm is een geïntegreerde ontwikkelingsomgeving (IDE) die wordt gebruikt bij computerprogrammering, specifiek voor de taal Python
description_ru    : PyCharm - это интегрированная среда разработки (IDE), используемая в компьютерном программировании, в частности, для языка Python
audit_schedule    : 
editor            : JetBrains
keywords          : pycharm,ide,integrated,development,environment
licence           : Freemium
homepage          : https://www.jetbrains.com/pycharm/
package_uuid      : d330262f-3d96-4569-a502-59acf7e0c1b6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d8e61e0d3d8c4e15ebb79b689f55a3239d4e1d6fde9f867acb9c0b3d2ccee678
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-08T20:26:33.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : rnXmXi2ZmdDL9qbz5oJBBnclbsCgy2XorQkhU8vvjb6Obh3sNPnuFyyV57aVhXln6qNJEeGxEZWs/O3CGP1PkfEq3MpavF13cTrK+7Up9WxgLcUH0Af37htP1oRnTqSpnAuXaCndykdrhvwaGNIjeE8GaGS6JehlAr2F4Zub0UUiD9K7wTCDTRH7KOdc89FUs/oayR5odfY2VpDTmepQfpk7JQlh47+e6Uu12k447X10DucVnicsaiD/tdkyJV79LEhgBPUpoN66PURd1noVgH7DXsH8z5U6XLam2ia4SFGwBChSYDDkxn7kzi/BwCxGkoe5y+wbkmAdstDCSonPpQ==

# -*- coding: utf-8 -*-
from setuphelpers import *

bin_path = makepath("/", "usr", "local", "bin")
app_path = "/opt/pycharm_community"


def install():
    # Extraction and copying to /opt/pycharm_community
    extract_path = glob.glob("*.tar.gz")[0]
    run(f"tar -xzvf {extract_path}")
    char_len = len(extract_path) - len('-aarch64.tar.gz')
    extract_path = extract_path[:char_len]
    bin_name = glob.glob(extract_path)[0]
    print(f"copying pycharm_community to {app_path}")
    if not isdir(app_path):
        mkdirs(app_path)
    copytree2(bin_name, app_path)
    
    # Creation symlink
    symlink_path = f"{bin_path}/pycharm_community"
    if isfile(symlink_path) or os.path.islink(symlink_path):
        print("Symlink already exists, removing it")
        os.remove(symlink_path)
    
    print("create pycharm_community alias in path")
    os.symlink(f"{app_path}/pycharm_community", symlink_path)
    
    if isdir(extract_path):
        remove_tree(extract_path)

    

def uninstall():
    # Removing of symlink
    if isfile(f"{bin_path}/pycharm_community"):
        remove_file(f"{bin_path}/pycharm_community")
    # Removing of the software 
    if isdir(app_path):
        remove_tree(app_path)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    download_url = json.loads(wgets("https://data.services.jetbrains.com/products/releases?code=PCC&latest=true&type=release",proxies=proxies))['PCC'][0]['downloads']['linuxARM64']['link']
    version = download_url.split('-')[-2]
    latest_bin = download_url.split("/")[-1]

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))

    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
dc7b75ee8546ed78c4876b588f956d9142bdf7bcc5eabcb495ac5b25a83c3b2c : WAPT/control
d8e61e0d3d8c4e15ebb79b689f55a3239d4e1d6fde9f867acb9c0b3d2ccee678 : WAPT/icon.png
556224f8ef20ebf89c5fd4014e1af99f155a3e79deab4b3b3ae7c0c5d7eb2a4a : luti.json
520ba2ec5eaac93b061fcf603d87ef8d46e3c1ad34de7ed7189971d55543d9c5 : pycharm-community-2025.1.3-aarch64.tar.gz
01a5a32d2fb32debaba16ab9a57839599e2a2c0d4d3032cf7092153fb553464e : setup.py
5fd7cb0e0021194bdde8f8855f472b5ada1adfab0cc76edba685e3c92960b57e : update_package.py