tis-gpg4win

3.1.13-1
Gpg4win is a file and e-mail encryption software running on Microsoft Windows. It uses GNU Privacy Guard's asymmetric encryption system to encrypt and sign.
3984 downloads
Download
default icon

  Description 

  • package : tis-gpg4win
  • version : 3.1.13-1
  • architecture : all
  • categories :
  • maintainer : Simon Fonteneau
  • description : Gpg4win is a file and e-mail encryption software running on Microsoft Windows. It uses GNU Privacy Guard's asymmetric encryption system to encrypt and sign.
  • locale :
  • target_os : windows
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process : kleopatra.exe
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-09-09T10:05:59.374848

  Setup.py 

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

uninstallkey = []

def install():
    print('installing Gpg4win')
    versionpaquet = control['version'].split('-',1)[0]
    install_exe_if_needed("gpg4win-%s.exe" % versionpaquet,'/S',key='Gpg4win',min_version=versionpaquet,killbefore='kleopatra.exe')
    remove_desktop_shortcut('Kleopatra')


def update_package():
    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    lastversion = wgets("https://www.gpg4win.org/thanks-for-download.html",proxies=proxies).split('gpg4win-')[1].split('.exe')[0]
    binaryfile = 'gpg4win-%s.exe' % lastversion

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

    if not isfile(binaryfile):
        wget('https://files.gpg4win.org/' + binaryfile, binaryfile,proxies=proxies)

    os.chdir(os.path.dirname(__file__))
    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

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

if __name__ == '__main__':
    update_package()
										

  Changelog 



No changelog.txt.
									
  manifest.sha256