[151213] trunk/dports/python/py-obspy-devel/Portfile
petr at macports.org
petr at macports.org
Wed Aug 10 09:09:42 PDT 2016
Revision: 151213
https://trac.macports.org/changeset/151213
Author: petr at macports.org
Date: 2016-08-10 09:09:42 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
py-obspy-devel: replace by a stub after release of obspy version 1.0.2
Modified Paths:
--------------
trunk/dports/python/py-obspy-devel/Portfile
Modified: trunk/dports/python/py-obspy-devel/Portfile
===================================================================
--- trunk/dports/python/py-obspy-devel/Portfile 2016-08-10 15:42:57 UTC (rev 151212)
+++ trunk/dports/python/py-obspy-devel/Portfile 2016-08-10 16:09:42 UTC (rev 151213)
@@ -2,107 +2,35 @@
# $Id$
PortSystem 1.0
+
+replaced_by py-obspy
+PortGroup obsolete 1.0
PortGroup python 1.0
-PortGroup select 1.0
-set _name obspy
-set _name_conflict ${_name}
-
-conflicts py-${_name_conflict}
-name py-${_name}-devel
+name py-obspy-devel
version 1.0.2rc6
+revision 1
+
categories-append science
platforms darwin
license LGPL-3
maintainers petr openmaintainer
-description Python framework for processing seismological data \
- (release candidate)
+description This port is currently a stub replaced by py-obspy
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.
+ This port is currently a stub to provice a smooth upgrade path of a \
+ release candidate towards the released version. \
+ This port is expected to be reactivated either for some stable \
+ development snapshot or for the next release candidates.
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_conflict}
+ replaced_by py${python.version}-obspy
- # 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
+ depends_lib
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/19a230d9/attachment-0001.html>
More information about the macports-changes
mailing list