tis-pycharm-community icon

PyCharm Community

Paquet d’installation silencieuse pour PyCharm Community

2025.2.1.1-2

  • package: tis-pycharm-community
  • name: PyCharm Community
  • version: 2025.2.1.1-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: 918.30 Mo
  • installed_size: 697.25 Mo
  • homepage : https://www.jetbrains.com/pycharm/
  • conflicts :

package           : tis-pycharm-community
version           : 2025.2.1.1-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      : 552fd3a0-9ef3-40a2-a0dc-a6607f073589
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-09-09T00:17:13.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         : oV+/9w+ehgIsHg+yi2EZZmhA02Da6tHn/Tf9sVu1m2SJOhPmJej1ucsIbRKcf0znVKRVRHPVNZau8kBNhXLgA/wqgw/UD51DMlb27A8njnunNEVhMGgKGuYAuDPhlzDVDzV8lO9zOF/k0gbwM26Cq7/+MxLK30sgCxo6xB0SsrP/gmex1V3qzF1/hyHKQe4WBDlAHRWdzB7yW8ODvBoA0mHIYB6gVDLDiIUBSC0vyTfqS4DEaSa9+y3smnpuUt5mHFTAEZUDFiVj6yLyo15w3pm3y2lETCOnFSfqptAnqKkZ8g3OB8W0jp3lV23h/MYXfARv50n4AkU2qUXRsoA21w==

# -*- 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
d4849f40dd1f91c38cad04bb41fdb7b08cce67767aa65116cd9f314e12779771 : WAPT/control
d8e61e0d3d8c4e15ebb79b689f55a3239d4e1d6fde9f867acb9c0b3d2ccee678 : WAPT/icon.png
c0f1fd8d079aa437129afb67abb3fb20ca968c21066eebd8c945ba3b31f43320 : luti.json
f501a424c1554fb529bc3de3ce7ce49587ef419ebfd85d8ec12ddb5eaf291022 : pycharm-community-2025.2.1.1-aarch64.tar.gz
01a5a32d2fb32debaba16ab9a57839599e2a2c0d4d3032cf7092153fb553464e : setup.py
5fd7cb0e0021194bdde8f8855f472b5ada1adfab0cc76edba685e3c92960b57e : update_package.py