source: trunk/dports/python/py-dateutil/Portfile @ 41510

Last change on this file since 41510 was 41510, checked in by dh@…, 9 years ago

Version bump 1.4.0 -> 1.4.1 to match py25 port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 41510 2008-11-05 00:23:45Z dh@macports.org $
3
4PortSystem        1.0
5PortGroup         python24 1.0
6
7name              py-dateutil
8set my_name       python-dateutil
9version           1.4.1
10categories        python
11platforms         darwin
12maintainers       dh openmaintainer
13
14description       powerful extensions to the standard python datetime module
15long_description  ${description}
16
17homepage          http://labix.org/python-dateutil
18master_sites      http://labix.org/download/python-dateutil
19distname          ${my_name}-${version}
20
21checksums         md5 2a5f25ab12fcefcf0b21348f2d47595a \
22                  sha1 0d06926ac127b8db333d91b3afb0eeb100ac7cac \
23                  rmd160 51caf0b0c7bfbf16044437e3b93af22829180dca
24
25depends_run       port:py-tz \
26                  port:py-setuptools
27
28test.run          yes
29test.cmd          ${python.bin} test.py
30test.target
31test.env          PYTHONPATH=${worksrcpath}/build/lib
32
33post-destroot {
34  set docdir ${prefix}/share/doc/${name}-${version}
35  xinstall -d ${destroot}${docdir}
36  xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir}
37}
38
39universal_variant no
40
41livecheck.check   regex
42livecheck.regex   /${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.