Détails du package smp-libreoffice-ext-vrt-network-equipment_1.2.0-2_all.wapt
retour Revenir à la liste des packages

smp-libreoffice-ext-vrt-network-equipment

ATTENTION CE DÉPÔT n'est plus compatible 1.3 vous devez migrer en 1.5.1.21 !

Fichier control :

package           : smp-libreoffice-ext-vrt-network-equipment
version           : 1.2.0-2
architecture      : all
section           : base
priority          : optional
maintainer        : lesfourmisduweb.org
description       : Extension VRT Network Equipment pour libreoffice
depends           : smp-libreoffice-stable
conflicts         : 
maturity          : 
locale            : 
min_os_version    : 
max_os_version    : 
min_wapt_version  : 
sources           : https://fr.libreoffice.org/download/libreoffice-stable/
installed_size    : 
signer            : wapt.lesfourmisduweb.org
signer_fingerprint: 8da83ebdac1a25e820b186510d049f47407b11835b0664fdc5bacd3595b1671d
signature         : MXpeO0+rR8GE0AM8fvdRhm/qaU0S1mWTdxuaqHd9inbl2xW3S6/GGhc8nbyHFy24UDLynDo+XlqPqiyIV4cuGh6W0VTp/hfzh0F3NzRsQ+dM3tH8u9mTCTaPAWz+WqWXe/+pK22nHn4Br20dObozPM3Q97KfzYetvO2WkfDW+/hkfCt3qdbkpyV/yg0tuUcSRmGHdkFOzue/wWahzdp4LCpS8CCmXLMUsSr7CPaNLwLGWmfilLdVAn+VouFNVUrHuzT6+CPQ8ZZq43kIO8Z9nK5Pgjt44d1RrVjjHaloSZ9dmL4dfv6uHkHCwSHwgDxWB23WdTuou8kAfMv15UWt4Q==
signature_date    : 20171122-013629
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,min_os_version,max_os_version,min_wapt_version,sources,installed_size,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)