[Python-checkins] release: Adapt to new Mac installer file names.

georg.brandl python-checkins at python.org
Sat Sep 20 19:14:03 CEST 2014


https://hg.python.org/release/rev/19e6f90396fa
changeset:   87:19e6f90396fa
user:        Georg Brandl <georg at python.org>
date:        Sat Sep 20 19:13:59 2014 +0200
summary:
  Adapt to new Mac installer file names.

files:
  add-to-pydotorg.py |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/add-to-pydotorg.py b/add-to-pydotorg.py
--- a/add-to-pydotorg.py
+++ b/add-to-pydotorg.py
@@ -57,9 +57,9 @@
     (rx(r'\.chm$'),              ('Windows help file', 1, '')),
     (rx(r'amd64-pdb\.zip$'),     ('Windows debug information files for 64-bit binaries', 1, '')),
     (rx(r'-pdb\.zip$'),          ('Windows debug information files', 1, '')),
-    (rx(r'-macosx10\.5(_rev\d)?\.dmg$'),  ('Mac OS X 32-bit i386/PPC installer', 2,
+    (rx(r'-macosx10\.5(_rev\d)?\.(dm|pk)g$'),  ('Mac OS X 32-bit i386/PPC installer', 2,
                                   'for Mac OS X 10.5 and later')),
-    (rx(r'-macosx10\.6(_rev\d)?\.dmg$'),  ('Mac OS X 64-bit/32-bit installer', 2,
+    (rx(r'-macosx10\.6(_rev\d)?\.(dm|pk)g$'),  ('Mac OS X 64-bit/32-bit installer', 2,
                                   'for Mac OS X 10.6 and later')),
 ]
 
@@ -113,6 +113,7 @@
         filesize = filesize_for(release, rfile),
         download_button = 'tar.xz' in rfile or
                           'macosx10.6.dmg' in rfile or
+                          'macosx10.6.pkg' in rfile or
                           ('.msi' in rfile and not 'amd64' in rfile),
     )
 

-- 
Repository URL: https://hg.python.org/release


More information about the Python-checkins mailing list