source: trunk/dports/python/py25-tz/Portfile @ 50317

Last change on this file since 50317 was 50317, checked in by ram@…, 11 years ago

python/py25-tz: update to 2009g

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 50317 2009-04-29 03:07:29Z ram@macports.org $
3
4PortSystem      1.0
5PortGroup       python25 1.0
6
7name            py25-tz
8set my_name     pytz
9version         2009g
10categories      python devel
11platforms       darwin
12maintainers     nox openmaintainer
13description     World Timezone Definitions for Python
14
15long_description \
16    pytz brings the Olson tz database into Python. This library allows \
17    accurate and cross platform timezone calculations using Python 2.3 \
18    or higher.
19
20homepage        http://pytz.sourceforge.net/
21master_sites    http://cheeseshop.python.org/packages/source/p/pytz/
22distname        ${my_name}-${version}
23use_bzip2       yes
24
25checksums       md5     0f373ab7ba5340c50b0cc48f9f481888 \
26                sha1    9614d5686f7258075a61607d0216ccf985ab4e09 \
27                rmd160  f38e044a3eb1ea1a023380ecfef2a9cd041b58d3
28
29post-destroot {
30    set docdir ${prefix}/share/doc/${name}-${version}
31    xinstall -d ${destroot}${docdir}
32    xinstall -m 644 -W $worksrcpath CHANGES.txt LICENSE.txt README.txt \
33        ${destroot}${docdir}
34}
35
36livecheck.check regex
37livecheck.url   ${master_sites}?C=M&O=D
38livecheck.regex ${my_name}-(\\d+\\w?)
Note: See TracBrowser for help on using the repository browser.