[89885] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Feb 13 19:51:35 PST 2012


Revision: 89885
          http://trac.macports.org/changeset/89885
Author:   jmr at macports.org
Date:     2012-02-13 19:51:32 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
New port: py-ntplib, Simple interface to query NTP servers from Python (#28550)

Added Paths:
-----------
    trunk/dports/python/py-ntplib/
    trunk/dports/python/py-ntplib/Portfile

Added: trunk/dports/python/py-ntplib/Portfile
===================================================================
--- trunk/dports/python/py-ntplib/Portfile	                        (rev 0)
+++ trunk/dports/python/py-ntplib/Portfile	2012-02-14 03:51:32 UTC (rev 89885)
@@ -0,0 +1,35 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-ntplib
+version             0.1.9
+python.versions     26 27
+python.default_version  27
+platforms           darwin
+maintainers         maiar.org:jason-macports
+license             LGPL
+supported_archs     noarch
+description         Simple interface to query NTP servers from Python.
+long_description    This module offers a simple interface to query NTP \
+                    servers from Python.  It also provides utility \
+                    text (mode, leap indicator, ...). Since it's pure \
+                    work on any platform with a decent Python implementation.
+
+
+homepage            http://pypi.python.org/pypi/ntplib
+master_sites        http://pypi.python.org/packages/source/n/ntplib/
+distname            ntplib-${version}
+checksums           rmd160   83238c60d29346d0335083dda5b46ea5f3725888 \
+                    sha256   e0cfe76b4ca40d92c10be84818e48ca1e39946c24fd019f16de79bc2d673bee1
+
+if {$subport != $name} {
+    depends_lib         port:py${python.version}-distribute
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     ntplib (\\d+(\\.\\d+)+)
+}


Property changes on: trunk/dports/python/py-ntplib/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120213/e1f73603/attachment-0001.html>


More information about the macports-changes mailing list