Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 14:42:48 +0400 (MSK)
From:      "Alexey V. Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nivit@FreeBSD.org
Subject:   ports/174672: devel/py-dateutil: update to 2.1
Message-ID:  <201212241042.qBOAgmoN085952@home.renatasystems.org>
Resent-Message-ID: <201212241100.qBOB00fp064061@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174672
>Category:       ports
>Synopsis:       devel/py-dateutil: update to 2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 24 11:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD home.renatasystems.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Mon Jan 30 09:54:00 UTC 2012 root@amd64-builder.renatasystems.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
Dateutils 2.x series is out. While 2.0 were incompatible with Python 2.x, the latest 2.1 version of dateutil works on Python 2.6, 2.7 and 3.2 as well. 

Features in 2.1:

* Ported to Python 3; Compatibility with Python 2.x preserved (with six);

* Minor bug fixes;

* #704047: Ismael Carnales' patch for a new time format;

* New maintainer in project: Tomi Pieviläinen <tomi.pievilainen@iki.fi>;

This patch will update devel/py-dateutils to latest version.

Maintainer CC'ed.

>How-To-Repeat:
	
>Fix:

	

--- py-dateutil-2.1.diff begins here ---
diff -Nru devel/py-dateutil.orig/Makefile devel/py-dateutil/Makefile
--- devel/py-dateutil.orig/Makefile	2012-11-29 11:51:39.000000000 +0000
+++ devel/py-dateutil/Makefile	2012-12-24 09:32:16.000000000 +0000
@@ -1,20 +1,19 @@
-# New ports collection makefile for:	py-datetime
-# Date created:		Sun May  8 06:34:45 UTC 2005
-# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
+# Created: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
 # $FreeBSD: ports/devel/py-dateutil/Makefile,v 1.16 2012/11/17 05:56:45 svnexp Exp $
-#
 
 PORTNAME=	dateutil
-PORTVERSION=	1.5
+PORTVERSION=	2.1
 CATEGORIES=	devel python
-MASTER_SITES=	http://labix.org/download/python-dateutil/
+MASTER_SITES=	CHEESESHOP
+MASTER_SITE_SUBDIR=source/p/python-dateutil
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	python-dateutil-${PORTVERSION}
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Provides powerful extensions to the standard datetime module
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:${PORTSDIR}/devel/py-six
+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	python-dateutil
diff -Nru devel/py-dateutil.orig/distinfo devel/py-dateutil/distinfo
--- devel/py-dateutil.orig/distinfo	2011-07-03 14:58:37.000000000 +0000
+++ devel/py-dateutil/distinfo	2012-12-24 08:41:52.000000000 +0000
@@ -1,2 +1,2 @@
-SHA256 (python-dateutil-1.5.tar.gz) = c08aca7d85f8f8eed61e83b3423b829262c596a9a78f7ca3de0bcee2217d0e3b
-SIZE (python-dateutil-1.5.tar.gz) = 232384
+SHA256 (python-dateutil-2.1.tar.gz) = 4c44ec3f9ff057b8c7b4c78beca5fdd8710600ea9a1df42f31bfcbae2f059dee
+SIZE (python-dateutil-2.1.tar.gz) = 152334
diff -Nru devel/py-dateutil.orig/pkg-descr devel/py-dateutil/pkg-descr
--- devel/py-dateutil.orig/pkg-descr	2005-11-20 04:16:11.000000000 +0000
+++ devel/py-dateutil/pkg-descr	2012-12-24 09:32:05.000000000 +0000
@@ -4,4 +4,6 @@
 datetime module.
 
 Author: GustavoNiemeyer <gustavo@niemeyer.net>
+Author: Tomi Pievilainen <tomi.pievilainen@iki.fi>
+
 WWW: http://labix.org/python-dateutil
diff -Nru devel/py-dateutil.orig/pkg-plist devel/py-dateutil/pkg-plist
--- devel/py-dateutil.orig/pkg-plist	2012-11-29 11:51:39.000000000 +0000
+++ devel/py-dateutil/pkg-plist	2012-12-24 08:47:15.000000000 +0000
@@ -1,8 +1,8 @@
-@comment $FreeBSD: ports/devel/py-dateutil/pkg-plist,v 1.14 2012/11/17 05:56:45 svnexp Exp $
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/__init__.pyc
@@ -28,7 +28,7 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo/__init__.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo/zoneinfo-2010g.tar.gz
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo/zoneinfo--latest.tar.gz
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil/zoneinfo
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dateutil
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
--- py-dateutil-2.1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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