From 406ca84eb2dc16f8aceb77c8ef0baa48d9f87f9e Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Thu, 30 Mar 2017 11:34:40 +0000 Subject: - Update to 2.10.0 - While here, fix 'make test' PR: 217523 Submitted by: Neel Chauhan (maintainer) --- misc/py-pyprind/Makefile | 2 +- misc/py-pyprind/distinfo | 6 +++--- misc/py-pyprind/files/patch-pyprind_prog__class.py | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 misc/py-pyprind/files/patch-pyprind_prog__class.py diff --git a/misc/py-pyprind/Makefile b/misc/py-pyprind/Makefile index 45e93d6da606..8293e6ebaa26 100644 --- a/misc/py-pyprind/Makefile +++ b/misc/py-pyprind/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pyprind -PORTVERSION= 2.9.9 +PORTVERSION= 2.10.0 CATEGORIES= misc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-pyprind/distinfo b/misc/py-pyprind/distinfo index feb78ea03870..53b20842ca79 100644 --- a/misc/py-pyprind/distinfo +++ b/misc/py-pyprind/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1473379703 -SHA256 (PyPrind-2.9.9.tar.gz) = 83fca8b860a1e6481416fbde3cd59b825867870f00939946abe6cd1c6039feb3 -SIZE (PyPrind-2.9.9.tar.gz) = 10749 +TIMESTAMP = 1488561295 +SHA256 (PyPrind-2.10.0.tar.gz) = 3ca1bd20060b9a9cccb12565bd998444f0e06318d917c4a03b429eb4a7da5514 +SIZE (PyPrind-2.10.0.tar.gz) = 10833 diff --git a/misc/py-pyprind/files/patch-pyprind_prog__class.py b/misc/py-pyprind/files/patch-pyprind_prog__class.py new file mode 100644 index 000000000000..4f010b7fc9e9 --- /dev/null +++ b/misc/py-pyprind/files/patch-pyprind_prog__class.py @@ -0,0 +1,12 @@ +--- pyprind/prog_class.py.orig 2017-03-18 12:03:55 UTC ++++ pyprind/prog_class.py +@@ -91,6 +91,9 @@ class Prog(): + supported = ('PYCHARM_HOSTED' in os.environ or + os.isatty(sys.stdout.fileno())) + ++ except AttributeError: ++ supported = False ++ + # a fix for IPython notebook "IOStream has no fileno." + except(UnsupportedOperation): + supported = True -- cgit v1.3