summaryrefslogtreecommitdiff
path: root/time/py-dateutil
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-04-20 09:45:19 +0000
committerwiz <wiz@pkgsrc.org>2009-04-20 09:45:19 +0000
commit7afae886c2d9f79d6bae7d05827b8beeb64d0f48 (patch)
tree377a1377454c90915fc3d63ef6ca4498ecb4f30e /time/py-dateutil
parent4dca713310d1a5f280965e06fbec62cff4351a9a (diff)
downloadpkgsrc-7afae886c2d9f79d6bae7d05827b8beeb64d0f48.tar.gz
Update to 1.4:
Version 1.4 ----------- - Fixed another parser precision problem on conversion of decimal seconds to microseconds, as reported by Erik Brown. Now these issues are gone for real since it's not using floating point arithmetic anymore. - Fixed case where tzrange.utcoffset and tzrange.dst() might fail due to a date being used where a datetime was expected (reported and fixed by Lennart Regebro). - Prevent tzstr from introducing daylight timings in strings that didn't specify them (reported by Lennart Regebro). - Calls like gettz("GMT+3") and gettz("UTC-2") will now return the expected values, instead of the TZ variable behavior. - Fixed DST signal handling in zoneinfo files. Reported by Nicholas F. Fabry and John-Mark Gurney. Version 1.3 ----------- - Fixed precision problem on conversion of decimal seconds to microseconds, as reported by Skip Montanaro. - Fixed bug in constructor of parser, and converted parser classes to new-style classes. Original report and patch by Michael Elsd - Initialize tzid and comps in tz.py, to prevent the code from ever raising a NameError (even with broken files). Johan Dahlin suggested the fix after a pyflakes run. - Version is now published in dateutil.__version__, as requested by Darren Dale. - All code is compatible with new-style division.
Diffstat (limited to 'time/py-dateutil')
-rw-r--r--time/py-dateutil/Makefile9
-rw-r--r--time/py-dateutil/PLIST9
-rw-r--r--time/py-dateutil/distinfo8
3 files changed, 15 insertions, 11 deletions
diff --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile
index 82f2b4f7db1..321f36181a8 100644
--- a/time/py-dateutil/Makefile
+++ b/time/py-dateutil/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:53 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2009/04/20 09:45:19 wiz Exp $
#
-DISTNAME= python-dateutil-1.2
+DISTNAME= python-dateutil-1.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= time python
MASTER_SITES= http://labix.org/download/python-dateutil/
@@ -13,8 +13,7 @@ COMMENT= Extensions to the standard datetime module
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
-PY_PATCHPLIST= yes
+EGG_NAME= ${DISTNAME:S/-/_/}
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-dateutil/PLIST b/time/py-dateutil/PLIST
index 8f48e48c694..c9312b0ba9e 100644
--- a/time/py-dateutil/PLIST
+++ b/time/py-dateutil/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/02 18:05:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/04/20 09:45:19 wiz Exp $
${PYSITELIB}/dateutil/__init__.py
${PYSITELIB}/dateutil/__init__.pyc
${PYSITELIB}/dateutil/__init__.pyo
@@ -23,6 +23,11 @@ ${PYSITELIB}/dateutil/tzwin.pyo
${PYSITELIB}/dateutil/zoneinfo/__init__.py
${PYSITELIB}/dateutil/zoneinfo/__init__.pyc
${PYSITELIB}/dateutil/zoneinfo/__init__.pyo
-${PYSITELIB}/dateutil/zoneinfo/zoneinfo-2007f.tar.gz
+${PYSITELIB}/dateutil/zoneinfo/zoneinfo-2007k.tar.gz
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
@dirrm ${PYSITELIB}/dateutil/zoneinfo
@dirrm ${PYSITELIB}/dateutil
diff --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo
index f54095d7cb5..8f902419ec5 100644
--- a/time/py-dateutil/distinfo
+++ b/time/py-dateutil/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/07/02 18:05:24 wiz Exp $
+$NetBSD: distinfo,v 1.2 2009/04/20 09:45:19 wiz Exp $
-SHA1 (python-dateutil-1.2.tar.bz2) = 9884849261bc9dd64f7dd05a39e62385a30b5819
-RMD160 (python-dateutil-1.2.tar.bz2) = 31e62aceb2ce980b5cfb64841f7d125f817f618b
-Size (python-dateutil-1.2.tar.bz2) = 135624 bytes
+SHA1 (python-dateutil-1.4.tar.bz2) = bf388800de42cfe932d22f5359b7b8b9150c8f23
+RMD160 (python-dateutil-1.4.tar.bz2) = 6eaf21a8517068afcc53444253262073704d5982
+Size (python-dateutil-1.4.tar.bz2) = 224917 bytes