[141473] trunk/dports/python
petr at macports.org
petr at macports.org
Sat Dec 12 01:40:50 PST 2015
Revision: 141473
https://trac.macports.org/changeset/141473
Author: petr at macports.org
Date: 2015-10-19 13:38:15 -0700 (Mon, 19 Oct 2015)
Log Message:
-----------
py-pygccxml-devel: remove obsolete port
Modified Paths:
--------------
trunk/dports/python/py-obspy-devel/Portfile
Removed Paths:
-------------
trunk/dports/python/py-pygccxml-devel/
Modified: trunk/dports/python/py-obspy-devel/Portfile
===================================================================
--- trunk/dports/python/py-obspy-devel/Portfile 2015-10-19 20:35:08 UTC (rev 141472)
+++ trunk/dports/python/py-obspy-devel/Portfile 2015-10-19 20:38:15 UTC (rev 141473)
@@ -2,35 +2,78 @@
# $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.3rc1-474-g${github.version}
-replaced_by py-obspy
-PortGroup obsolete 1.0
+set _name ${github.project}
+set _n [string index ${_name} 0]
+name py-${_name}-devel
+conflicts ${name}
+
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/ca773dc3/attachment.html>
More information about the macports-changes
mailing list