Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 09:10:16 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448029 - head/math/py-yt
Message-ID:  <201708160910.v7G9AGH1041575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Wed Aug 16 09:10:16 2017
New Revision: 448029
URL: https://svnweb.freebsd.org/changeset/ports/448029

Log:
  - Update to 3.4.0
  - Support Python <= 3.5
  - Add pyembree dependency
  - Fix license
  
  PR:		221454
  Submitted by:	yuri@rawbw.com(maintainer)

Modified:
  head/math/py-yt/Makefile
  head/math/py-yt/distinfo

Modified: head/math/py-yt/Makefile
==============================================================================
--- head/math/py-yt/Makefile	Wed Aug 16 08:26:55 2017	(r448028)
+++ head/math/py-yt/Makefile	Wed Aug 16 09:10:16 2017	(r448029)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	yt
-PORTVERSION=	3.3.5
-PORTREVISION=	1
+PORTVERSION=	3.4.0
 CATEGORIES=	math astro python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,23 +10,30 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	yuri@rawbw.com
 COMMENT=	Analysis and visualization toolkit for volumetric data
 
-LICENSE=	MIT
+LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
 BUILD_DEPENDS=	cython:lang/cython \
-		${PYNUMPY}
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}pyembree>0:graphics/py-pyembree
 RUN_DEPENDS=	isympy:math/py-sympy \
-		${PYNUMPY}  \
-		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \
-		${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}pyembree>0:graphics/py-pyembree \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.3:math/py-matplotlib \
+		${PYTHON_PKGNAMEPREFIX}ipython>=1.0:devel/ipython
 LIB_DEPENDS=	libembree.so:graphics/embree \
-		libomp.so.0:devel/openmp
+		libomp.so:devel/openmp
 
-USES=		dos2unix localbase python
+USES=		dos2unix localbase python:-3.5
 USE_PYTHON=	autoplist distutils
 
 post-patch:
+	@${REINPLACE_CMD} -e "s|check_for_pyembree() is not None|True|; s|check_for_openmp() is True|True|" \
+		${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e "s|\['-fopenmp', filename\]|['-I${LOCALBASE}/include', '-L${LOCALBASE}/lib', '-lm', '-fopenmp', filename]|" \
 		${WRKSRC}/setupext.py
+
+post-install:
+	@${STRIP_CMD} $$(${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so")
 
 .include <bsd.port.mk>

Modified: head/math/py-yt/distinfo
==============================================================================
--- head/math/py-yt/distinfo	Wed Aug 16 08:26:55 2017	(r448028)
+++ head/math/py-yt/distinfo	Wed Aug 16 09:10:16 2017	(r448029)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489990643
-SHA256 (yt-3.3.5.tar.gz) = 4d5c751b81b0daf6dcaff6ec0faefd97138c008019b52c043ab93403d71cedf6
-SIZE (yt-3.3.5.tar.gz) = 8913208
+TIMESTAMP = 1502536922
+SHA256 (yt-3.4.0.tar.gz) = de52057d1677473a83961d8a1119a9beae3121ec69a4a5469c65348a75096d4c
+SIZE (yt-3.4.0.tar.gz) = 9989933



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