Tranquil IT recrute Tranquil IT recrute

tis-gimp

Version : 2.10.6-2

Download
  • package : tis-gimp
  • editor :
  • version : 2.10.6-2
  • licence :
  • architecture : all
  • locale :
  • description : Outil de retouche graphique Gimp
  • description_fr :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • installed_size :
  • impacted_process : gimp-2.10.exe
  • signature_date : 20180912-095926
  • maintainer : Simon Fonteneau

setup.py

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

from setuphelpers import *

uninstallkey=[]

def install():

    versionpaquet = control['version'].split('-',1)[0]
    install_exe_if_needed("gimp-%s-setup.exe" % versionpaquet,silentflags='/VERYSILENT',key='GIMP-2_is1',min_version=versionpaquet,killbefore=['gimp.exe'],timeout=900)


def update_package():
    import urlparse

    htmlSource = wgets("https://www.gimp.org/downloads/").splitlines()
    for line in htmlSource:
        if '.exe' in line :
            if not 'help' in line :
                if not 'torrent' in line :
                    urlgimp = 'https://download.gimp.org/mirror/pub/gimp/' + line[line.find("/gimp/") + 6 : line.find('" title') ]
                    filenamegimp = urlparse.unquote(urlgimp.rsplit('/',1)[1])
                    break


    vers = filenamegimp.split('-')[1]

    print 'Last Version = ' + vers

    allexe = glob.glob('*.exe')
    for exe in allexe:
        if exe != filenamegimp :
            remove_file(exe)

    if not isfile(filenamegimp):
        wget(urlgimp,filenamegimp)


    os.chdir(os.path.dirname(__file__))

    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = vers + '-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_package()
			

Changelog

"""{% trans %}No changelog.{% endtrans %}"""
			

manifest.sha256

[["WAPT/icon.png", "b97cf66ab169d89c69099515054f15242073faa88971060f8b5013c958421964"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["gimp-2.10.6-setup.exe", "6037b8c5b1d806f97d4ca1a4facebf8b6001c927d61296d651c131e1358ea283"], ["WAPT/wapt.psproj", "e306ae088b4ffc91364d6f53a3933bffa75f4bc4f8a3d6ff422209e90760feb0"], ["setup.py", "09d3f0f18ec760e2ac772cfa756b1f16762c8500cc57069faf6ac066f6c0c510"], ["WAPT/control", "a9ddd0e4be8ea5f6169888fce6e5842b221cd951e1380907dbf144a1704786f4"]]