PORTNAME= obspy PORTVERSION= 1.4.1 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Python framework for seismological observatories WWW= https://www.obspy.org/ LICENSE= LGPL3 BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.7.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.12.4:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=2.2:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} USES= fortran python shebangfix SHEBANG_FILES= obspy/taup/tests/data/TauP_test_data/gendata.sh USE_LDCONFIG= yes LDFLAGS+= -shared USE_PYTHON= autoplist distutils LDFLAGS+= -shared post-patch: ${REINPLACE_CMD} -e "s#FC#${FC}#g" ${WRKSRC}/setup.py post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/obspy/lib/*.so .include