source: trunk/dports/python/py-ntplib/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • 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; 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: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-ntplib
8version             0.3.1
9python.versions     26 27
10platforms           darwin
11maintainers         maiar.org:jason-macports
12license             LGPL
13supported_archs     noarch
14description         Simple interface to query NTP servers from Python.
15long_description    This module offers a simple interface to query NTP \
16                    servers from Python.  It also provides utility \
17                    text (mode, leap indicator, ...). Since it's pure \
18                    work on any platform with a decent Python implementation.
19
20
21homepage            https://pypi.python.org/pypi/ntplib
22master_sites        pypi:n/ntplib/
23distname            ntplib-${version}
24checksums           md5   991a5df0d198f701028001002dc34f2b \
25                    sha1   909c867883206bac642dfa45aa11bd9848d0f5b0 \
26                    rmd160   6497a5859a0083d6852a0d4cd2132da86ab5bc26
27
28if {${name} ne ${subport}} {
29    livecheck.type      none
30} else {
31    livecheck.type      regex
32    livecheck.url       ${homepage}
33    livecheck.regex     ntplib (\\d+(\\.\\d+)+)
34}
Note: See TracBrowser for help on using the repository browser.