Changeset 98963
- Timestamp:
- Oct 22, 2012, 4:36:26 PM (12 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 3 deleted
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-curl/Portfile
r87307 r98963 2 2 3 3 PortSystem 1.0 4 PortGroup python 241.04 PortGroup python 1.0 5 5 6 6 name py-curl … … 17 17 master_sites ${homepage}/download 18 18 distname pycurl-${version} 19 checksums sha1 3fb59eca1461331bb9e9e8d6fe3b23eda961a416 19 checksums md5 919d58fe37e69fe87ce4534d8b6a1c7b \ 20 sha1 3fb59eca1461331bb9e9e8d6fe3b23eda961a416 \ 21 rmd160 dab547b3db67ed30cafb556a1a383f567064de49 20 22 21 depends_lib-append port:curl 23 python.versions 24 25 26 27 22 24 23 build.args --curl-config=${prefix}/bin/curl-config 25 if {$subport != $name} { 26 depends_lib-append port:curl 24 27 25 test.run yes 26 test.target 27 test.env PYTHONPATH=./build/lib* 28 test.cmd ${python.bin} tests/test_internals.py tests/test_memleak.py 28 build.args --curl-config=${prefix}/bin/curl-config 29 29 30 destroot.args ${build.args} 30 test.run yes 31 test.target 32 test.env PYTHONPATH=./build/lib* 33 test.cmd ${python.bin} tests/test_internals.py tests/test_memleak.py 31 34 32 post-destroot { 33 file delete -force ${destroot}${prefix}/share/doc/${name} 34 file rename ${destroot}${prefix}/share/doc/pycurl \ 35 ${destroot}${prefix}/share/doc/${name} 35 destroot.args ${build.args} 36 37 if {${python.version} <= 25} { 38 post-destroot { 39 file delete -force ${destroot}${prefix}/share/doc/${subport} 40 file rename ${destroot}${prefix}/share/doc/pycurl \ 41 ${destroot}${prefix}/share/doc/${subport} 42 } 43 } 44 45 livecheck.type none 46 } else { 47 livecheck.type regex 48 livecheck.url ${homepage} 49 livecheck.regex PYCURL (\[0-9\\.\]+) 36 50 } 37 38 livecheck.type regex39 livecheck.url ${homepage}40 livecheck.regex PYCURL (\[0-9\\.\]+)
Note: See TracChangeset
for help on using the changeset viewer.