Browse Source

Update to 7.0.0.0p1

master
Daniel Berteaud 7 months ago
parent
commit
747563b5bb
4 changed files with 12 additions and 11 deletions
  1. BIN
      OpenSSH-Win32.zip
  2. BIN
      OpenSSH-Win64.zip
  3. 1
    1
      WAPT/control
  4. 7
    6
      setup.py

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

oid sha256:e7f9714215f19de841a2bf2643734d4b25ea42958c013461096a4963cede0ec6
size 2915909

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

oid sha256:fe297667f80f9021e374dd64ce286dcdc50fbf68311765c0336f1ea5fbcb5893
size 3347699

+ 1
- 1
WAPT/control View File

@@ -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

+ 7
- 6
setup.py View File

@@ -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('.')
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]):
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)
pe.version = version + '-0'
pe.save_control_to_wapt('.')

Loading…
Cancel
Save