Date: Thu, 28 Aug 2014 09:32:23 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366387 - in head/devel/py-dateutil: . files Message-ID: <201408280932.s7S9WNh0038788@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Thu Aug 28 09:32:22 2014 New Revision: 366387 URL: http://svnweb.freebsd.org/changeset/ports/366387 QAT: https://qat.redports.org/buildarchive/r366387/ Log: devel/py-dateutil: Update to 2.2, Modernise - Update to 2.2 - Add LICENSE_FILE - Update COMMENT (Via setup.py) - Fix RUN_DEPENDS assignment - Modernise Python framework entries - Canonicalise regression-test - Patch setup.py to support `test` command - Remove unecessary patch to dateutil/__init__.py (unicode -> plain) Changes: 2.2 * Updated zoneinfo to 2013h * fuzzy_with_tokens parse addon * Bug with LANG=C fixed QA: Ran 492 tests in 0.688s - OK (Python 2.7 / 3.4) Added: head/devel/py-dateutil/files/patch-setup.py (contents, props changed) Deleted: head/devel/py-dateutil/files/patch-dateutil____init__.py Modified: head/devel/py-dateutil/Makefile head/devel/py-dateutil/distinfo Modified: head/devel/py-dateutil/Makefile ============================================================================== --- head/devel/py-dateutil/Makefile Thu Aug 28 09:14:12 2014 (r366386) +++ head/devel/py-dateutil/Makefile Thu Aug 28 09:32:22 2014 (r366387) @@ -2,24 +2,23 @@ # $FreeBSD$ PORTNAME= dateutil -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-dateutil-${PORTVERSION} MAINTAINER= koobs@FreeBSD.org -COMMENT= Provides powerful extensions to the standard datetime module +COMMENT= Extensions to the standard Python datetime module LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six -RUN_DEPENDS+= ${BUILD_DEPENDS} +RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= autoplist distutils # Fix incorrect permissions post-patch: @@ -27,6 +26,6 @@ post-patch: @${REINPLACE_CMD} -e 's|import winreg|from six.moves import winreg|' ${WRKSRC}/dateutil/tzwin.py regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} test.py + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> Modified: head/devel/py-dateutil/distinfo ============================================================================== --- head/devel/py-dateutil/distinfo Thu Aug 28 09:14:12 2014 (r366386) +++ head/devel/py-dateutil/distinfo Thu Aug 28 09:32:22 2014 (r366387) @@ -1,2 +1,2 @@ -SHA256 (python-dateutil-2.1.tar.gz) = 4c44ec3f9ff057b8c7b4c78beca5fdd8710600ea9a1df42f31bfcbae2f059dee -SIZE (python-dateutil-2.1.tar.gz) = 152334 +SHA256 (python-dateutil-2.2.tar.gz) = eec865307ebe7f329a6a9945c15453265a449cdaaf3710340828a1934d53e468 +SIZE (python-dateutil-2.2.tar.gz) = 259085 Added: head/devel/py-dateutil/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-dateutil/files/patch-setup.py Thu Aug 28 09:32:22 2014 (r366387) @@ -0,0 +1,10 @@ +--- ./setup.py.orig 2014-08-28 18:39:38.459159039 +1000 ++++ ./setup.py 2014-08-28 18:39:48.929863352 +1000 +@@ -47,5 +47,6 @@ + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Topic :: Software Development :: Libraries', +- ] ++ ], ++ test_suite='test', + )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408280932.s7S9WNh0038788>