[150888] trunk/dports/python/py-obspy-devel
petr at macports.org
petr at macports.org
Mon Aug 1 06:38:14 PDT 2016
Revision: 150888
https://trac.macports.org/changeset/150888
Author: petr at macports.org
Date: 2016-08-01 06:38:14 -0700 (Mon, 01 Aug 2016)
Log Message:
-----------
py-obspy-devel: new release candidate
Added Paths:
-----------
trunk/dports/python/py-obspy-devel/Portfile
Removed Paths:
-------------
trunk/dports/python/py-obspy-devel/Portfile
Deleted: trunk/dports/python/py-obspy-devel/Portfile
===================================================================
--- trunk/dports/python/py-obspy-devel/Portfile 2016-08-01 12:58:21 UTC (rev 150887)
+++ trunk/dports/python/py-obspy-devel/Portfile 2016-08-01 13:38:14 UTC (rev 150888)
@@ -1,36 +0,0 @@
-# -*- 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
-
-name py-obspy-devel
-version 1.0.0rc4
-revision 1
-
-replaced_by py-obspy
-PortGroup obsolete 1.0
-
-categories-append science
-platforms darwin
-license LGPL-3
-
-maintainers petr openmaintainer
-
-description This port is currently a stub replaced by py-obspy release
-
-long_description \
- This port is currently a stub to provice a smooth upgrade path towards \
- the recently released version. This port is expected to be reactivated \
- in some weeks when a stable development snapshot becomes useful.
-
-homepage http://www.obspy.org/
-
-python.versions 27 34 35
-
-if {${name} ne ${subport}} {
- replaced_by py${python.version}-obspy
-
- depends_lib
-}
Copied: trunk/dports/python/py-obspy-devel/Portfile (from rev 145880, trunk/dports/python/py-obspy-devel/Portfile)
===================================================================
--- trunk/dports/python/py-obspy-devel/Portfile (rev 0)
+++ trunk/dports/python/py-obspy-devel/Portfile 2016-08-01 13:38:14 UTC (rev 150888)
@@ -0,0 +1,108 @@
+# -*- 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 select 1.0
+
+set _name obspy
+
+name py-${_name}-devel
+conflicts py-${_name}
+
+version 1.0.2rc6
+categories-append science
+platforms darwin
+license LGPL-3
+
+maintainers petr openmaintainer
+
+description Python framework for processing seismological data \
+ (release candidate)
+
+long_description \
+ ObsPy is an open-source project dedicated to provide a Python framework \
+ for processing seismological data. It provides support for file formats \
+ and signal processing routines which allow the manipulation, analysis \
+ and visualization of seismological time series. The goal of the ObsPy \
+ project is to facilitate rapid application development for seismology. \
+ This port provides the a release candidate.
+
+homepage http://www.obspy.org/
+
+use_zip yes
+distname ${_name}-${version}
+master_sites https://www.geophysik.uni-muenchen.de/%7Emegies/
+
+checksums md5 0b6b9553364e130f245506de698f88a1 \
+ rmd160 ab6cec56ead710c0524cb665146a2349514edbc9 \
+ sha256 f1a5cffc4f433e15c27bb01bb8302d69a2a37ae97700ad0c3476814a897c7efb
+
+python.versions 27 34 35
+
+if {${name} ne ${subport}} {
+ conflicts py{python.version}-${_name}
+
+ # py-scipy is not universal
+ universal_variant no
+
+ depends_build-append port:py${python.version}-setuptools \
+ port:py${python.version}-numpy
+
+ depends_lib-append port:py${python.version}-decorator \
+ port:py${python.version}-future \
+ port:py${python.version}-lxml \
+ port:py${python.version}-matplotlib \
+ port:py${python.version}-numpy \
+ port:py${python.version}-scipy \
+ port:py${python.version}-requests \
+ port:py${python.version}-sqlalchemy
+
+ # soft dependencies added for simplicity
+ depends_lib-append port:py${python.version}-gdal \
+ port:py${python.version}-geographiclib
+
+ # Note: Required for post-installation testing only
+ depends_run-append port:py${python.version}-flake8 \
+ port:py${python.version}-flake8-pep8-naming \
+ port:py${python.version}-pyproj
+
+ # Python 3.3+: mock is available as unittest.mock
+ if { ${python.version} < 33 } {
+ depends_run-append port:py${python.version}-mock
+ }
+
+ # add manpages
+ depends_build-append port:help2man
+
+ post-build {
+ set libarch [glob -tail -directory ${worksrcpath}/build lib.*]
+ set libsrc build/${libarch}/obspy/lib
+ set libtgt ${worksrcpath}/obspy/lib
+
+ # hack: link to built libraries to make scripts (and help2man) work
+ foreach l [glob -tail -directory ${worksrcpath}/${libsrc} *.so] {
+ ln -s ../../${libsrc}/${l} ${libtgt}/.
+ }
+
+ system -W ${worksrcpath} "${build.cmd} build_man"
+ }
+ post-destroot {
+ system -W ${worksrcpath} "${destroot.cmd} install_man ${destroot.destdir}"
+ }
+
+ # port select
+ depends_run-append port:${_name}_select
+
+ select.group ${_name}
+ select.file ${filespath}/${_name}${python.version}
+
+ notes-append "
+To make this Python ${python.branch} version of ObsPy the default \
+(i.e, use its script by their default names, e.g. obspy-runtests, etc.), run:
+
+sudo port select --set ${select.group} [file tail ${select.file}]
+ "
+
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160801/ba5f7b6d/attachment.html>
More information about the macports-changes
mailing list