summaryrefslogtreecommitdiff
path: root/api_tests.txt
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-07-21 04:50:50 +0000
committerPJ Eby <distutils-sig@python.org>2005-07-21 04:50:50 +0000
commitdce75aeae87e88e11ca54d5354e3af8216c39e89 (patch)
tree6a18ce46ed11c785d8a2e2e97921ceffff63252a /api_tests.txt
parent92cd79e46cb454878df36258c3731d0cf771ab55 (diff)
downloadpython-setuptools-git-dce75aeae87e88e11ca54d5354e3af8216c39e89.tar.gz
Tweak Mac OS platform string based on Mac SIG feedback: remove "micro"
version number, and map "PowerPC" and "Power_Macintosh" to "ppc". --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041142
Diffstat (limited to 'api_tests.txt')
-rwxr-xr-xapi_tests.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/api_tests.txt b/api_tests.txt
index 414f6d6a..e1298ea7 100755
--- a/api_tests.txt
+++ b/api_tests.txt
@@ -256,7 +256,7 @@ Mac OS X will soon have two platforms to contend with: Intel and PowerPC.
Basic equality works as on other platforms::
>>> from pkg_resources import compatible_platforms as cp
- >>> reqd = 'macosx-10.4.2-Power_Macintosh'
+ >>> reqd = 'macosx-10.4-ppc'
>>> cp(reqd, reqd)
True
>>> cp("win32", reqd)
@@ -264,19 +264,19 @@ Basic equality works as on other platforms::
Distributions made on other machine types are not compatible::
- >>> cp("macosx-10.4.2-Intel", reqd)
+ >>> cp("macosx-10.4-i386", reqd)
False
Distributions made on earlier versions of the OS are compatible, as
long as they are from the same top-level version. The patchlevel version
number does not matter::
- >>> cp("macosx-10.4.5-Power_Macintosh", reqd)
+ >>> cp("macosx-10.4-ppc", reqd)
True
- >>> cp("macosx-10.3.5-Power_Macintosh", reqd)
+ >>> cp("macosx-10.3-ppc", reqd)
True
- >>> cp("macosx-10.5.5-Power_Macintosh", reqd)
+ >>> cp("macosx-10.5-ppc", reqd)
False
- >>> cp("macosx-9.5.5-Power_Macintosh", reqd)
+ >>> cp("macosx-9.5-ppc", reqd)
False