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