summaryrefslogtreecommitdiffstats
path: root/math/py-patsy/Makefile
blob: 0c0f3578b3712b77d586ae3dcc3e91bfd13030c6 (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
44
45
46
47
48
49
50
# Created by: Johannes Meixner <johannes@perceivon.net>
# $FreeBSD$

PORTNAME=	patsy
PORTVERSION=	0.4.1
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	johannes@perceivon.net
COMMENT=	Python package for statistical models and design matrices

LICENSE=	BSD3CLAUSE PSFL
LICENSE_COMB=	multi

RUN_DEPENDS=	${PYNUMPY} \
		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six

USES=		python zip
USE_PYTHON=	distutils autoplist
NO_ARCH=	yes

PORTDOCS=	API-reference.rst \
		R-comparison.rst \
		builtins-reference.rst \
		categorical-coding.rst \
		changes.rst \
		expert-model-specification.rst \
		formulas.rst \
		index.rst \
		library-developers.rst \
		overview.rst \
		py2-versus-py3.rst \
		quickstart.rst \
		stateful-transforms.rst \

PORTEXAMPLES=	add_predictors.py \
		example_lm.py \
		example_treatment.py

OPTIONS_DEFINE=	DOCS EXAMPLES

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/doc/_examples/|} ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud