source: trunk/dports/python/py-ftputil/Portfile

Last change on this file was 130470, checked in by larryv@…, 3 years ago

py{24,25}-ftputil: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-off set: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 130470 2014-12-31 02:14:37Z ryandesign@macports.org $
3
4PortSystem        1.0
5PortGroup python  1.0
6
7name              py-ftputil
8version           2.6
9categories-append net
10license           BSD
11platforms         darwin
12supported_archs   noarch
13
14maintainers       maiar.org:jason-macports openmaintainer
15
16description       High level Python interface to the ftplib module
17long_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
22distname          ftputil-${version}
23extract.suffix    .tar.gz
24homepage          http://ftputil.sschwarzer.net/trac/
25master_sites      ${homepage}raw-attachment/wiki/Download/${distfiles}?format=raw?dummy=
26checksums         md5    df1880064485be39b3e6eeefbd812b03 \
27                  sha1   5fe61f7165b309e021011de66bd80f990c0cff3c \
28                  rmd160 cd7bd7bfcb40c82b13f5d9daa1ba15a0a26c4b51
29
30
31python.versions     26 27
32
33if {${name} ne ${subport}} {
34  depends_build   port:py${python.version}-setuptools
35
36  post-destroot  {
37      xinstall -d ${destroot}${prefix}/share/doc/${subport}
38      xinstall -m 644 -W ${worksrcpath} README.html README.txt ftputil.html \
39          ftputil.txt VERSION PKG-INFO ${destroot}${prefix}/share/doc/${subport}
40  }
41
42    livecheck.type  regex
43    livecheck.url   ${homepage}raw-attachment/wiki/Download/
44    livecheck.regex {>ftputil-([0-9.]+).tar.gz<}
45} else {
46    livecheck.type      none
47}
Note: See TracBrowser for help on using the repository browser.