2012-10-10 08:46:07 +02:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2011-03-16 09:46:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-05-17 16:05:33 +02:00
|
|
|
PORTNAME= obspy
|
2017-03-01 00:38:44 +01:00
|
|
|
PORTVERSION= 1.0.3
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 2
|
2011-03-16 09:46:36 +01:00
|
|
|
CATEGORIES= science python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2013-07-19 01:56:55 +02:00
|
|
|
COMMENT= Python framework for seismological observatories
|
2011-03-16 09:46:36 +01:00
|
|
|
|
2014-05-11 15:19:46 +02:00
|
|
|
LICENSE= LGPL3
|
|
|
|
|
2011-03-16 09:46:36 +01:00
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
2016-04-01 16:25:16 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}future>=0.12.4:devel/py-future \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1.0:math/py-matplotlib \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}lxml>=2.2:devel/py-lxml \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}suds>=0.4.0:net/py-suds \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator \
|
2016-12-12 03:28:44 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10
|
2011-12-09 09:14:07 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2011-03-16 09:46:36 +01:00
|
|
|
|
2016-03-19 10:27:25 +01:00
|
|
|
USES= fortran python shebangfix zip
|
|
|
|
SHEBANG_FILES= obspy/taup/tests/data/TauP_test_data/gendata.sh
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
LDFLAGS+= -shared
|
|
|
|
USE_PYTHON= autoplist distutils
|
2013-05-17 16:05:33 +02:00
|
|
|
|
2014-10-23 17:23:27 +02:00
|
|
|
LDFLAGS+= -shared
|
|
|
|
|
2013-05-17 16:05:33 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s#FC#${FC}#g" ${WRKSRC}/setup.py
|
2011-03-16 09:46:36 +01:00
|
|
|
|
2016-03-19 10:27:25 +01:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/obspy/lib/*.so
|
|
|
|
|
2011-03-16 09:46:36 +01:00
|
|
|
.include <bsd.port.mk>
|