6 | | name py-ftputil |
7 | | version 2.0.3 |
8 | | categories python |
9 | | platforms darwin |
10 | | maintainers nomaintainer |
11 | | description high level Python interface to the ftplib module |
12 | | long_description The module ftputil is a high-level interface to the \ |
13 | | ftplib module. The FTPHost objects generated from it \ |
14 | | allow many operations similar to those of os and \ |
15 | | os.path. |
16 | | |
17 | | homepage http://www.sschwarzer.net/python/python_software.html |
18 | | master_sites http://www.sschwarzer.net/download/ |
19 | | distname ftputil-${version} |
20 | | checksums md5 13cbdf29f637883fe3ecea815d389d2e |
21 | | |
22 | | post-destroot { |
23 | | xinstall -m 644 -W ${worksrcpath} README.html README.txt ftputil.html \ |
24 | | ftputil.txt ${destroot}${prefix}/share/doc/${name} |
| 7 | name py-ftputil |
| 8 | version 2.6 |
| 9 | categories python network |
| 10 | license BSD |
| 11 | platforms darwin |
| 12 | supported_archs noarch |
| 13 | |
| 14 | maintainers maiar.org:jason-macports openmaintainer |
| 15 | |
| 16 | description High level Python interface to the ftplib module |
| 17 | long_description The module ftputil is a high-level interface to the \ |
| 18 | ftplib module. The FTPHost objects generated from it \ |
| 19 | allow many operations similar to those of os and \ |
| 20 | os.path. |
| 21 | |
| 22 | distname ftputil-${version} |
| 23 | extract.suffix .tar.gz |
| 24 | homepage http://ftputil.sschwarzer.net/trac/ |
| 25 | master_sites ${homepage}raw-attachment/wiki/Download/${distfiles}?format=raw?dummy= |
| 26 | checksums md5 df1880064485be39b3e6eeefbd812b03 \ |
| 27 | sha1 5fe61f7165b309e021011de66bd80f990c0cff3c \ |
| 28 | rmd160 cd7bd7bfcb40c82b13f5d9daa1ba15a0a26c4b51 |
| 29 | |
| 30 | |
| 31 | python.versions 24 25 26 27 |
| 32 | |
| 33 | if {$subport != $name} { |
| 34 | depends_build port:py${python.version}-distribute |
| 35 | } |
| 36 | |
| 37 | |
| 38 | if {$subport != $name} { |
| 39 | post-destroot { |
| 40 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
| 41 | xinstall -m 644 -W ${worksrcpath} README.html README.txt ftputil.html \ |
| 42 | ftputil.txt VERSION PKG-INFO ${destroot}${prefix}/share/doc/${name} |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | |
| 47 | if {$subport != $name} { |
| 48 | livecheck.type regex |
| 49 | livecheck.url ${homepage}raw-attachment/wiki/Download/ |
| 50 | livecheck.regex {>ftputil-([0-9.]+).tar.gz<} |
| 51 | } else { |
| 52 | livecheck.type none |