tis-zotero icon

Zotero

Paquet d’installation silencieuse pour Zotero

7.0.18-11

  • package: tis-zotero
  • name: Zotero
  • version: 7.0.18-11
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Corporation for Digital Scholarship
  • licence: AGPL
  • locale: all
  • target_os: macos
  • impacted_process: zotero
  • architecture: all
  • signature_date:
  • size: 146.77 Mo
  • installed_size: 116.42 Mo
  • homepage : https://www.zotero.org/

package           : tis-zotero
version           : 7.0.18-11
architecture      : all
section           : base
priority          : optional
name              : Zotero
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : Zotero is a free and open-source reference management software to manage bibliographic data and related research materials
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.0
sources           : https://www.zotero.org/download/
installed_size    : 116416512
impacted_process  : zotero
description_fr    : Zotero est un logiciel de gestion de références gratuit, libre et open source, il permet de gérer des données bibliographiques et des documents de recherche
description_pl    : Zotero jest wolnym i otwartym oprogramowaniem do zarządzania referencjami, służącym do zarządzania danymi bibliograficznymi i powiązanymi materiałami badawczymi
description_de    : Zotero ist eine kostenlose und quelloffene Literaturverwaltungssoftware zur Verwaltung bibliographischer Daten und verwandter Forschungsmaterialien
description_es    : Zotero es un software de gestión de referencias gratuito y de código abierto para gestionar los datos bibliográficos y los materiales de investigación relacionados
description_pt    : Zotero é um software de gestão de referências gratuito e de código aberto para gerir dados bibliográficos e materiais de investigação relacionados
description_it    : Zotero è un software di reference management gratuito e open-source per la gestione dei dati bibliografici e dei relativi materiali di ricerca
description_nl    : Zotero is een gratis en open-source referentiebeheersoftware om bibliografische gegevens en verwant onderzoeksmateriaal te beheren
description_ru    : Zotero - это бесплатное программное обеспечение с открытым исходным кодом для управления библиографическими данными и сопутствующими исследовательскими материалами
audit_schedule    : 
editor            : Corporation for Digital Scholarship
keywords          : 
licence           : AGPL
homepage          : https://www.zotero.org/
package_uuid      : 9161aec4-8c4b-42d4-9a5f-b22767b30061
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.zotero.org/support/changelog
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-01T09:05:12.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         : YEDZiT3n4H8lvalqV8h/zelj6fK5Yl9SFH08+b9pE6KvfqIBk39aiLdVzDlTC7v5lG4LQikP7C8DyCZBWYK5sYOzbA6M1QKgVC3tNWOZcUHGuhLSHYNxsw+eN9ml3SXDD9T2DcNMfIjd6xcMmaRt09rslLcC7sz5K2B+8zeh69mvDLoAHiQhLYEZP2nZFiD6hmBiRKawa4aiygDNleIZxeJXSeS5KiFTA59+R/ts3RkEaRdwaMNHEWR9VjV+Gf8LbqITo+aNrbLSP0p7DAeaiWLLVJMx/F4povnPeCfHOb5DdpT3IXwZiAq4BYtPMmugV0gya1zZa8nDse6LfeM0cA==

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

uninstallkey = []


def install():
    install_dmg(glob.glob("*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Zotero.app")

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


def update_package():
    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.zotero.org/download/"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "script", "type", "text/javascript", proxies=proxies):
        temp_str = str(bs_search)
        if "mac" in temp_str:
            dict_version = json.loads(temp_str.split(":", 1)[-1].split("\n", 1)[0].split("}")[0] + "}")
            version = dict_version["mac"]
            url_dl = requests.head(
                "https://www.zotero.org/download/client/dl?channel=release&platform=mac&version=%s" % version, proxies=proxies
            ).headers["Location"]
            latest_bin = url_dl.split("/")[-1]
            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)

    # Changing version of the package
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
cc11213bfb2633ed245a7b91ace0b3dca68dbc8908320fbcf180bd09c3d958c9 : WAPT/control
499ad46227d2de56044d89085ff174a347b8ccca7b2e59823cdca9eaca6090f7 : WAPT/icon.png
12ed433aae9cc94be00e674064e3d647fc553d68e73ec37cbba3b2621b9eff9a : Zotero-7.0.18.dmg
70884136644a8a0811f90fe071c7e815971685529c17ae4181c61f3932ca2a4b : luti.json
b00744ae7101f5af0f5fcf2f7c2decbb401e1cb853fcb14a58d4dd8b5fe28eaa : setup.py
479c6268e0506d8b991f72bd2c27979b89acaa0fcdaad00cf51c6bb414b18fe0 : update_package.py