Skip to content
Permalink
Browse files

update to pycurl 7.10.3 and make it actually install...

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2098 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Feb 28, 2003
1 parent 042ad7d commit 7a6b150dfdc8f228d47153228a464ba1e811581a
Showing with 40 additions and 10 deletions.
  1. +9 −5 net/pycurl/Portfile
  2. +11 −0 net/pycurl/files/setup.py.diff
  3. +9 −5 python/pycurl/Portfile
  4. +11 −0 python/pycurl/files/setup.py.diff
@@ -1,6 +1,6 @@
PortSystem 1.0
name pycurl
version 7.10.2
version 7.10.3
revision 0
categories net devel python
maintainers jpm@opendarwin.org
@@ -10,17 +10,21 @@ long_description Python module interface to the cURL library which is \
protocols.
platforms darwin
master_sites http://pycurl.sourceforge.net/download/
checksums md5 4aa393ba312ffddf661bb913f5cfba31
checksums md5 33c2d6b2edd319877454acae643ae2d4
# libcurl needs version dependency - horrible interim solution
depends_lib bin:XXX:curl bin:python:python
patchfiles setup.py.diff
post-patch {
reinplace "s|@include_dirs@|${prefix}/include|g" "${worksrcpath}/setup.py"
}
configure {}
build {}
build.cmd python setup.py install --prefix=${prefix} \
build.cmd python setup.py install --prefix=${destroot}${prefix} \
--curl-config=${prefix}/bin/curl-config
install.target {}
install.destroot {}
post-install {
# remind user to define/add installed path to python path
ui_msg "\nbe sure the install path is included in your python path:"
ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n"
}

include contents
@@ -0,0 +1,11 @@
--- setup.py Tue Jan 14 09:04:37 2003
+++ setup.py.monkey Fri Feb 28 00:58:50 2003
@@ -15,7 +15,7 @@
from distutils.util import split_quoted
from distutils.version import LooseVersion

-include_dirs = []
+include_dirs = ["@include_dirs@"]
define_macros = []
library_dirs = []
libraries = []
@@ -1,6 +1,6 @@
PortSystem 1.0
name pycurl
version 7.10.2
version 7.10.3
revision 0
categories net devel python
maintainers jpm@opendarwin.org
@@ -10,17 +10,21 @@ long_description Python module interface to the cURL library which is \
protocols.
platforms darwin
master_sites http://pycurl.sourceforge.net/download/
checksums md5 4aa393ba312ffddf661bb913f5cfba31
checksums md5 33c2d6b2edd319877454acae643ae2d4
# libcurl needs version dependency - horrible interim solution
depends_lib bin:XXX:curl bin:python:python
patchfiles setup.py.diff
post-patch {
reinplace "s|@include_dirs@|${prefix}/include|g" "${worksrcpath}/setup.py"
}
configure {}
build {}
build.cmd python setup.py install --prefix=${prefix} \
build.cmd python setup.py install --prefix=${destroot}${prefix} \
--curl-config=${prefix}/bin/curl-config
install.target {}
install.destroot {}
post-install {
# remind user to define/add installed path to python path
ui_msg "\nbe sure the install path is included in your python path:"
ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n"
}

include contents
@@ -0,0 +1,11 @@
--- setup.py Tue Jan 14 09:04:37 2003
+++ setup.py.monkey Fri Feb 28 00:58:50 2003
@@ -15,7 +15,7 @@
from distutils.util import split_quoted
from distutils.version import LooseVersion

-include_dirs = []
+include_dirs = ["@include_dirs@"]
define_macros = []
library_dirs = []
libraries = []

0 comments on commit 7a6b150

Please sign in to comment.
You can’t perform that action at this time.