Update to 7.0.0.0p1

master
Daniel Berteaud 6 years ago
parent 2b75a0c995
commit 747563b5bb
  1. BIN
      OpenSSH-Win32.zip
  2. BIN
      OpenSSH-Win64.zip
  3. 2
      WAPT/control
  4. 13
      setup.py

BIN
OpenSSH-Win32.zip (Stored with Git LFS)

Binary file not shown.

BIN
OpenSSH-Win64.zip (Stored with Git LFS)

Binary file not shown.

@ -1,5 +1,5 @@
package : fws-openssh package : fws-openssh
version : 7.7.2.0-7 version : 7.9.0.0-2
architecture : all architecture : all
section : base section : base
priority : optional priority : optional

@ -61,13 +61,14 @@ def update_package():
version = latest['tag_name'].split('-',1)[0].lstrip('v').rstrip('p1') version = latest['tag_name'].split('-',1)[0].lstrip('v').rstrip('p1')
pe = PackageEntry(); pe = PackageEntry();
control = pe.load_control_from_wapt('.') control = pe.load_control_from_wapt('.')
for arch in ['32','64']:
for asset in latest['assets']:
if asset['name'] == 'OpenSSH-Win%s.zip' % arch and not isfile('OpenSSH-Win%s.zip' % arch):
url = asset['browser_download_url']
print('Downloading OpenSSH %s for win%s from %s' % (version,arch,url))
wget(url,'OpenSSH-Win%s.zip' % arch)
if Version(version) > Version(control['version'].split('-',1)[0]): if Version(version) > Version(control['version'].split('-',1)[0]):
for arch in ['32','64']:
remove_file('OpenSSH-Win%s.zip' % arch)
for asset in latest['assets']:
if asset['name'] == 'OpenSSH-Win%s.zip' % arch and not isfile('OpenSSH-Win%s.zip' % arch):
url = asset['browser_download_url']
print('Downloading OpenSSH %s for win%s from %s' % (version,arch,url))
wget(url,'OpenSSH-Win%s.zip' % arch)
print('Updating control file with new version %s' % version) print('Updating control file with new version %s' % version)
pe.version = version + '-0' pe.version = version + '-0'
pe.save_control_to_wapt('.') pe.save_control_to_wapt('.')

Loading…
Cancel
Save