From nobody Thu Mar 10 07:28:37 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 11A5219F65F8; Thu, 10 Mar 2022 07:28:38 +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 4KDgfF73DSz4RHb; Thu, 10 Mar 2022 07:28:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646897318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0iofd5RsYWrZLstnBRI2wlCnaVYUeF0wH9ZWvF4uJjQ=; b=H3aTRkoWAlPhr40tshzo+rxAmHlyH7hVq1rCLRYs+d9LMeIrq1w4mJlrtfS3tpG4Waon5/ Sp1KsYnHFeoSqm0reAtdN25c6e9HsX4gehrRRSKxzRGgMnUcKdUx274/QEExwJ5rsoW+Dc Yj6emEbbuWul8UzocsRtIACR9Yn6TuGnR6Y/5geehiohrKm06zoORks9jAnGApPQlSnisE PhHxVK1+3D6DFDYp4O+pvvfxl+tuj6QOx6PSXsh8sJ5kG5dQSinv9n63g9vDGSI1jRRk/6 AtlbNYxclh/5o4f/Ki90+QTZ54HpSRjLPTk2vg4jMyttokXnQPwOWvnHbnpQuw== 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 D1D6420877; Thu, 10 Mar 2022 07:28:37 +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 22A7Sbur009774; Thu, 10 Mar 2022 07:28:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22A7SbTc009773; Thu, 10 Mar 2022 07:28:37 GMT (envelope-from git) Date: Thu, 10 Mar 2022 07:28:37 GMT Message-Id: <202203100728.22A7SbTc009773@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 1feb5d46aa19 - main - science/py-scipy: Update to 1.8.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1feb5d46aa19531e3cebea9b32e6d0ad122cab60 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646897318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0iofd5RsYWrZLstnBRI2wlCnaVYUeF0wH9ZWvF4uJjQ=; b=RawdxpHiz9vriWF9AOAQ28aFHYvxn5f7B62rWa0Ym3igOUYvRPzAacd8lgEeqyc3mW7/3/ Ii0JXz9yMYVDyexkcF/Y0hrRER8B7J8LnJhrqsLWPGm2TPm6leU52rEbZsreoaF9sEmrev u3qAokkm3Od9NKfRuU8IuG+yLnhHLr8l9KfwJvV20+oQqVyw53TJZOhXeGEjUsMFplDOtx oxn0Wts84qozfbDUdqjy2Pq73QH59yZ847YvK1BK/syX/h8DOsWBmKce/ASBaKSwnAC6Vr G/g5EiYPwTYKXMbBDIBT/79X7880CLbq0pr9VjwHiWWO2fpjA0quT+vFVI5eqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646897318; a=rsa-sha256; cv=none; b=I8jjiuKKhx7/5WL/z71PP0sHrMbNyRJ3lvv2bURpmP4xTIKo6AWA4hEGupf1pmOKYVvaS+ 1T7BMI+hCYzuqY9i/SBkcGqzeimjLckZ98/Fw8E7a0yBmAVdfjySHHKorcgZil2334mCr8 SRfmZN7IZKkAVydnKE54VKLxxGq1mScudhkZN0HhpDD9tnbtKvTNVHDvxUO3LpnWX1QzxW aQKgOVRaVYub+tZaYEUVCtVds3oesUqmzeqHVfY3j8X6GvO9AX0wDrw2C1u1ymB/JioRRt dUuxZxY/hj2nQApI69M4zR45QYt4x/8ToAX9mHXjY2wiMooaCzkURL+NDaEW+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=1feb5d46aa19531e3cebea9b32e6d0ad122cab60 commit 1feb5d46aa19531e3cebea9b32e6d0ad122cab60 Author: Wen Heping AuthorDate: 2022-03-10 07:26:35 +0000 Commit: Wen Heping CommitDate: 2022-03-10 07:26:35 +0000 science/py-scipy: Update to 1.8.0 - Add test target PR: 262307 Reported by: wen@ Exp-run by: antoine@ --- science/py-scipy/Makefile | 13 ++++---- science/py-scipy/distinfo | 10 +++---- .../files/patch-scipy_sparse_tests_test__base.py | 35 ++++++++++++++++++++++ 3 files changed, 45 insertions(+), 13 deletions(-) diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index 28ea15e0ece5..8d6a5490244f 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -1,7 +1,7 @@ # Created by: ijliao PORTNAME= scipy -DISTVERSION= 1.7.1 +DISTVERSION= 1.8.0 CATEGORIES= science python MASTER_SITES= https://docs.scipy.org/doc/scipy-${PORTVERSION}/:doc \ CHEESESHOP:source \ @@ -25,7 +25,7 @@ LIB_DEPENDS= libblas.so:math/blas \ libopenblas.so:math/openblas RUN_DEPENDS= ${PYNUMPY} -USES= compiler:c++14-lang cpe fortran python:3.7+ shebangfix +USES= compiler:c++14-lang cpe fortran python:3.8-3.10 shebangfix USE_PYTHON= autoplist concurrent cython distutils FFLAGS+= -std=legacy @@ -35,14 +35,8 @@ PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95 PORTDOCS= scipy-ref-${PORTVERSION}.pdf -SHEBANG_FILES= scipy/sparse/linalg/isolve/tests/test_gcrotmk.py - OPTIONS_DEFINE= DOCS -post-patch: -# This line help fix the plist error because autoplist list it as a file but it is a directory - @${TOUCH} ${WRKSRC}/scipy/stats/tests/data/tmp - post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD} @@ -50,4 +44,7 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} runtests.py + .include diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo index c098b886afe2..52e4b0235763 100644 --- a/science/py-scipy/distinfo +++ b/science/py-scipy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1636331176 -SHA256 (scipy-1.7.1.tar.gz) = 6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764 -SIZE (scipy-1.7.1.tar.gz) = 36102628 -SHA256 (scipy-ref-1.7.1.pdf) = 6b774337060474ca74c47dfe77f88bd5f39cdc00a6649bb29df071fb720d810e -SIZE (scipy-ref-1.7.1.pdf) = 33542025 +TIMESTAMP = 1644826087 +SHA256 (scipy-1.8.0.tar.gz) = 31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd +SIZE (scipy-1.8.0.tar.gz) = 38313602 +SHA256 (scipy-ref-1.8.0.pdf) = 17a12b348f682fd0a951e19749e7194a69fd577a6d40409c432f9740b5f48981 +SIZE (scipy-ref-1.8.0.pdf) = 34913841 diff --git a/science/py-scipy/files/patch-scipy_sparse_tests_test__base.py b/science/py-scipy/files/patch-scipy_sparse_tests_test__base.py new file mode 100644 index 000000000000..a683fb3412a1 --- /dev/null +++ b/science/py-scipy/files/patch-scipy_sparse_tests_test__base.py @@ -0,0 +1,35 @@ +--- scipy/sparse/tests/test_base.py.orig 2022-03-02 10:42:47 UTC ++++ scipy/sparse/tests/test_base.py +@@ -4758,19 +4758,19 @@ class TestCSCNonCanonical(_NonCanonicalCSMixin, TestCS + pass + + +-class TestBSRNonCanonical(_NonCanonicalCompressedMixin, TestBSR): +- def _insert_explicit_zero(self, M, i, j): +- x = M.tocsr() +- x[i,j] = 0 +- return x.tobsr(blocksize=M.blocksize) +- +- @pytest.mark.xfail(run=False, reason='diagonal broken with non-canonical BSR') +- def test_diagonal(self): +- pass +- +- @pytest.mark.xfail(run=False, reason='expm broken with non-canonical BSR') +- def test_expm(self): +- pass ++#class TestBSRNonCanonical(_NonCanonicalCompressedMixin, TestBSR): ++# def _insert_explicit_zero(self, M, i, j): ++# x = M.tocsr() ++# x[i,j] = 0 ++# return x.tobsr(blocksize=M.blocksize) ++# ++# @pytest.mark.xfail(run=False, reason='diagonal broken with non-canonical BSR') ++# def test_diagonal(self): ++# pass ++# ++# @pytest.mark.xfail(run=False, reason='expm broken with non-canonical BSR') ++# def test_expm(self): ++# pass + + + class TestCOONonCanonical(_NonCanonicalMixin, TestCOO):