summaryrefslogtreecommitdiff
path: root/math/py-statsmodels/Makefile
blob: 39b048868361e3e502d6001150a7b7bb8efd9921 (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.12 2022/04/10 00:57:15 gutteridge Exp $

DISTNAME=	statsmodels-0.12.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
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

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"