- Update to 2.10.0

- While here, fix 'make test'

PR:		217523
Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)
This commit is contained in:
Carlos J. Puga Medina 2017-03-30 11:34:40 +00:00
parent c3c2575585
commit 406ca84eb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437282
3 changed files with 16 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pyprind
PORTVERSION= 2.9.9
PORTVERSION= 2.10.0
CATEGORIES= misc
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -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

View file

@ -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