summaryrefslogtreecommitdiff
path: root/math/py-statsmodels/Makefile
blob: f019ed3b1ee179511bec45d16379eeb51b523009 (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
# $NetBSD: Makefile,v 1.9 2021/04/06 12:16:47 prlw1 Exp $

DISTNAME=	statsmodels-0.12.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	math python
MASTER_SITES=	${MASTER_SITE_PYPI:=s/statsmodels/}

MAINTAINER=	jihbed.research@gmail.com
HOMEPAGE=	https://www.statsmodels.org/
COMMENT=	Statistical computations and models for Python
LICENSE=	modified-bsd

PYTHON_VERSIONS_INCOMPATIBLE=	36 27	# py-scipy
USE_LANGUAGES=			c

BUILD_DEPENDS+=	${PYPKGPREFIX}-cython>=0.29:../../devel/py-cython
DEPENDS+=	${PYPKGPREFIX}-pandas>=0.21:../../math/py-pandas
DEPENDS+=	${PYPKGPREFIX}-patsy>=0.5:../../math/py-patsy
DEPENDS+=	${PYPKGPREFIX}-scipy>=1.1:../../math/py-scipy

post-extract:
	${CHMOD} -R o-w,g-w ${WRKSRC}
	${FIND} ${WRKSRC} -type f -printx | ${XARGS} ${CHMOD} a-x

.include "../../lang/python/egg.mk"
BUILDLINK_API_DEPENDS.py-numpy+=	${PYPKGPREFIX}-numpy>=1.15
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"