[145794] trunk/dports/python

petr at macports.org petr at macports.org
Wed Feb 17 06:55:47 PST 2016


Revision: 145794
          https://trac.macports.org/changeset/145794
Author:   petr at macports.org
Date:     2016-02-17 06:55:47 -0800 (Wed, 17 Feb 2016)
Log Message:
-----------
py-geographiclib: new port

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

Added: trunk/dports/python/py-geographiclib/Portfile
===================================================================
--- trunk/dports/python/py-geographiclib/Portfile	                        (rev 0)
+++ trunk/dports/python/py-geographiclib/Portfile	2016-02-17 14:55:47 UTC (rev 145794)
@@ -0,0 +1,46 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+set _name           geographiclib
+set _n              [string index ${_name} 0]
+
+name                py-{_name}
+version             1.46.3
+categories-append   devel gis
+platforms           darwin
+supported_archs     noarch
+license             MIT
+
+maintainers         petr openmaintainer
+
+description         The geodesic routines from GeographicLib
+
+long_description    The module implements algorithms for geodesics \
+                    (Karney, 2013) for solving the direct and inverse \
+                    problems for an ellipsoid of revolution.
+
+homepage            https://pypi.python.org/pypi/${_name}/${version}
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     47040ba1d4fee5d8fd871fa33cea66be \
+                    rmd160  0fa04fcc66a9a15124733fd22dc7e0335c130fd1 \
+                    sha256  d781ca397fb4d9edf527a43090824a9f7703e9a8b8fb9e2acee0335e5e88ba52
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    test.run        yes
+    test.cmd        ${python.bin} setup.py
+    test.target     test
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}


Property changes on: trunk/dports/python/py-geographiclib/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160217/2ec7c63f/attachment.html>


More information about the macports-changes mailing list