Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ecc5877

Browse files
committed
Upgrade bzip2 to 1.0.6.
1 parent b062a2f commit ecc5877

8 files changed

Lines changed: 21 additions & 19 deletions

File tree

PC/VC6/bz2.dsp

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/VC6/readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ bz2
120120
Download the source from the python.org copy into the dist
121121
directory:
122122

123-
svn export http://svn.python.org/projects/external/bzip2-1.0.5
123+
svn export http://svn.python.org/projects/external/bzip2-1.0.6
124124

125125
And requires building bz2 first.
126126

127-
cd dist\bzip2-1.0.5
127+
cd dist\bzip2-1.0.6
128128
nmake -f makefile.msc
129129

130-
All of this managed to build bzip2-1.0.5\libbz2.lib, which the Python
130+
All of this managed to build bzip2-1.0.6\libbz2.lib, which the Python
131131
project links in.
132132

133133

PC/VS8.0/pyproject.vsprops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
/>
5555
<UserMacro
5656
Name="bz2Dir"
57-
Value="$(externalsDir)\bzip2-1.0.5"
57+
Value="$(externalsDir)\bzip2-1.0.6"
5858
/>
5959
<UserMacro
6060
Name="opensslDir"

PC/VS9.0/pyproject.vsprops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
/>
5555
<UserMacro
5656
Name="bz2Dir"
57-
Value="$(externalsDir)\bzip2-1.0.5"
57+
Value="$(externalsDir)\bzip2-1.0.6"
5858
/>
5959
<UserMacro
6060
Name="lzmaDir"

PCbuild/pyproject.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PythonExe>$(SolutionDir)\python.exe</PythonExe>
66
<externalsDir>..\..</externalsDir>
77
<sqlite3Dir>$(externalsDir)\sqlite-3.7.4</sqlite3Dir>
8-
<bz2Dir>$(externalsDir)\bzip2-1.0.5</bz2Dir>
8+
<bz2Dir>$(externalsDir)\bzip2-1.0.6</bz2Dir>
99
<lzmaDir>$(externalsDir)\xz-5.0.3</lzmaDir>
1010
<opensslDir>$(externalsDir)\openssl-1.0.0a</opensslDir>
1111
<tcltkDir>$(externalsDir)\tcltk</tcltkDir>

PCbuild/readme.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,21 @@ _bz2
121121
Download the source from the python.org copy into the dist
122122
directory:
123123

124-
svn export http://svn.python.org/projects/external/bzip2-1.0.5
124+
svn export http://svn.python.org/projects/external/bzip2-1.0.6
125125

126126
** NOTE: if you use the Tools\buildbot\external(-amd64).bat approach for
127127
obtaining external sources then you don't need to manually get the source
128128
above via subversion. **
129129

130130
A custom pre-link step in the bz2 project settings should manage to
131-
build bzip2-1.0.5\libbz2.lib by magic before bz2.pyd (or bz2_d.pyd) is
131+
build bzip2-1.0.6\libbz2.lib by magic before bz2.pyd (or bz2_d.pyd) is
132132
linked in PCbuild\.
133133
However, the bz2 project is not smart enough to remove anything under
134-
bzip2-1.0.5\ when you do a clean, so if you want to rebuild bzip2.lib
135-
you need to clean up bzip2-1.0.5\ by hand.
134+
bzip2-1.0.6\ when you do a clean, so if you want to rebuild bzip2.lib
135+
you need to clean up bzip2-1.0.6\ by hand.
136136

137137
All of this managed to build libbz2.lib in
138-
bzip2-1.0.5\$platform-$configuration\, which the Python project links in.
138+
bzip2-1.0.6\$platform-$configuration\, which the Python project links in.
139139
_lzma
140140
Python wrapper for the liblzma compression library.
141141

README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Build Instructions
1515

1616
On Unix, Linux, BSD, OSX, and Cygwin:
1717

18+
New text
19+
1820
./configure
1921
make
2022
make test

Tools/buildbot/external-common.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
cd ..
55
@rem XXX: If you need to force the buildbots to start from a fresh environment, uncomment
66
@rem the following, check it in, then check it out, comment it out, then check it back in.
7-
@rem if exist bzip2-1.0.5 rd /s/q bzip2-1.0.5
7+
@rem if exist bzip2-1.0.6 rd /s/q bzip2-1.0.6
88
@rem if exist tcltk rd /s/q tcltk
99
@rem if exist tcltk64 rd /s/q tcltk64
1010
@rem if exist tcl8.4.12 rd /s/q tcl8.4.12
@@ -18,9 +18,9 @@ cd ..
1818
@rem if exist sqlite-3.7.4 rd /s/q sqlite-3.7.4
1919

2020
@rem bzip
21-
if not exist bzip2-1.0.5 (
22-
rd /s/q bzip2-1.0.3
23-
svn export http://svn.python.org/projects/external/bzip2-1.0.5
21+
if not exist bzip2-1.0.6 (
22+
rd /s/q bzip2-1.0.5
23+
svn export http://svn.python.org/projects/external/bzip2-1.0.6
2424
)
2525

2626
@rem Sleepycat db

0 commit comments

Comments
 (0)