svn commit: r333533 - in head/math: . py-patsy py-patsy/files
William Grzybowski
wg at FreeBSD.org
Mon Nov 11 20:32:10 UTC 2013
Author: wg
Date: Mon Nov 11 20:32:09 2013
New Revision: 333533
URL: http://svnweb.freebsd.org/changeset/ports/333533
Log:
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>
Added:
head/math/py-patsy/
head/math/py-patsy/Makefile (contents, props changed)
head/math/py-patsy/distinfo (contents, props changed)
head/math/py-patsy/files/
head/math/py-patsy/files/patch-setup.py (contents, props changed)
head/math/py-patsy/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon Nov 11 20:29:45 2013 (r333532)
+++ head/math/Makefile Mon Nov 11 20:32:09 2013 (r333533)
@@ -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
Added: head/math/py-patsy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-patsy/Makefile Mon Nov 11 20:32:09 2013 (r333533)
@@ -0,0 +1,48 @@
+# Created by: Johannes Meixner <xmj at chaot.net>
+# $FreeBSD$
+
+PORTNAME= patsy
+PORTVERSION= 0.2.1
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= xmj at 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>
Added: head/math/py-patsy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-patsy/distinfo Mon Nov 11 20:32:09 2013 (r333533)
@@ -0,0 +1,2 @@
+SHA256 (patsy-0.2.1.tar.gz) = 31374ce25275813d8f1c48bdda40bba06f7a16cce7dcdfad73f43a555393d065
+SIZE (patsy-0.2.1.tar.gz) = 316115
Added: head/math/py-patsy/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-patsy/files/patch-setup.py Mon Nov 11 20:32:09 2013 (r333533)
@@ -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",
Added: head/math/py-patsy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-patsy/pkg-descr Mon Nov 11 20:32:09 2013 (r333533)
@@ -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
More information about the svn-ports-all
mailing list