Browse Source

Update to 7.0.0.0p1

master
Daniel Berteaud 4 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

2
+oid sha256:e7f9714215f19de841a2bf2643734d4b25ea42958c013461096a4963cede0ec6
3
+size 2915909

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

2
+oid sha256:fe297667f80f9021e374dd64ce286dcdc50fbf68311765c0336f1ea5fbcb5893
3
+size 3347699

+ 1
- 1
WAPT/control View File

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

+ 7
- 6
setup.py View File

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

Loading…
Cancel
Save