Bug 183870 - [NEW PORT] math/py-patsy: Python package for statistical models and design matrices
Summary: [NEW PORT] math/py-patsy: Python package for statistical models and design ma...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 19:40 UTC by Johannes Meixner
Modified: 2013-11-11 20:40 UTC (History)
0 users

See Also:


Attachments
.shar (2.89 KB, text/plain)
2013-11-11 19:40 UTC, Johannes Meixner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2013-11-11 19:40:00 UTC
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 

Generated with FreeBSD Port Tools 0.99_8 (mode: new)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-11 19:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-11-11 20:32:02 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-11-11 20:32:16 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-11 20:32:21 UTC
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 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"