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. 3
      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
version : 7.7.2.0-7
version : 7.9.0.0-2
architecture : all
section : base
priority : optional

@ -61,13 +61,14 @@ def update_package():
version = latest['tag_name'].split('-',1)[0].lstrip('v').rstrip('p1')
pe = PackageEntry();
control = pe.load_control_from_wapt('.')
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)
if Version(version) > Version(control['version'].split('-',1)[0]):
print('Updating control file with new version %s' % version)
pe.version = version + '-0'
pe.save_control_to_wapt('.')

Loading…
Cancel
Save