pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-dateutil Update to 1.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2c7ad0b85b1
branches:  trunk
changeset: 557679:e2c7ad0b85b1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 20 09:45:19 2009 +0000

description:
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:

 time/py-dateutil/Makefile |  9 ++++-----
 time/py-dateutil/PLIST    |  9 +++++++--
 time/py-dateutil/distinfo |  8 ++++----
 3 files changed, 15 insertions(+), 11 deletions(-)

diffs (59 lines):

diff -r 57ff316cb0f7 -r e2c7ad0b85b1 time/py-dateutil/Makefile
--- a/time/py-dateutil/Makefile Mon Apr 20 09:37:10 2009 +0000
+++ b/time/py-dateutil/Makefile Mon Apr 20 09:45:19 2009 +0000
@@ -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 @@
 
 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 -r 57ff316cb0f7 -r e2c7ad0b85b1 time/py-dateutil/PLIST
--- a/time/py-dateutil/PLIST    Mon Apr 20 09:37:10 2009 +0000
+++ b/time/py-dateutil/PLIST    Mon Apr 20 09:45:19 2009 +0000
@@ -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/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 -r 57ff316cb0f7 -r e2c7ad0b85b1 time/py-dateutil/distinfo
--- a/time/py-dateutil/distinfo Mon Apr 20 09:37:10 2009 +0000
+++ b/time/py-dateutil/distinfo Mon Apr 20 09:45:19 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index