Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 19:42:41 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408749 - in head/devel/py-rope: . files
Message-ID:  <201602121942.u1CJgfVq010916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Fri Feb 12 19:42:41 2016
New Revision: 408749
URL: https://svnweb.freebsd.org/changeset/ports/408749

Log:
  devel/py-rope: update to 0.10.3
  
  - update to 0.10.3
  
  while here:
  - fix build with python 3.x
  - add NO_ARCH, sort USE_PYTHON
  - fix whitespace in pkg-descr
  
  PR:		206869
  Submitted by:	jjachuf@gmail.com (maintainer)

Added:
  head/devel/py-rope/files/
  head/devel/py-rope/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-rope/Makefile
  head/devel/py-rope/distinfo
  head/devel/py-rope/pkg-descr

Modified: head/devel/py-rope/Makefile
==============================================================================
--- head/devel/py-rope/Makefile	Fri Feb 12 19:10:05 2016	(r408748)
+++ head/devel/py-rope/Makefile	Fri Feb 12 19:42:41 2016	(r408749)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	rope
-PORTVERSION=	0.10.2
+PORTVERSION=	0.10.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,8 @@ COMMENT=	Python refactoring library
 
 LICENSE=	GPLv2
 
+NO_ARCH=	yes
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/devel/py-rope/distinfo
==============================================================================
--- head/devel/py-rope/distinfo	Fri Feb 12 19:10:05 2016	(r408748)
+++ head/devel/py-rope/distinfo	Fri Feb 12 19:42:41 2016	(r408749)
@@ -1,2 +1,2 @@
-SHA256 (rope-0.10.2.tar.gz) = fffca108c0d6a711121ce11fed286f4ddc5791c7a6c3f079221a9303d1ddb465
-SIZE (rope-0.10.2.tar.gz) = 221523
+SHA256 (rope-0.10.3.tar.gz) = eb45bea0abcf31a1a12ff087b990060e64244b835582ebc7642e6f7ea1fd65a2
+SIZE (rope-0.10.3.tar.gz) = 226123

Added: head/devel/py-rope/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-rope/files/patch-setup.py	Fri Feb 12 19:42:41 2016	(r408749)
@@ -0,0 +1,14 @@
+--- setup.py.orig	2015-08-06 05:38:27 UTC
++++ setup.py
+@@ -42,7 +42,10 @@ classifiers = [
+ 
+ 
+ def get_long_description():
+-    lines = open('README.rst').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'
+ 

Modified: head/devel/py-rope/pkg-descr
==============================================================================
--- head/devel/py-rope/pkg-descr	Fri Feb 12 19:10:05 2016	(r408748)
+++ head/devel/py-rope/pkg-descr	Fri Feb 12 19:42:41 2016	(r408749)
@@ -1,3 +1,3 @@
 Rope is a python refactoring library.
 
-WWW: http://rope.sourceforge.net 
+WWW: http://rope.sourceforge.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602121942.u1CJgfVq010916>