Bug 183951 - [PATCH] math/py-pymc: update to 2.3,1
Summary: [PATCH] math/py-pymc: update to 2.3,1
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-14 11:10 UTC by Johannes Meixner
Modified: 2013-12-06 15:50 UTC (History)
1 user (show)

See Also:


Attachments
py27-pymc-2.3,1.patch (16.61 KB, patch)
2013-11-14 11:10 UTC, Johannes Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2013-11-14 11:10:00 UTC
- Update to 2.3,1
- Add license
- Add matplotlib dependency as per docs/INSTALL.rst
- Add DOCS option
- Add stage support

Port maintainer (wenheping@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-14 11:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

wenheping@gmail.com => wen@ (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-14 11:10:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-14 11:10:11 UTC
Maintainer of math/py-pymc,

Please note that PR ports/183951 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183951

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-06 15:42:35 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-12-06 15:42:41 UTC
Author: mat
Date: Fri Dec  6 15:42:33 2013
New Revision: 335765
URL: http://svnweb.freebsd.org/changeset/ports/335765

Log:
  - Update to 2.3,1
  - Add license
  - Add matplotlib dependency as per docs/INSTALL.rst
  - Add DOCS option
  - Add stage support
  
  maintainer timeout.
  
  PR:		ports/183951
  Submitted by:	Johannes Jost Meixner

Deleted:
  head/math/py-pymc/pkg-plist
Modified:
  head/math/py-pymc/Makefile
  head/math/py-pymc/distinfo
  head/math/py-pymc/pkg-descr

Modified: head/math/py-pymc/Makefile
==============================================================================
--- head/math/py-pymc/Makefile	Fri Dec  6 15:35:13 2013	(r335764)
+++ head/math/py-pymc/Makefile	Fri Dec  6 15:42:33 2013	(r335765)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pymc
-PORTVERSION=	2.0
-PORTREVISION=	1
+PORTVERSION=	2.3
 PORTEPOCH=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
@@ -12,11 +11,37 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	wenheping@gmail.com
 COMMENT=	Markov Chain Monte Carlo Sampling Toolkit
 
-BUILD_DEPENDS=	${PYNUMPY}
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+LICENSE=	AFL
+LICENSE_NAME=	Academic Free License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+
+BUILD_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
+LIB_DEPENDS=	liblapack.so:${PORTSDIR}/math/lapack \
+		libblas.so:${PORTSDIR}/math/blas
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy
+
+OPTIONS_DEFINE=	DOCS
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+PORTDOCS=	*
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/flib.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/gp/cov_funs/distances.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/gp/cov_funs/isotropic_cov_funs.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/gp/incomplete_chol.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/gp/linalg_utils.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/Container_values.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/LazyFunction.so
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/*.rst ${STAGEDIR}${DOCSDIR}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/math/py-pymc/distinfo
==============================================================================
--- head/math/py-pymc/distinfo	Fri Dec  6 15:35:13 2013	(r335764)
+++ head/math/py-pymc/distinfo	Fri Dec  6 15:42:33 2013	(r335765)
@@ -1,2 +1,2 @@
-SHA256 (pymc-2.0.tar.gz) = 15bbf1e0df9e080d367d639462c4b2b9290826ca069a76ac2bc79d795fe6e653
-SIZE (pymc-2.0.tar.gz) = 1200416
+SHA256 (pymc-2.3.tar.gz) = db029c59d6a04f0c97d88993151c4ee58c76b9ad5c71ead7ee250088ba4cce0d
+SIZE (pymc-2.3.tar.gz) = 13080085

Modified: head/math/py-pymc/pkg-descr
==============================================================================
--- head/math/py-pymc/pkg-descr	Fri Dec  6 15:35:13 2013	(r335764)
+++ head/math/py-pymc/pkg-descr	Fri Dec  6 15:42:33 2013	(r335765)
@@ -1,11 +1,9 @@
-Bayesian estimation, particularly using Markov chain Monte
-Carlo (MCMC), is an increasingly relevant approach to
-statistical estimation. However, few statistical software
-packages implement MCMC samplers, and they are non-trivial
- to code by hand. pymc is a python package that implements
-the Metropolis-Hastings algorithm as a python class, and is
-extremely flexible and applicable to a large suite of problems.
-pymc includes methods for summarizing output, plotting,
-goodness-of-fit and convergence diagnostics.
+Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC), is an
+increasingly relevant approach to statistical estimation. However, few
+statistical software packages implement MCMC samplers, and they are non-trivial
+to code by hand. pymc is a python package that implements the
+Metropolis-Hastings algorithm as a python class, and is extremely flexible and
+applicable to a large suite of problems.  pymc includes methods for summarizing
+output, plotting, goodness-of-fit and convergence diagnostics.
 
-WWW: https://pypi.python.org/pypi/pymc/
+WWW: http://pypi.python.org/pypi/pymc/
_______________________________________________
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"