Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv12882
Modified Files:
pycurl-py.info
Added Files:
pycurl-py.patch
Log Message:
New upstream version. Patch setup.py to not link in static libs.
--- NEW FILE: pycurl-py.patch ---
diff -ru pycurl-7.19.0.orig/setup.py pycurl-7.19.0/setup.py
--- pycurl-7.19.0.orig/setup.py 2008-09-09 13:40:34.000000000 -0400
+++ pycurl-7.19.0/setup.py 2008-09-30 09:45:54.000000000 -0400
@@ -97,7 +97,8 @@
else:
extra_compile_args.append(e)
libs = split_quoted(
- os.popen("'%s' --libs" % CURL_CONFIG).read()+\
+ os.popen("'%s' --libs" % CURL_CONFIG).read())
+ static_libs = split_quoted(
os.popen("'%s' --static-libs" % CURL_CONFIG).read())
for e in libs:
if e[:2] == "-l":
@@ -110,6 +111,12 @@
library_dirs.append(e[2:])
else:
extra_link_args.append(e)
+ for e in static_libs:
+ if e[:2] == "-l":
+ if e[2:] == 'ssl':
+ define_macros.append(('HAVE_CURL_OPENSSL', 1))
+ if e[2:] == 'gnutls':
+ define_macros.append(('HAVE_CURL_GNUTLS', 1))
for e in split_quoted(os.popen("'%s' --features" % CURL_CONFIG).read()):
if e == 'SSL':
define_macros.append(('HAVE_CURL_SSL', 1))
Index: pycurl-py.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/pycurl-py.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pycurl-py.info 21 Jun 2008 23:35:53 -0000 1.10
+++ pycurl-py.info 30 Sep 2008 14:17:22 -0000 1.11
@@ -1,6 +1,6 @@
Info2: <<
Package: pycurl-py%type_pkg[python]
-Version: 7.18.2
+Version: 7.19.0
Revision: 1
Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4
Type: python (2.3 2.4 2.5)
@@ -9,16 +9,24 @@
setup.py installs all docs--so no need for DocFiles--but
in a non-versioned directory, so we need to rename
%i/share/doc/pycurl to %i/share/doc/pycurl-py%type_pkg[python].
+
+ Patch setup.py to not link in static libs.
<<
Maintainer: Daniel Johnson <[EMAIL PROTECTED]>
License: GPL
Homepage: http://pycurl.sourceforge.net/
Source: http://pycurl.sourceforge.net/download/pycurl-%v.tar.gz
-Source-MD5: 39210d56f1d5a75ac8dd6a2866a93dd5
+Source-MD5: 919d58fe37e69fe87ce4534d8b6a1c7b
-Depends: python%type_pkg[python], libcurl4-shlibs (>= 7.18.2), libssh2.1-shlibs
-BuildDepends: libcurl4 (>= 7.18.2), system-openssl-dev, fink (>= 0.24.12),
libssh2.1
+PatchFile: %{Ni}.patch
+PatchFile-MD5: 0da644701607d84870b3cc6126457b41
+
+Depends: python%type_pkg[python], libcurl4-shlibs (>= 7.18.2)
+BuildDepends: libcurl4 (>= 7.18.2), system-openssl-dev, fink (>= 0.24.12)
+
+NoSetCPPFLAGS: true
+NoSetLDFLAGS: true
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
--curl-config=%p/bin/curl-config --openssl-dir=%p/lib/system-openssl
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs