[141434] trunk/dports/python
petr at macports.org
petr at macports.org
Sat Dec 12 01:30:57 PST 2015
Revision: 141434
https://trac.macports.org/changeset/141434
Author: petr at macports.org
Date: 2015-10-18 09:55:01 -0700 (Sun, 18 Oct 2015)
Log Message:
-----------
messy commit, reverted in r141438, recommitted in r141439, #43962
Revision Links:
--------------
https://trac.macports.org/changeset/141438
https://trac.macports.org/changeset/141439
Modified Paths:
--------------
trunk/dports/python/py-obspy-devel/Portfile
Removed Paths:
-------------
trunk/dports/python/python-musicbrainz2/
Modified: trunk/dports/python/py-obspy-devel/Portfile
===================================================================
--- trunk/dports/python/py-obspy-devel/Portfile 2015-10-18 16:49:20 UTC (rev 141433)
+++ trunk/dports/python/py-obspy-devel/Portfile 2015-10-18 16:55:01 UTC (rev 141434)
@@ -2,35 +2,79 @@
# $Id$
PortSystem 1.0
-
PortGroup python 1.0
+PortGroup github 1.0
-name py-obspy-devel
-version 0.10.0
+github.setup obspy obspy 05f32b4ee6
+version 0.10.2-1434-g${github.version}
+#0.10.3rc1.dev0+474.g
-replaced_by py-obspy
-PortGroup obsolete 1.0
+set _name ${github.project}
+set _n [string index ${_name} 0]
+name py-${_name}
+conflicts ${name}-devel
+
categories-append science
platforms darwin
license LGPL-3
maintainers petr openmaintainer
-description This port is currently a stub replaced by py-obspy release
+description Python framework for processing seismological data
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.
+ 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 a development snapshot of the ObsPy package, which \
+ might not be always stable.
homepage http://www.obspy.org/
-python.versions 27 34
+checksums md5 7a77c6b96143e6758c38fed0775d2b16 \
+ rmd160 17d7cfd97472fc1fce34fe36b90f98da6c3d2c0b \
+ sha256 9af1b349204a1447a1ceac9b1844295297bb40217c98d8e01b62d51e6ceda609
+python.versions 27 34 35
+
if {${name} ne ${subport}} {
- replaced_by py${python.version}-obspy
+ depends_build-append port:py${python.version}-numpy
- depends_lib
+ depends_lib-append 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}-setuptools \
+ port:py${python.version}-sqlalchemy
-}
+ # Note: Required for post-installation testing only
+ depends_run-append port:py${python.version}-flake8
+
+ # py-numpy & py-scipy are not universal
+ universal_variant no
+
+ # creates a obspy/RELEASE-VERSION file dynamically
+ post-patch {
+ # set release version, python version string and target file
+ set ver_dev ${version}
+ set ver_fname ${worksrcpath}/obspy/RELEASE-VERSION
+
+ # open, write, close
+ set ver_fid [open ${ver_fname} "w"]
+ puts -nonewline ${ver_fid} ${ver_dev}
+ close ${ver_fid}
+ }
+
+ # fix wrong file permissions of the distfile
+ post-extract {
+ fs-traverse f ${worksrcpath} {
+ file attributes ${f} -permissions a+r
+ }
+ }
+
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/90f7729f/attachment-0001.html>
More information about the macports-changes
mailing list