summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-24 23:39:23 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-24 23:39:23 +0000
commit84553f334cfcf9d730bcb3986466253356191274 (patch)
treea57de8d68c9f76b4a7d3cf7d411ac5bf1fbf4072 /encap
parent878c9362410cd23cb1c0369fd865d7ee68848be3 (diff)
downloadbcfg2-84553f334cfcf9d730bcb3986466253356191274.tar.gz
bcfg2-84553f334cfcf9d730bcb3986466253356191274.tar.bz2
bcfg2-84553f334cfcf9d730bcb3986466253356191274.zip
EncapPackages: ...
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3347 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/bcfg2-python-2.4.4.ep29
1 files changed, 28 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/bcfg2-python-2.4.4.ep b/encap/src/encap-profiles/bcfg2-python-2.4.4.ep
index 597b6a4a1..bb7244bbb 100644
--- a/encap/src/encap-profiles/bcfg2-python-2.4.4.ep
+++ b/encap/src/encap-profiles/bcfg2-python-2.4.4.ep
@@ -64,6 +64,34 @@ url="http://encapsrcdist/mirror/python/Python-2.4.4.tgz
http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz"
>
+<patch options="-p0"><![CDATA[
+--- setup.py 2007-06-24 18:48:21.000000000 -0400
++++ setup.py 2007-06-24 19:25:26.000000000 -0400
+@@ -355,22 +355,6 @@
+ # static Unicode character database
+ if have_unicode:
+ exts.append( Extension('unicodedata', ['unicodedata.c']) )
+- # access to ISO C locale support
+- data = open('pyconfig.h').read()
+- m = re.search(r"#s*define\s+WITH_LIBINTL\s+1\s*", data)
+- if m is not None:
+- locale_libs = ['intl']
+- else:
+- locale_libs = []
+- if platform == 'darwin':
+- locale_extra_link_args = ['-framework', 'CoreFoundation']
+- else:
+- locale_extra_link_args = []
+-
+-
+- exts.append( Extension('_locale', ['_localemodule.c'],
+- libraries=locale_libs,
+- extra_link_args=locale_extra_link_args) )
+
+ # Modules with some UNIX dependencies -- on by default:
+ # (If you have a really backward UNIX, select and socket may not be
+]]></patch>
+
<patch options="-p0" from_dir="Lib"><![CDATA[
--- site.py 2007-06-21 22:26:29.000000000 -0400
+++ site.py 2007-06-21 22:26:55.000000000 -0400
@@ -83,7 +111,6 @@ url="http://encapsrcdist/mirror/python/Python-2.4.4.tgz
if [ -f setup.py.orig ]; then cp setup.py.orig setup.py; fi
cat setup.py \
| sed s:\/usr\/local\/:\/usr\/local\/lib\/bcfg2\/:g \
-| sed s:\'intl\'::g \
> setup.py.bcfg2
mv setup.py setup.py.orig
cp setup.py.bcfg2 setup.py