Ticket #18506: Portfile

File Portfile, 905 bytes (added by chepra@…, 16 years ago)
Line 
1# $Id: Portfile 39877 2008-09-10 08:23:42Z mww@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    py26-curl
7version                 7.19.0
8categories              python net devel
9maintainers             ram openmaintainer
10description             python interface to libcurl
11long_description        Python module interface to the cURL library which is \
12                                a tool for transferring files with URL syntax, \
13                                supporting many protocols.
14platforms               darwin
15homepage                http://pycurl.sourceforge.net/
16master_sites            ${homepage}/download
17distname                pycurl-${version}
18checksums               sha1 3fb59eca1461331bb9e9e8d6fe3b23eda961a416
19
20depends_lib-append      port:curl
21
22build.args              --curl-config=${prefix}/bin/curl-config
23
24test.run                yes
25test.target
26test.env                PYTHONPATH=./build/lib*
27test.cmd                ${python.bin} tests/test_internals.py tests/test_memleak.py
28
29destroot.args   ${build.args}
30
31livecheck.check regex
32livecheck.url   ${homepage}
33livecheck.regex PYCURL (\[0-9\\.\]+)