summaryrefslogtreecommitdiff
path: root/math/py-statsmodels/Makefile
blob: 0b42b5709e10f6dfeb37adcfa78c9c70cdb9c1f1 (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
# $NetBSD: Makefile,v 1.14 2022/11/23 23:48:02 wiz Exp $

DISTNAME=	statsmodels-0.13.5
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=	27 37 # py-scipy
USE_LANGUAGES=			c

TOOL_DEPENDS+=	${PYPKGPREFIX}-cython>=0.29:../../devel/py-cython
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
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"