From owner-dev-commits-ports-main@freebsd.org Tue Aug 3 06:10:50 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFBD76314E2; Tue, 3 Aug 2021 06:10:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gf4HZ4yFfz4n0h; Tue, 3 Aug 2021 06:10:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 382915CF4; Tue, 3 Aug 2021 06:10:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1736Ao0k083608; Tue, 3 Aug 2021 06:10:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1736AoUL083607; Tue, 3 Aug 2021 06:10:50 GMT (envelope-from git) Date: Tue, 3 Aug 2021 06:10:50 GMT Message-Id: <202108030610.1736AoUL083607@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: c36ae8bd1f78 - main - math/py-yt: Update 3.6.1 -> 4.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c36ae8bd1f78d93bb9e6813256386de67f1a37bf Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2021 06:10:51 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c36ae8bd1f78d93bb9e6813256386de67f1a37bf commit c36ae8bd1f78d93bb9e6813256386de67f1a37bf Author: Yuri Victorovich AuthorDate: 2021-08-03 05:30:06 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-03 06:10:45 +0000 math/py-yt: Update 3.6.1 -> 4.0.1 Reported by: portscout --- math/py-yt/Makefile | 16 ++++++++++++---- math/py-yt/distinfo | 6 +++--- math/py-yt/files/patch-yt_extern_tqdm___utils.py | 11 ----------- math/py-yt/files/patch-yt_utilities_lib_platform__dep.h | 11 +++++++---- .../files/patch-yt_utilities_lib_platform__dep__math.hpp | 16 ++++++++++++++++ 5 files changed, 38 insertions(+), 22 deletions(-) diff --git a/math/py-yt/Makefile b/math/py-yt/Makefile index c03573b61aa9..3c4b0afafbd9 100644 --- a/math/py-yt/Makefile +++ b/math/py-yt/Makefile @@ -1,7 +1,7 @@ # Created by: Yuri Victorovich PORTNAME= yt -DISTVERSION= 3.6.1 +DISTVERSION= 4.0.1 CATEGORIES= math astro python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +12,19 @@ COMMENT= Analysis and visualization toolkit for volumetric data LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.txt +# dependencies are in setup.cfg BUILD_DEPENDS= ${PYNUMPY} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>=1.0:math/py-sympy@${PY_FLAVOR} \ +RUN_DEPENDS= \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.3:math/py-matplotlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ipython5>=1.0:devel/ipython5@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}ipython5>=1.0:devel/ipython5@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.0.2:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}more-itertools>=8.4:devel/py-more-itertools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>=1.2:math/py-sympy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>=0.10.2:textproc/py-toml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=3.4.0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}unyt>=2.8.0:math/py-unyt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=4.2b1:devel/py-yaml@${PY_FLAVOR} USES= dos2unix localbase python:3.7+ USE_PYTHON= distutils cython autoplist concurrent diff --git a/math/py-yt/distinfo b/math/py-yt/distinfo index 39612d87f051..9f1d0ff22c97 100644 --- a/math/py-yt/distinfo +++ b/math/py-yt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1605290212 -SHA256 (yt-3.6.1.tar.gz) = be454f9d05dcbe0623328b4df43a1bfd1f0925e516be97399710452931a19bb0 -SIZE (yt-3.6.1.tar.gz) = 11810361 +TIMESTAMP = 1627935642 +SHA256 (yt-4.0.1.tar.gz) = 6219cbf971871320a13679a57722c0363e50db5e6d4d64ea9d197461b2a7f70f +SIZE (yt-4.0.1.tar.gz) = 12588963 diff --git a/math/py-yt/files/patch-yt_extern_tqdm___utils.py b/math/py-yt/files/patch-yt_extern_tqdm___utils.py deleted file mode 100644 index 42900ea89072..000000000000 --- a/math/py-yt/files/patch-yt_extern_tqdm___utils.py +++ /dev/null @@ -1,11 +0,0 @@ ---- yt/extern/tqdm/_utils.py.orig 2017-01-01 20:57:19 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 - diff --git a/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h b/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h index 4bf2fcc821d3..286fb4d5ffc7 100644 --- a/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h +++ b/math/py-yt/files/patch-yt_utilities_lib_platform__dep.h @@ -1,11 +1,14 @@ ---- yt/utilities/lib/platform_dep.h.orig 2017-01-01 20:57:35 UTC +--- yt/utilities/lib/platform_dep.h.orig 2021-08-02 20:27:17 UTC +++ yt/utilities/lib/platform_dep.h -@@ -57,7 +57,7 @@ double erf(double x) +@@ -59,6 +59,10 @@ double erf(double x) #else #include -#include "alloca.h" -+#include ++#if !defined(__FreeBSD__) ++# include "alloca.h" ++#else ++# include ++#endif #include #endif - diff --git a/math/py-yt/files/patch-yt_utilities_lib_platform__dep__math.hpp b/math/py-yt/files/patch-yt_utilities_lib_platform__dep__math.hpp new file mode 100644 index 000000000000..ddc45bddb8ec --- /dev/null +++ b/math/py-yt/files/patch-yt_utilities_lib_platform__dep__math.hpp @@ -0,0 +1,16 @@ +--- yt/utilities/lib/platform_dep_math.hpp.orig 2021-08-02 20:38:53 UTC ++++ yt/utilities/lib/platform_dep_math.hpp +@@ -5,6 +5,7 @@ MSVC does not define isnormal in the std:: namespace, + However with GCC-5, there is a clash between the definition of isnormal in and using C++14, so we need to import from cmath instead. + */ + ++#if !defined(__FreeBSD__) // see https://github.com/yt-project/yt/issues/3459 + #if _MSC_VER + #include + inline bool __isnormal(double x) { +@@ -15,4 +16,5 @@ inline bool __isnormal(double x) { + inline bool __isnormal(double x) { + return std::isnormal(x); + } ++#endif + #endif