[147588] trunk/dports/python
mojca at macports.org
mojca at macports.org
Fri Apr 8 15:59:10 PDT 2016
Revision: 147588
https://trac.macports.org/changeset/147588
Author: mojca at macports.org
Date: 2016-04-08 15:59:10 -0700 (Fri, 08 Apr 2016)
Log Message:
-----------
py-magpy: new package (might use some more love)
Added Paths:
-----------
trunk/dports/python/py-magpy/
trunk/dports/python/py-magpy/Portfile
Added: trunk/dports/python/py-magpy/Portfile
===================================================================
--- trunk/dports/python/py-magpy/Portfile (rev 0)
+++ trunk/dports/python/py-magpy/Portfile 2016-04-08 22:59:10 UTC (rev 147588)
@@ -0,0 +1,47 @@
+# -*- 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
+PortGroup github 1.0
+
+github.setup geomagpy magpy b2aa46c
+name py-magpy
+version 0.2.000-29
+platforms darwin
+license GPL-3
+maintainers mojca openmaintainer
+
+description Geomagnetic analysis tools.
+long_description ${description}
+
+checksums rmd160 de4e5a1b8d6f68884048f0d83acfa306ec151eb0 \
+ sha256 088fc09ac8dee33d7a1bd01c661071565569e9ffbe8202f2721e8d65c9d8b4be
+
+python.versions 27
+# python.versions 27 34 35
+
+# TODO:
+# - add a port py-spacepy
+# - add a port py-autobahn
+# - properly enable and test MySQL
+if {${name} ne ${subport}} {
+ # TODO: mysql
+ depends_build-append \
+ port:py${python.version}-setuptools
+ # mysql and scipy are optional
+ # xmagpy needs py-wxpython-3.0
+ # py-matplotlib is often needed
+ depends_run-append \
+ port:py${python.version}-numpy \
+ port:py${python.version}-netcdf4 \
+ port:py${python.version}-pexpect
+ # port:py${python.version}-scipy \
+ # port:py${python.version}-mysql
+
+ post-patch {
+ reinplace "s|/usr/bin/env python|${python.bin}|" ${worksrcpath}/magpy/gui/xmagpy.py
+ }
+
+ livecheck.type none
+}
Property changes on: trunk/dports/python/py-magpy/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/20160408/72c35137/attachment.html>
More information about the macports-changes
mailing list