# $Id: Portfile,v 1.14 2006/06/18 19:40:14 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-curl
version			7.15.4
categories		python net devel
maintainers		mww@opendarwin.org
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 4eb8feaae453210e65ab487f61866bc3cfc20012

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}
