blob: 99375d6c361a75be91b326faad1a030bd7a91bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.10 2017/03/04 11:05:35 wen Exp $
DISTNAME= obspy-1.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= geography python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/obspy/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.obspy.org/
COMMENT= Python framework for seismological observatories
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.12.0:../../math/py-scipy
DEPENDS+= ${PYPKGPREFIX}-lxml>=3.2.3:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-future>=0.12.4:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-decorator>=0:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0:../../databases/py-sqlalchemy
USE_LANGUAGES= c fortran
USE_TOOLS+= bash:run
REPLACE_BASH= obspy/taup/tests/data/TauP_test_data/gendata.sh
pre-configure:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
.include "../../lang/python/pyversion.mk"
.if exists(${PYTHONBIN:Q})
PYPLATFORM!= ${PYTHONBIN} -c 'import platform; print (platform.system() + "_" + platform.architecture()[0])'
PLIST_SUBST+= PYPLATFORM=${PYPLATFORM} PYPKGPREFIX=${PYPKGPREFIX}
PRINT_PLIST_AWK+= /^${PYPLATFORM:S|/|\\/|g}/ \
{ gsub(/${PYPLATFORM:S|/|\\/|g}/, "$${PYPLATFORM}") }
.endif
.include "../../graphics/py-matplotlib/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/tool.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|