blob: b3c3ce9fb61248ada8e12fedd2caedb938fc11f8 (
plain) (
blame)
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
44
45
46
47
48
|
# Created by: Johannes Meixner <johannes@perceivon.net>
# $FreeBSD$
PORTNAME= statsmodels
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= johannes@perceivon.net
COMMENT= Complement to SciPy for statistical computations
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY} \
cython:lang/cython \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas \
${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas \
${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy
OPTIONS_DEFINE= DOCS EXAMPLES
USES= python
USE_PYTHON= autoplist distutils concurrent
USE_GITHUB= yes
GH_TAGNAME= 8e812cd
PORTEXAMPLES= *
PORTDOCS= README.rst README_l1.txt
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/_smoothers_lowess.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/nonparametric/linbin.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/tsa/kalmanf/kalman_loglike.so
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|