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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-ntplib |
---|
8 | version 0.1.9 |
---|
9 | categories python |
---|
10 | python.versions 26 27 |
---|
11 | python.default_version 27 |
---|
12 | platforms darwin |
---|
13 | maintainers maiar.org:jason-macports |
---|
14 | license LGPL |
---|
15 | supported_archs noarch |
---|
16 | description Simple interface to query NTP servers from Python. |
---|
17 | long_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 | |
---|
23 | homepage http://pypi.python.org/pypi/ntplib |
---|
24 | master_sites http://pypi.python.org/packages/source/n/ntplib/ |
---|
25 | distname ntplib-${version} |
---|
26 | checksums rmd160 83238c60d29346d0335083dda5b46ea5f3725888 \ |
---|
27 | sha256 e0cfe76b4ca40d92c10be84818e48ca1e39946c24fd019f16de79bc2d673bee1 |
---|
28 | |
---|
29 | depends_lib port:py-distribute |
---|
30 | |
---|
31 | if {$subport != $name} { |
---|
32 | livecheck.type none |
---|
33 | } else { |
---|
34 | livecheck.type regex |
---|
35 | livecheck.url ${homepage} |
---|
36 | livecheck.regex ntplib (\\d+(\\.\\d+)+) |
---|
37 | } |
---|