Skip to content

Commit 6951855

Browse files
author
benjamin.peterson
committed
update the mac installer script
git-svn-id: http://svn.python.org/projects/python/trunk@66766 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent e41b04d commit 6951855

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

Mac/BuildScript/build-installer.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ def getFullVersion():
129129
),
130130

131131
dict(
132-
name="SQLite 3.3.5",
133-
url="http://www.sqlite.org/sqlite-3.3.5.tar.gz",
132+
name="SQLite 3.6.3",
133+
url="http://www.sqlite.org/sqlite-3.6.3.tar.gz",
134134
checksum='93f742986e8bc2dfa34792e16df017a6feccf3a2',
135135
configure_pre=[
136136
'--enable-threadsafe',
@@ -170,8 +170,8 @@ def getFullVersion():
170170
),
171171
),
172172
dict(
173-
name="Sleepycat DB 4.4",
174-
url="http://downloads.sleepycat.com/db-4.4.20.tar.gz",
173+
name="Sleepycat DB 4.7.25",
174+
url="http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz",
175175
#name="Sleepycat DB 4.3.29",
176176
#url="http://downloads.sleepycat.com/db-4.3.29.tar.gz",
177177
buildDir="build_unix",
@@ -585,21 +585,23 @@ def buildPythonDocs():
585585
version = getVersion()
586586
docdir = os.path.join(rootDir, 'pydocs')
587587

588+
novername = 'python-docs-html.tar.bz2'
588589
name = 'html-%s.tar.bz2'%(getFullVersion(),)
589590
sourceArchive = os.path.join(DEPSRC, name)
590591
if os.path.exists(sourceArchive):
591592
print "Using local copy of %s"%(name,)
592593

593594
else:
594-
print "Downloading %s"%(name,)
595+
print "Downloading %s"%(novername,)
595596
downloadURL('http://www.python.org/ftp/python/doc/%s/%s'%(
596-
getFullVersion(), name), sourceArchive)
597+
getFullVersion(), novername), sourceArchive)
597598
print "Archive for %s stored as %s"%(name, sourceArchive)
598599

599600
extractArchive(os.path.dirname(docdir), sourceArchive)
601+
600602
os.rename(
601603
os.path.join(
602-
os.path.dirname(docdir), 'Python-Docs-%s'%(getFullVersion(),)),
604+
os.path.dirname(docdir), 'python-docs-html'),
603605
docdir)
604606

605607

@@ -1028,11 +1030,11 @@ def main():
10281030
buildPython()
10291031
buildPythonDocs()
10301032
fn = os.path.join(WORKDIR, "_root", "Applications",
1031-
"MacPython %s"%(getVersion(),), "Update Shell Profile.command")
1033+
"Python %s"%(getVersion(),), "Update Shell Profile.command")
10321034
patchFile("scripts/postflight.patch-profile", fn)
10331035
os.chmod(fn, 0755)
10341036

1035-
folder = os.path.join(WORKDIR, "_root", "Applications", "MacPython %s"%(
1037+
folder = os.path.join(WORKDIR, "_root", "Applications", "Python %s"%(
10361038
getVersion(),))
10371039
os.chmod(folder, 0755)
10381040
setIcon(folder, "../Icons/Python Folder.icns")

0 commit comments

Comments
 (0)