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

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

py24-timeformat: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 977 bytes
Line 
1# $Id: Portfile 130836 2015-01-02 22:24:20Z ryandesign@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python 1.0
5
6name                            py-timeformat
7version                         1.0.0
8revision                        1
9categories-append       devel
10license                         BSD
11maintainers                     nomaintainer
12description                     Flexible alternative to time.strftime
13long_description \
14        TimeFormat implements new time and date formatting codes that provide \
15        more flexibility to time.strftime().  The implementation avoids using \
16        the C library time.strftime() where possible, so ensuring the same \
17        operation across most platforms.
18
19platforms                       darwin
20supported_archs         noarch
21
22homepage                        http://www.owlfish.com/software/TimeFormat/
23master_sites            ${homepage}downloads/
24distname                        TimeFormat-${version}
25
26checksums                       md5 04f42919421c65a6f1c404dd522fabef
27
28python.versions         27
29
30if {${name} ne ${subport}} {
31    post-destroot {
32        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
33        eval file copy [glob ${worksrcpath}/documentation/html/*] \
34            ${destroot}${prefix}/share/doc/${subport}
35    }
36}
Note: See TracBrowser for help on using the repository browser.