Date: Mon, 6 May 2013 16:57:14 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317532 - head/devel/py-dateutil Message-ID: <201305061657.r46GvEoF077251@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Mon May 6 16:57:13 2013 New Revision: 317532 URL: http://svnweb.freebsd.org/changeset/ports/317532 Log: Install zoneinfo--latest.tar.gz with good permissions Try to import the right module (_winreg not winreg) when using python2 PR: ports/178059 Approved by: maintainer timeout (2 weeks), eadler (mentor) Modified: head/devel/py-dateutil/Makefile Modified: head/devel/py-dateutil/Makefile ============================================================================== --- head/devel/py-dateutil/Makefile Mon May 6 16:29:48 2013 (r317531) +++ head/devel/py-dateutil/Makefile Mon May 6 16:57:13 2013 (r317532) @@ -3,7 +3,7 @@ PORTNAME= dateutil PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,7 +23,8 @@ PYDISTUTILS_PKGNAME= python-dateutil # Fix incorrect permissions post-patch: - @${FIND} ${WRKSRC}/python_dateutil.egg-info -type f -exec ${CHMOD} ${SHAREMODE} {} ";" + @${FIND} ${WRKSRC} -type f -exec ${CHMOD} ${SHAREMODE} {} ";" + @${REINPLACE_CMD} -e 's|import winreg|from six.moves import winreg|' ${WRKSRC}/dateutil/tzwin.py regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} test.py
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305061657.r46GvEoF077251>