Ticket #28550: Portfile

File Portfile, 1.4 KB (added by gorticus (Jason Mitchell), 12 years ago)

hashes rmd160 & sha265, and now subport friendly

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; # indent-tabs-mod e: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-ntplib
8version             0.1.9
9categories          python
10python.versions     26 27
11python.default_version  27
12platforms           darwin
13maintainers         maiar.org:jason-macports
14license             LGPL
15supported_archs     noarch
16description         Simple interface to query NTP servers from Python.
17long_description    This module offers a simple interface to query NTP \
18                    servers from Python.  It also provides utility \
19                    text (mode, leap indicator, ...). Since it's pure \
20                    work on any platform with a decent Python implementation.
21
22
23homepage            http://pypi.python.org/pypi/ntplib
24master_sites        http://pypi.python.org/packages/source/n/ntplib/
25distname            ntplib-${version}
26checksums           rmd160   83238c60d29346d0335083dda5b46ea5f3725888 \
27                    sha256   e0cfe76b4ca40d92c10be84818e48ca1e39946c24fd019f16de79bc2d673bee1
28
29depends_lib         port:py-distribute
30
31if {$subport != $name} {
32    livecheck.type      none
33} else {
34    livecheck.type      regex
35    livecheck.url       ${homepage}
36    livecheck.regex     ntplib (\\d+(\\.\\d+)+)
37}