Hi, This diff updates py-dateutil to the latest release. Add python3 flavor. Tested on amd64.
Comments ? OK ? -- Alexandr Shadchin Index: Makefile =================================================================== RCS file: /cvs/ports/devel/py-dateutil/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 17 Mar 2013 20:42:29 -0000 1.18 +++ Makefile 23 Dec 2014 16:16:15 -0000 @@ -2,25 +2,25 @@ COMMENT = Python API for advanced date calculations -MODPY_EGG_VERSION = 1.5 +MODPY_EGG_VERSION = 2.3 DISTNAME = python-dateutil-${MODPY_EGG_VERSION} PKGNAME = ${DISTNAME:S/^python-/py-/} CATEGORIES = devel -REVISION = 0 -HOMEPAGE = http://labix.org/python-dateutil +HOMEPAGE = https://dateutil.readthedocs.org/ MAINTAINER = frantisek holop <min...@obiit.org> # BSD PERMIT_PACKAGE_CDROM = Yes -MASTER_SITES = http://labix.org/download/python-dateutil/ +MASTER_SITES = ${MASTER_SITE_PYPI:=p/python-dateutil/} MODULES = lang/python MODPY_SETUPTOOLS = Yes +RUN_DEPENDS += devel/py-six${MODPY_FLAVOR} +TEST_DEPENDS += ${RUN_DEPENDS} -do-test: fake - @cd ${WRKSRC} && ${MAKE_ENV} \ - PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py +FLAVORS = python3 +FLAVOR ?= .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/devel/py-dateutil/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 17 Mar 2013 11:37:51 -0000 1.7 +++ distinfo 23 Dec 2014 16:16:15 -0000 @@ -1,2 +1,2 @@ -SHA256 (python-dateutil-1.5.tar.gz) = wIrKfYX4+O7WHoOzQjuCkmLFlqmnj3yj3gvO4iF9Djs= -SIZE (python-dateutil-1.5.tar.gz) = 232384 +SHA256 (python-dateutil-2.3.tar.gz) = LbZ9iDLxkzKQi0uWRIZc7TQIeRlwIUCGIJPjR+lXMOQ= +SIZE (python-dateutil-2.3.tar.gz) = 191907 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/py-dateutil/pkg/PLIST,v retrieving revision 1.7 diff -u -p -r1.7 PLIST --- pkg/PLIST 17 Mar 2013 20:42:31 -0000 1.7 +++ pkg/PLIST 23 Dec 2014 16:16:15 -0000 @@ -1,26 +1,29 @@ @comment $OpenBSD: PLIST,v 1.7 2013/03/17 20:42:31 benoit Exp $ lib/python${MODPY_VERSION}/site-packages/dateutil/ lib/python${MODPY_VERSION}/site-packages/dateutil/__init__.py -lib/python${MODPY_VERSION}/site-packages/dateutil/__init__.pyc +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}easter.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}relativedelta.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}rrule.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}tz.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}tzwin.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/dateutil/easter.py -lib/python${MODPY_VERSION}/site-packages/dateutil/easter.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/parser.py -lib/python${MODPY_VERSION}/site-packages/dateutil/parser.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/relativedelta.py -lib/python${MODPY_VERSION}/site-packages/dateutil/relativedelta.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/rrule.py -lib/python${MODPY_VERSION}/site-packages/dateutil/rrule.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/tz.py -lib/python${MODPY_VERSION}/site-packages/dateutil/tz.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/tzwin.py -lib/python${MODPY_VERSION}/site-packages/dateutil/tzwin.pyc lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/ lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/__init__.py -lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/__init__.pyc -lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/zoneinfo-2010g.tar.gz +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt -lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe +lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/python_dateutil-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe