Skip to content

Commit

Permalink
- Update to 0.10.7
Browse files Browse the repository at this point in the history
PR:		224389
Submitted by:	jjachuf@gmail.com(maintainer)
  • Loading branch information
wenheping committed Feb 18, 2018
1 parent a3b2874 commit 2ae2181
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion devel/py-rope/Makefile
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= rope
PORTVERSION= 0.10.5
PORTVERSION= 0.10.7
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down
6 changes: 3 additions & 3 deletions devel/py-rope/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1491824273
SHA256 (rope-0.10.5.tar.gz) = 2ff6099e65798f9e27da5026cc7136b4d9b340fc817031ccb4318f61f448127f
SIZE (rope-0.10.5.tar.gz) = 243931
TIMESTAMP = 1513469102
SHA256 (rope-0.10.7.tar.gz) = a09edfd2034fd50099a67822f9bd851fbd0f4e98d3b87519f6267b60e50d80d1
SIZE (rope-0.10.7.tar.gz) = 244089
13 changes: 6 additions & 7 deletions devel/py-rope/files/patch-setup.py
@@ -1,14 +1,13 @@
--- setup.py.orig 2015-08-06 05:38:27 UTC
+++ setup.py
@@ -42,7 +42,10 @@ classifiers = [
--- setup.py.orig 2017-12-16 21:08:32.634424000 -0300
+++ setup.py 2017-12-16 21:10:59.767507000 -0300
@@ -57,7 +57,10 @@
def get_long_description():
- lines = open('README.rst').read().splitlines(False)
- lines = open('README.rst', 'rb').read().splitlines(False)
+ if sys.version_info[0] > 2:
+ lines = open('README.rst', encoding='utf-8').read().splitlines(False)
+ else:
+ lines = open('README.rst').read().splitlines(False)
end = lines.index('Getting Started')
return '\n' + '\n'.join(lines[:end]) + '\n'

end = lines.index(b'Getting Started')
return '\n' + str(b'\n'.join(lines[:end])) + '\n'

0 comments on commit 2ae2181

Please sign in to comment.