math/py-patsy: Python package for statistical models and design matrices
Patsy is a Python library for describing statistical models (especially linear models, or models that have a linear component) and building design matrices. Patsy brings the convenience of R "formulas" to Python. WWW: https://www.github.com/pydata/patsy PR: ports/183870 Submitted by: Johannes Jost Meixner <xmj chaot.net>
This commit is contained in:
@@ -561,6 +561,7 @@
|
||||
SUBDIR += py-numpy
|
||||
SUBDIR += py-nzmath
|
||||
SUBDIR += py-pandas
|
||||
SUBDIR += py-patsy
|
||||
SUBDIR += py-plastex
|
||||
SUBDIR += py-probstat
|
||||
SUBDIR += py-pybloom
|
||||
|
||||
48
math/py-patsy/Makefile
Normal file
48
math/py-patsy/Makefile
Normal file
@@ -0,0 +1,48 @@
|
||||
# Created by: Johannes Meixner <xmj@chaot.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= patsy
|
||||
PORTVERSION= 0.2.1
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= xmj@chaot.net
|
||||
COMMENT= Python package for statistical models and design matrices
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
BUILD_DEPENDS= ${PYNUMPY}
|
||||
RUN_DEPENDS= ${PYNUMPY}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= easy_install
|
||||
PYDISTUTILS_AUTOPLIST= 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:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/doc/_examples/|} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
math/py-patsy/distinfo
Normal file
2
math/py-patsy/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
SHA256 (patsy-0.2.1.tar.gz) = 31374ce25275813d8f1c48bdda40bba06f7a16cce7dcdfad73f43a555393d065
|
||||
SIZE (patsy-0.2.1.tar.gz) = 316115
|
||||
10
math/py-patsy/files/patch-setup.py
Normal file
10
math/py-patsy/files/patch-setup.py
Normal file
@@ -0,0 +1,10 @@
|
||||
--- ./setup.py.orig 2013-08-20 18:59:30.000000000 +0300
|
||||
+++ ./setup.py 2013-11-11 16:18:52.782247350 +0200
|
||||
@@ -27,7 +27,6 @@
|
||||
license="2-clause BSD",
|
||||
packages=["patsy"],
|
||||
url="https://github.com/pydata/patsy",
|
||||
- install_requires=["numpy"],
|
||||
classifiers =
|
||||
[ "Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
5
math/py-patsy/pkg-descr
Normal file
5
math/py-patsy/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
Patsy is a Python library for describing statistical models (especially linear
|
||||
models, or models that have a linear component) and building design matrices.
|
||||
Patsy brings the convenience of R "formulas" to Python.
|
||||
|
||||
WWW: https://www.github.com/pydata/patsy
|
||||
Reference in New Issue
Block a user