From owner-svn-ports-all@freebsd.org Tue Dec 27 06:35:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC4A7C92AF9; Tue, 27 Dec 2016 06:35:23 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 866531DFA; Tue, 27 Dec 2016 06:35:23 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBR6ZMkA037561; Tue, 27 Dec 2016 06:35:22 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBR6ZMh0037556; Tue, 27 Dec 2016 06:35:22 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201612270635.uBR6ZMh0037556@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Tue, 27 Dec 2016 06:35:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429583 - in head/math: . py-yt py-yt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 06:35:23 -0000 Author: wen Date: Tue Dec 27 06:35:22 2016 New Revision: 429583 URL: https://svnweb.freebsd.org/changeset/ports/429583 Log: yt supports structured, variable-resolution meshes, unstructured meshes, and discrete or sampled data such as particles. Focused on driving physically-meaningful inquiry, yt has been applied in domains such as astrophysics, seismology, nuclear engineering, molecular dynamics, and oceanography. WWW: http://yt-project.org PR: 214565 Submitted by: yuri@rawbw.com Added: head/math/py-yt/ head/math/py-yt/Makefile (contents, props changed) head/math/py-yt/distinfo (contents, props changed) head/math/py-yt/files/ head/math/py-yt/files/patch-yt_extern_tqdm___utils.py (contents, props changed) head/math/py-yt/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Tue Dec 27 05:36:23 2016 (r429582) +++ head/math/Makefile Tue Dec 27 06:35:22 2016 (r429583) @@ -631,6 +631,7 @@ SUBDIR += py-theano SUBDIR += py-ufl SUBDIR += py-viper + SUBDIR += py-yt SUBDIR += qalculate SUBDIR += qd SUBDIR += qhull Added: head/math/py-yt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-yt/Makefile Tue Dec 27 06:35:22 2016 (r429583) @@ -0,0 +1,38 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= yt +PORTVERSION= 3.3.3 +CATEGORIES= math astro python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@rawbw.com +COMMENT= Analysis and visualization toolkit for volumetric data + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING.txt + +BUILD_DEPENDS= cython:lang/cython \ + ${PYNUMPY} +RUN_DEPENDS= isympy:math/py-sympy \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \ + ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython +LIB_DEPENDS= libembree.so:graphics/embree \ + libomp.so:devel/openmp + +USES= localbase python +USE_PYTHON= autoplist distutils + +post-patch: + @${REINPLACE_CMD} -e "s|\['-fopenmp', filename\]|['-I${LOCALBASE}/include', '-L${LOCALBASE}/lib', '-lm', '-fopenmp', filename]|" \ + ${WRKSRC}/setupext.py + +post-install: + # workaround for the bug https://bitbucket.org/yt_analysis/yt/issues/1296 + @${ECHO} "${PYTHON_SITELIBDIR}/yt/__hg_version__.py" >> ${_PYTHONPKGLIST} + @${ECHO} "${PYTHON_SITELIBDIR}/yt/__hg_version__.pyc" >> ${_PYTHONPKGLIST} + @${ECHO} "${PYTHON_SITELIBDIR}/yt/__hg_version__.pyo" >> ${_PYTHONPKGLIST} + +.include Added: head/math/py-yt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-yt/distinfo Tue Dec 27 06:35:22 2016 (r429583) @@ -0,0 +1,3 @@ +TIMESTAMP = 1482742193 +SHA256 (yt-3.3.3.tar.gz) = edf6453927eee311d4b51afacb52cd5504b2b57cc6d3d92dab9c6bfaf6d883df +SIZE (yt-3.3.3.tar.gz) = 8911901 Added: head/math/py-yt/files/patch-yt_extern_tqdm___utils.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-yt/files/patch-yt_extern_tqdm___utils.py Tue Dec 27 06:35:22 2016 (r429583) @@ -0,0 +1,10 @@ +--- yt/extern/tqdm/_utils.py.orig 2016-10-25 16:08:30 UTC ++++ yt/extern/tqdm/_utils.py +@@ -40,7 +40,7 @@ def _environ_cols_wrapper(): # pragma: + _environ_cols = _environ_cols_windows + if _environ_cols is None: + _environ_cols = _environ_cols_tput +- if current_os in ['Linux', 'Darwin'] or current_os.startswith('CYGWIN'): ++ if current_os in ['FreeBSD', 'Linux', 'Darwin'] or current_os.startswith('CYGWIN'): + _environ_cols = _environ_cols_linux + return _environ_cols Added: head/math/py-yt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-yt/pkg-descr Tue Dec 27 06:35:22 2016 (r429583) @@ -0,0 +1,7 @@ +yt supports structured, variable-resolution meshes, unstructured meshes, +and discrete or sampled data such as particles. Focused on driving +physically-meaningful inquiry, yt has been applied in domains such as +astrophysics, seismology, nuclear engineering, molecular dynamics, and +oceanography. + +WWW: http://yt-project.org