- package: tis-stellarium
- name: Stellarium
- version: 0.22.2-4
- categories: Office,Education
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
- editor: Fabien Chéreau
- licence: GPLv2
- locale: all
- target_os: windows
- impacted_process: stellarium
- architecture: x64
- signature_date:
- size: 356.18 Mo
- homepage : https://stellarium.org/
- depends:
package : tis-stellarium
version : 0.22.2-4
architecture : x64
section : base
priority : optional
name : Stellarium
categories : Office,Education
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description : Stellarium is an open source planetarium software and free for your computer. It displays a realistic 3D sky, as if you are looking at it with the naked eye
depends : tis-vcredist
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/Stellarium/stellarium/releases
installed_size :
impacted_process : stellarium
description_fr : Stellarium est un logiciel de planétarium open source et gratuit pour votre ordinateur. Il affiche un ciel réaliste en 3D, comme si vous le regardiez à l'œil nu
description_pl : Stellarium to oprogramowanie planetarium open source i wolne dla twojego komputera. Wyświetla realistyczne niebo 3D, tak jakbyś patrzył na nie gołym okiem
description_de : Stellarium ist eine Open-Source-Planetariumsoftware und kostenlos für Ihren Computer
description_es : Stellarium es un software de planetario de código abierto y gratuito para tu ordenador
description_pt : Stellarium é um software de planetário de código aberto e gratuito para o seu computador. Exibe um céu 3D realista, como se estivesse a olhar para ele a olho nu
description_it : Stellarium è un software planetario open source e gratuito per il vostro computer. Visualizza un cielo realistico in 3D, come se lo si guardasse a occhio nudo
description_nl : Stellarium is een open source planetarium software en gratis voor je computer
description_ru : Stellarium - это программное обеспечение для планетария с открытым исходным кодом и бесплатное для вашего компьютера. Она отображает реалистичное 3D небо, как будто вы смотрите на него невооруженным глазом
audit_schedule :
editor : Fabien Chéreau
keywords :
licence : GPLv2
homepage : https://stellarium.org/
package_uuid : 3ea51169-d3c5-4377-a5de-5920d48bdd15
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/Stellarium/stellarium/blob/master/ChangeLog
min_os_version : 6.1
max_os_version :
icon_sha256sum : 4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : L2puwXFS6LdqsBnvmixcMIDKGbE0BMBXXp1TCWJ70kM42y9NYzZtgHGJWSfCaxniQy3SiJ9Cxkxr9X4nniWrSgutJkzql+cbtnloiHW5wUgUV3UjReecpngKoFMRtzQo+1DJ98JGcnvXrd2ylwg/aoezILT+WNxXqL58zYHeYwKB6+JESNdo3fUwEvldF0wzI20UMAg8Ri222lchhxDK68NuCtPYfK/lIzyNQGNYPdaWIiFsbVc/hc7tnguPzVNo0fbvEOodRHy0GFBYiP+RrMyVvcw+LeKOXrnzl4C6LZt5ugB39AgVYndnH5wgw5CWGNF1e2m7PuebzdQaP/VwVw==
signature_date : 2022-07-30T12:08:55.797614
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
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Declaring local variables
bin_name = glob.glob("*stellarium-*.exe")[0]
# Installing the software
print("Installing: %s" % bin_name)
install_exe_if_needed(
bin_name,
silentflags="/VERYSILENT",
key="Stellarium_is1",
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "stellarium-"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
bin_name_sub = bin_contains + "-%s.exe"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
git_repo = "Stellarium/stellarium"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
if control.architecture == "x64":
arch = "win64"
else:
arch = "win32"
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if bin_contains in download["name"] and arch in download["name"]:
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if version != version_from_file and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, bin_name_sub % version_from_file)
version = version_from_file
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
9fbe0b689ef8d76cf8671a90481814f54a116da0cc65239a4fbd04d26baccaf9 : setup.py
65b878c7b6516efaa259355eb0311eedb031de818f89e05a46589afa8b57df75 : update_package.py
4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
80181bec4cb21fec107ec2808990fc63042b91139f5a0cda79323d4fbd03dc9d : luti.json
1e14810e7d4eb90e60b842cadb32cb26a9e67ced75aa987bddb2c3bb280b3084 : stellarium-0.22.2-win64.exe
78e04a061102485d7beb2abced9ff4cf81594c65e3dd2a637bd2e4d048cab7c2 : WAPT/control