
- package: tis-stellarium
- name: Stellarium
- version: 0.22.4-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: x86
- signature_date:
- size: 364.58 Mo
- homepage : https://stellarium.org/
- depends:
package : tis-stellarium
version : 0.22.4-4
architecture : x86
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 : 7571968a-da99-47a4-9fc3-45448a156657
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 : HaMNTO0Kp1W6AH4oiOMY8BfGGKscjzEj0QzXWmHMYJqPnfj14fgx0GSw2kTb69AUw57+djNao0fvYsLyKSBlWr/ZhtMwDGibs9YjllG7aATizcJMNLwkcImv9g2VnbrRTaysiA8L/MZQq0uVdObLMGdTTBLzENvywHQGrjrzL+6/NigZPj/hpUYpYQSkkgsyo5EjyAvHn3+hUQNa8cHuZFYteVHPCsvQtw074XEK+wIU88QcopBqdw2fBLSSQeVPGSemgAOO+9/yzZZaDojGBbesm9LiZI31efXBf91UdOEjXTtr9edf5l5FMKPxLnHf2xktv5tXkLqCG368TXKNxg==
signature_date : 2022-11-07T14:05:34.143228
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
969ef09a80bd37411e73dbc1c6e5412f36e452243e5ce653d6000a226fef99f2 : stellarium--0.22.4.exe
4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
2f3eb8b9236380b4cb0e82bbe44cf052e0f809a3d9655e2298dff188ce416f97 : luti.json
1b2008e93213cbb740e1d0450de24c01fc00d024d0da0fa5479a304916839d28 : WAPT/control