Détails du package
smp-gpg4win
Revenir à la liste des packages
Version officielle sur le site de l'editeur : 4.0.0
Fichier control :
package : smp-gpg4win
version : 3.1.13-1
architecture : all
section : base
priority : optional
name :
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.
depends :
conflicts :
maturity :
locale :
target_os : windows
min_os_version :
max_os_version :
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 :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 1fa362d3-8223-4999-9ae4-9273c369f543
valid_from :
valid_until :
forced_install_on :
changelog :
signer : wapt.lesfourmisduweb.org
signer_fingerprint: 1e54425be03a2a3ea1a264b40d984c31f17a6a489a3b722acb993cbf6561e903
signature : Uf3dYpMrCupikBxsFg2rvmoQfFTHOC6fpEDIkpCCmhArr3CQxh0+eui6vJgPNOJU9WYJVprv29PWu43gwTLCZ7ArlSTczirIXOz44fqYE973GIaRabMNpooQST2IJTUqoFN2lns0FskuwbLslkTzXkjXIy9fko1YHsp+88yJaOblt5yWAlvBvaNXQ8nmswBH/85jEVqW1T24BWF7iki7vAWcGKgozgBn8S5od7SPkMcnkvLCgo1KUSQU3gpzP72c/5YoeTFjkgc3wK5EDo7+sqeqLBxQjbKZWwIjeJbER9isczXzs60enVDgNppQX+eQUZqFuJp2ie4I+A1H5ohIog==
signature_date : 2020-09-07T22:32:41.429600
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 :
# -*- 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():
import re
lastversion = re.findall('gpg4win-(.*).exe',ensure_unicode(wgets("https://www.gpg4win.org/thanks-for-download.html")))[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)
control.version = lastversion + '-0'
control.save_control_to_wapt()