Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 20:32:09 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333533 - in head/math: . py-patsy py-patsy/files
Message-ID:  <201311112032.rABKW9IN005988@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311112032.rABKW9IN005988>