[101445] trunk/dports/python/py-obspy-core/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 20:08:10 PST 2013


Revision: 101445
          https://trac.macports.org/changeset/101445
Author:   ryandesign at macports.org
Date:     2013-01-10 20:08:10 -0800 (Thu, 10 Jan 2013)
Log Message:
-----------
py-obspy-core: replaced_by py-obspy (#37334)

Modified Paths:
--------------
    trunk/dports/python/py-obspy-core/Portfile

Modified: trunk/dports/python/py-obspy-core/Portfile
===================================================================
--- trunk/dports/python/py-obspy-core/Portfile	2013-01-11 04:03:29 UTC (rev 101444)
+++ trunk/dports/python/py-obspy-core/Portfile	2013-01-11 04:08:10 UTC (rev 101445)
@@ -2,18 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python 1.0
 
 name                py-obspy-core
-version             0.7.1
+version             0.8.3
 categories-append   science
 platforms           darwin
-supported_archs     noarch
 maintainers         bo.ingv.it:Peter.Danecek openmaintainer
-
 license             LGPL-3
 
-description         Python framework for processing seismological data (core component)
+description         Python framework for processing seismological data
+
 long_description    ObsPy is an open-source project dedicated to provide a Python \
                     framework for processing seismological data. It provides \
                     parsers for common file formats and seismological signal \
@@ -28,18 +26,25 @@
 
 homepage            http://www.obspy.org/
 
-master_sites        http://pypi.python.org/packages/source/o/obspy.core
+archive_sites
+distfiles
 
-distname            obspy.core-${version}
-use_zip             yes
+subport py25-obspy-core {
+    # The new py-obspy does not support python25
+    replaced_by py27-obspy
+}
 
-checksums           md5    98c905b20e1a8617963562d88e6825f3 \
-                    rdm160 14e1f982057f0c1f8aa7e0ef9970b1eb2673b971 \
-                    sha256 8eff9b2406eefaf25c53d1e09d6333b2a7b79782624ac085e35d4a0802a89534
+subport py26-obspy-core {
+    replaced_by py26-obspy
+}
 
-python.versions     25 26 27
+subport py27-obspy-core {
+    replaced_by py27-obspy
+}
 
-if {${subport} != ${name}} {
-    depends_build         port:py${python.version}-distribute
-    depends_lib-append    port:py${python.version}-numpy
+pre-configure {
+    ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
+    return -code error "obsolete port"
 }
+
+livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130110/3a3b2ea0/attachment.html>


More information about the macports-changes mailing list