Modified: users/mojca/ports/python/py-geomagpy/Portfile (140575 => 140576)
--- users/mojca/ports/python/py-geomagpy/Portfile 2015-09-24 01:16:51 UTC (rev 140575)
+++ users/mojca/ports/python/py-geomagpy/Portfile 2015-09-24 01:18:36 UTC (rev 140576)
@@ -2,7 +2,6 @@
# $Id$
PortSystem 1.0
-PortGroup app 1.0
PortGroup python 1.0
name py-geomagpy
@@ -31,12 +30,13 @@
# TODO: mysql
depends_build-append \
port:py${python.version}-setuptools
+ # mysql and scipy are optional
depends_run-append \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
+ port:py${python.version}-mysql \
port:py${python.version}-netcdf4 \
- port:py${python.version}-pexpect \
- port:py${python.version}-wxpython-3.0
+ port:py${python.version}-pexpect
patchfiles patch-gui-xmagpy.py.diff \
patch-setup.py.diff
@@ -52,13 +52,6 @@
ln -s ${f} ${destroot}${prefix}/bin/xmagpy-${python.branch}
}
- # this could be a +gui option, enabled by default
- app.name MagPy-${python.version}
- # this doesn't work because post-destroot did not finish yet and xmagpy doesn't exist
- # app.executable xmagpy-${python.version}
- app.executable ${python.pkgd}/magpy/gui/xmagpy.py
- app.icon ${worksrcpath}/magpy/gui/magpy.png
-
livecheck.type none
} else {
livecheck.type pypi