# $Id: Portfile 34562 2008-02-28 11:32:49Z mww@macports.org $ PortSystem 1.0 PortGroup python24 1.0 name py-curl version 7.16.4 revision 1 categories python net devel maintainers mww description python interface to libcurl long_description Python module interface to the cURL library which is \ a tool for transferring files with URL syntax, \ supporting many protocols. platforms darwin homepage http://pycurl.sourceforge.net/ master_sites ${homepage}/download distname pycurl-${version} checksums sha1 a06ae60030cf27953f75c4a0cd4316a12765b22f depends_lib-append port:curl build.args --curl-config=${prefix}/bin/curl-config test.run yes test.target test.env PYTHONPATH=./build/lib* test.cmd ${python.bin} tests/test_internals.py tests/test_memleak.py destroot.args ${build.args} post-destroot { file delete -force ${destroot}${prefix}/share/doc/${name} file rename ${destroot}${prefix}/share/doc/pycurl \ ${destroot}${prefix}/share/doc/${name} } livecheck.check regex livecheck.url ${homepage} livecheck.regex PYCURL (\[0-9\\.\]+)