File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1403,7 +1403,10 @@ def patchFile(inPath, outPath):
14031403 data = data .replace ('$FULL_VERSION' , getFullVersion ())
14041404 data = data .replace ('$VERSION' , getVersion ())
14051405 data = data .replace ('$MACOSX_DEPLOYMENT_TARGET' , '' .join ((DEPTARGET , ' or later' )))
1406- data = data .replace ('$ARCHITECTURES' , ", " .join (universal_opts_map [UNIVERSALARCHS ]))
1406+ archs = universal_opts_map [UNIVERSALARCHS ]
1407+ data = data .replace ('$ARCHITECTURES' , ", " .join (archs ))
1408+ data = data .replace ('$ARCHITECTURE_NOUN' ,
1409+ "architecture" if len (archs ) == 1 else "architectures" )
14071410 data = data .replace ('$INSTALL_SIZE' , installSize ())
14081411 data = data .replace ('$THIRD_PARTY_LIBS' , "\\ \n " .join (THIRD_PARTY_LIBS ))
14091412
Original file line number Diff line number Diff line change 66\margl 1440 \margr 1440 \vieww 15140 \viewh 15740 \viewkind 0
77\pard\tx 720 \tx 1440 \tx 2160 \tx 2880 \tx 3600 \tx 4320 \tx 5040 \tx 5760 \tx 6480 \tx 7200 \tx 7920 \tx 8640 \pardirnatural\partightenfactor 0
88
9- \f 0 \fs 24 \cf 0 This package will install Python $FULL_VERSION for macOS $MACOSX_DEPLOYMENT_TARGET for the following architecture(s) : $ARCHITECTURES.\
9+ \f 0 \fs 24 \cf 0 This package will install Python $FULL_VERSION for macOS $MACOSX_DEPLOYMENT_TARGET for the following $ARCHITECTURE_NOUN : $ARCHITECTURES.\
1010\
1111\pard\tx 720 \tx 1440 \tx 2160 \tx 2880 \tx 3600 \tx 4320 \tx 5040 \tx 5760 \tx 6480 \tx 7200 \tx 7920 \tx 8640 \pardirnatural\partightenfactor 0
1212
You can’t perform that action at this time.
0 commit comments