From owner-svn-ports-head@freebsd.org Tue Jan 16 15:08:09 2018 Return-Path: Delivered-To: svn-ports-head@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 F29ABE74D77; Tue, 16 Jan 2018 15:08:09 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B46C67D902; Tue, 16 Jan 2018 15:08:09 +0000 (UTC) (envelope-from swills@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00C5821FD9; Tue, 16 Jan 2018 15:08:09 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0GF88Sa017156; Tue, 16 Jan 2018 15:08:08 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0GF88wK017153; Tue, 16 Jan 2018 15:08:08 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201801161508.w0GF88wK017153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 16 Jan 2018 15:08:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459180 - in head/math/py-pandas: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/math/py-pandas: . files X-SVN-Commit-Revision: 459180 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 15:08:10 -0000 Author: swills Date: Tue Jan 16 15:08:08 2018 New Revision: 459180 URL: https://svnweb.freebsd.org/changeset/ports/459180 Log: math/py-pandas: Update to 0.22.0 PR: 225205 Submitted by: John W. O'Brien (maintainer) Added: head/math/py-pandas/files/patch-GH18719 (contents, props changed) Modified: head/math/py-pandas/Makefile (contents, props changed) head/math/py-pandas/distinfo (contents, props changed) Modified: head/math/py-pandas/Makefile ============================================================================== --- head/math/py-pandas/Makefile Tue Jan 16 14:58:51 2018 (r459179) +++ head/math/py-pandas/Makefile Tue Jan 16 15:08:08 2018 (r459180) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pandas -DISTVERSION= 0.21.1 +DISTVERSION= 0.22.0 CATEGORIES= math devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -51,9 +51,9 @@ SQL_DESC= SQLAlchemy ORM Add-ons HTML_DESC= HTML Parsing/Generation Add-ons EXCEL_DESC= MS Excel I/O Add-ons -MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${FLAVOR} -SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} -BTLNCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottleneck>0:math/py-bottleneck@${FLAVOR} +MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>1.4.3:math/py-matplotlib@${FLAVOR} +SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0.14.0:science/py-scipy@${FLAVOR} +BTLNCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottleneck>1.0.0:math/py-bottleneck@${FLAVOR} NUMEXPR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numexpr>=2.4.6:math/py-numexpr@${FLAVOR} BOTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${FLAVOR} TABLES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tables>=3.0.0:devel/py-tables@${FLAVOR} Modified: head/math/py-pandas/distinfo ============================================================================== --- head/math/py-pandas/distinfo Tue Jan 16 14:58:51 2018 (r459179) +++ head/math/py-pandas/distinfo Tue Jan 16 15:08:08 2018 (r459180) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514141635 -SHA256 (pandas-0.21.1.tar.gz) = c5f5cba88bf0659554c41c909e1f78139f6fce8fa9315a29a23692b38ff9788a -SIZE (pandas-0.21.1.tar.gz) = 11288319 +TIMESTAMP = 1516038682 +SHA256 (pandas-0.22.0.tar.gz) = 44a94091dd71f05922eec661638ec1a35f26d573c119aa2fad964f10a2880e6c +SIZE (pandas-0.22.0.tar.gz) = 11297071 Added: head/math/py-pandas/files/patch-GH18719 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pandas/files/patch-GH18719 Tue Jan 16 15:08:08 2018 (r459180) @@ -0,0 +1,61 @@ +commit c753e1e08b01a438aaa252327de046109bf4bcfd +Author: Joris Van den Bossche +Date: Mon Dec 11 11:57:00 2017 +0100 + + TST: make it possible to run tests without moto installed (#18719) + +diff pandas/tests/io/conftest.py pandas/tests/io/conftest.py +--- pandas/tests/io/conftest.py.orig 2017-12-11 10:57:00 UTC ++++ pandas/tests/io/conftest.py +@@ -1,6 +1,5 @@ + import os + +-import moto + import pytest + from pandas.io.parsers import read_table + +@@ -42,6 +41,7 @@ def s3_resource(tips_file, jsonl_file): + is yielded by the fixture. + """ + pytest.importorskip('s3fs') ++ moto = pytest.importorskip('moto') + moto.mock_s3().start() + + test_s3_files = [ +diff pandas/tests/io/json/test_compression.py pandas/tests/io/json/test_compression.py +--- pandas/tests/io/json/test_compression.py.orig 2017-12-11 10:57:00 UTC ++++ pandas/tests/io/json/test_compression.py +@@ -1,5 +1,4 @@ + import pytest +-import moto + + import pandas as pd + from pandas import compat +@@ -73,6 +72,8 @@ def test_read_zipped_json(): + def test_with_s3_url(compression): + boto3 = pytest.importorskip('boto3') + pytest.importorskip('s3fs') ++ moto = pytest.importorskip('moto') ++ + if compression == 'xz': + tm._skip_if_no_lzma() + +diff pandas/tests/io/test_excel.py pandas/tests/io/test_excel.py +--- pandas/tests/io/test_excel.py.orig 2017-12-11 10:57:00 UTC ++++ pandas/tests/io/test_excel.py +@@ -10,7 +10,6 @@ from warnings import catch_warnings + import numpy as np + import pytest + from numpy import nan +-import moto + + import pandas as pd + import pandas.util.testing as tm +@@ -616,6 +615,7 @@ class XlrdTests(ReadingTestsBase): + def test_read_from_s3_url(self): + boto3 = pytest.importorskip('boto3') + pytest.importorskip('s3fs') ++ moto = pytest.importorskip('moto') + + with moto.mock_s3(): + conn = boto3.resource("s3", region_name="us-east-1")