tis-inkscape 0.92.1-5

  • package : tis-inkscape
  • version : 0.92.1-5
  • description : Inkscape is a professional vector graphics editor
  • maintainer : Simon Fonteneau
  • date : 2018-02-27 19:00:59

setup.py

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

uninstallkey = []

def install():

    softname = 'inkscape'
    versionsoft = control['version'].split('-',1)[0]

    check_installed_soft = installed_softwares(softname)
    if check_installed_soft:
             for uninstall in check_installed_soft:
                cmd = WAPT.uninstall_cmd(uninstall['key'])
                if Version(uninstall['version']) < Version(get_msi_properties('inkscape-%s-x64.msi' % versionsoft)['ProductVersion']) :
                   run(cmd)
                else:
                    if iswin64():
                        if isdir(makepath(programfiles32,'Inkscape')) :
                            run(cmd)


    if iswin64():
        install_msi_if_needed('inkscape-%s-x64.msi' % versionsoft,killbefore=['inkscape.exe'])
    else :
        install_msi_if_needed('inkscape-%s.msi' % versionsoft,killbefore=['inkscape.exe'])

    remove_desktop_shortcut('Inkscape %s' % versionsoft )
    

Changelog

No changelog
    

manifest.sha256

[["WAPT/icon.png", "2a37afab9fce3cc5e914d24e656c8371be9588cd27acf42f07b192adea6d24e9"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "6ced6d42441ea2be5dab71026935e7cce930ae4a6c5e1cf5e03686153e435726"], ["Inkscape-0.92.1-x64.msi", "96f919b5a5c05af39fe6f7f18cdfa8f0c60ae4bccbdb25093726cb628de79a20"], ["setup.py", "f53a6372e89171434175ed37d255523813ba4ec98695a20d8cab3f2f5a13bfeb"], ["WAPT/control", "ff7bee2e0c481e5452ea7bccc06ba61125b7b1facac8438d94835b5f7eed420a"], ["Inkscape-0.92.1.msi", "ee6d9ce1061fef6e66dd618e17eed3311133739f1bd782e927b0c2c04b572ccc"]]