Détails du package

smp-libreoffice-ext-vrt-network-equipment

retour Revenir à la liste des packages

smp-libreoffice-ext-vrt-network-equipment

Fichier control :

package           : smp-libreoffice-ext-vrt-network-equipment
version           : 1.2.0-3
architecture      : all
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : lesfourmisduweb.org
description       : Extension VRT Network Equipment pour libreoffice
depends           : smp-libreoffice-still
conflicts         : 
maturity          : 
locale            : 
target_os         : windows
min_os_version    : 
max_os_version    : 
min_wapt_version  : 
sources           : https://fr.libreoffice.org/download/libreoffice-stable/
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      : d913514a-8fc2-433e-b850-0ea6900f795c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
signer            : wapt.lesfourmisduweb.org
signer_fingerprint: 1e54425be03a2a3ea1a264b40d984c31f17a6a489a3b722acb993cbf6561e903
signature         : K5ouxBytI8BKP5gElNxpcExty79VicID88ZXTWVEpnQ4FjgxbRxa4ipUIHu5ET6rQA4JU/mlq78zZEmk+8yQeEYGyJJ9vrvYSz6t9cCy4ckHJNES28CVfrMlGZHOEYtnafQSVrr6AsgVUj3Vf58s0D/Hw8+PldcC6Eg2eValZgc/ASctZPVx1q0q0kvcE/tCnQqMdCM/gZzAarP/uwzFSNfZ0ngJYf4R6f8RVol1OwBLq5++aMeMQCLOV35ZeyE3one5enVQlrPG3dos833SaLfIghxXyhrHvph/MW555w5tOTSCUVDbpfjxTDf0ofNvTUYx9TLCBTt9Sg3OWne6Bg==
signature_date    : 2020-07-04T01:20:17.822475
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,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,signer,signer_fingerprint,signature_date,signed_attributes



Fichier setup.py :

#!/usr/bin/python
# -*- coding: utf-8 -*-

from setuphelpers import *
extension_name = 'vrtnetworkequipment_1-2-0-lo.oxt'
extension_identifier = 'au.com.vrt.libreoffice.gallery.network'

uninstallkey = []

def install():
    killalltasks('soffice.exe', 'soffice.bin')
    for soft in installed_softwares('libreoffice'):
        if soft['name'] == 'LibreOffice ' + soft['version'] :
            unopkg_com = makepath(soft['install_location'],'program','unopkg.com')
            cmd = r'"%(unopkg_com)s" add --suppress-license --force --shared %(extension_name)s' % {'unopkg_com':unopkg_com,'extension_name':extension_name}
            print('installing vrtnetworkequipment')
            run(cmd)

def uninstall():

    killalltasks('soffice.exe', 'soffice.bin')
    for soft in installed_softwares('libreoffice'):
        if soft['name'] == 'LibreOffice ' + soft['version'] :
            unopkg_com = makepath(soft['install_location'],'program','unopkg.com')
            cmd = r'"%(unopkg_com)s" remove --suppress-license --shared %(extension_identifier)s' % {'unopkg_com':unopkg_com,'extension_identifier':extension_identifier}
            run(cmd)