summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-10-17 07:22:26 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-10-17 07:22:26 +0000
commit2b0c96df4cbd8b5630b01d83d2d1711ee1323cb3 (patch)
treee5edb7840add9599ee42c979dc007bde1f9a80cf /dev-lang/python/files
parentadd python-2.2* that supports PYTHON_DONTCOMPILE and compiles modules with th... (diff)
downloadgentoo-2-2b0c96df4cbd8b5630b01d83d2d1711ee1323cb3.tar.gz
gentoo-2-2b0c96df4cbd8b5630b01d83d2d1711ee1323cb3.tar.bz2
gentoo-2-2b0c96df4cbd8b5630b01d83d2d1711ee1323cb3.zip
add python-2.2* that supports PYTHON_DONTCOMPILE and compiles modules with the right compiler in the right directory
Diffstat (limited to 'dev-lang/python/files')
-rw-r--r--dev-lang/python/files/digest-python-2.2.3-r31
-rw-r--r--dev-lang/python/files/python-2.2.3-db4.patch4
-rw-r--r--dev-lang/python/files/python-2.2.3-gentoo_py_dontcompile.patch2
-rw-r--r--dev-lang/python/files/python-updater12
4 files changed, 11 insertions, 8 deletions
diff --git a/dev-lang/python/files/digest-python-2.2.3-r3 b/dev-lang/python/files/digest-python-2.2.3-r3
new file mode 100644
index 000000000000..283c3d783859
--- /dev/null
+++ b/dev-lang/python/files/digest-python-2.2.3-r3
@@ -0,0 +1 @@
+MD5 169f89f318e252dac0c54dd1b165d229 Python-2.2.3.tgz 6709556
diff --git a/dev-lang/python/files/python-2.2.3-db4.patch b/dev-lang/python/files/python-2.2.3-db4.patch
index de687f3ebb44..14ebed87023e 100644
--- a/dev-lang/python/files/python-2.2.3-db4.patch
+++ b/dev-lang/python/files/python-2.2.3-db4.patch
@@ -1,11 +1,13 @@
--- Python-2.2.3/setup.py 2003-05-22 18:36:54.000000000 +0100
+++ Python-2.2.3.new/setup.py 2003-07-03 19:42:29.000000000 +0100
-@@ -429,8 +429,10 @@
+@@ -429,8 +429,12 @@
# Berkeley DB 3.x.)
dblib = []
- if self.compiler.find_library_file(lib_dirs, 'db-3.2'):
- dblib = ['db-3.2']
++ if self.compiler.find_library_file(lib_dirs, 'db-4.1'):
++ dblib = ['db-4.1']
+ if self.compiler.find_library_file(lib_dirs, 'db-4.0'):
+ dblib = ['db-4.0']
+ elif self.compiler.find_library_file(lib_dirs, 'db-3.2'):
diff --git a/dev-lang/python/files/python-2.2.3-gentoo_py_dontcompile.patch b/dev-lang/python/files/python-2.2.3-gentoo_py_dontcompile.patch
index 021f5226b70c..5d3f624c9bf4 100644
--- a/dev-lang/python/files/python-2.2.3-gentoo_py_dontcompile.patch
+++ b/dev-lang/python/files/python-2.2.3-gentoo_py_dontcompile.patch
@@ -1,5 +1,5 @@
--- Python-2.2.3/Python/import.c 2003-03-23 14:32:56.000000000 +0000
-+++ /tmp/import.c 2003-10-09 09:45:51.000000000 +0100
++++ Python-2.2.3/Python/import.c 2003-10-09 09:45:51.000000000 +0100
@@ -719,6 +719,7 @@
write_compiled_module(PyCodeObject *co, char *cpathname, long mtime)
{
diff --git a/dev-lang/python/files/python-updater b/dev-lang/python/files/python-updater
index bbc11e4a9f03..0f55929ce0aa 100644
--- a/dev-lang/python/files/python-updater
+++ b/dev-lang/python/files/python-updater
@@ -212,20 +212,20 @@ if [ -n "${PKGS_FAILED}" -o -n "${PKGS_MISSING}" -o -n "${PKGS_MASKED}" ]; then
ewarn " Unmask the following packages (at your own risk) and "
ewarn " emerge them using this command after removing the '-p'"
ewarn " parameter."
- ewarn ""
+ ewarn " "
ewarn " emerge -p ${OUTPUT_PKGS_MASKED}"
- ewarn ""
+ ewarn " "
fi
if [ -n "${OUTPUT_PKGS_MISSING}" ]; then
ewarn " Missing Packages:"
ewarn " -----------------"
ewarn " These packages need to be updated because their versions do"
ewarn " not exist in portage anymore."
- ewarn ""
+ ewarn " "
for x in ${OUTPUT_PKGS_MISSING}; do
echo " ${x}"
done
- ewarn ""
+ ewarn " "
fi
if [ -n "${OUTPUT_PKGS_FAILED}" ]; then
ewarn " Failed Packaged:"
@@ -233,9 +233,9 @@ if [ -n "${PKGS_FAILED}" -o -n "${PKGS_MISSING}" -o -n "${PKGS_MASKED}" ]; then
ewarn " These packages have failed and need to be re-emerged again."
ewarn " Alternatively, try re-running this script again to see if it"
ewarn " can be fixed."
- ewarn ""
+ ewarn " "
ewarn " emerge -p ${OUTPUT_PKGS_FAILED}"
- ewarn ""
+ ewarn " "
fi
elog "Python update completed with errors."