update to python-dateutil-1.1; patch from Will Maier

This commit is contained in:
djm 2007-03-19 02:06:38 +00:00
parent 471aef2a02
commit cf5b88aa97
4 changed files with 22 additions and 25 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.6 2006/06/03 09:37:09 alek Exp $
# $OpenBSD: Makefile,v 1.7 2007/03/19 02:06:38 djm Exp $
COMMENT= "Python API for advanced date calculations"
VERSION= 1.0
ZINFO= 2005k
VERSION= 1.1
ZINFO= 2005q
DISTNAME= python-dateutil-${VERSION}
PKGNAME= ${DISTNAME:S/^python-/py-/}p0
PKGNAME= ${DISTNAME:S/^python-/py-/}
CATEGORIES= devel
HOMEPAGE= https://moin.conectiva.com.br/DateUtil
HOMEPAGE= http://labix.org/python-dateutil
MAINTAINER= Damien Miller <djm@openbsd.org>
@ -20,11 +20,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# File is mirrored from original site (below) because it is hosted on an
# SSL server with a busted certificate
# https://moin.conectiva.com.br/DateUtil?action=AttachFile&do=get&target=python-dateutil-${VERSION}
MASTER_SITES= http://www2.mindrot.org/files/
MASTER_SITES= http://labix.org/download/python-dateutil/
EXTRACT_SUFX= .tar.bz2
post-install:

View File

@ -1,4 +1,5 @@
MD5 (python-dateutil-1.0.tar.bz2) = 764659b7b763fa551a5fbcec96d86d6d
RMD160 (python-dateutil-1.0.tar.bz2) = 738bfd91c181b93e20314a2543dd7d1f67ec4e93
SHA1 (python-dateutil-1.0.tar.bz2) = ef666dd4b025b2ddc3e6762135130e9e992a992e
SIZE (python-dateutil-1.0.tar.bz2) = 142777
MD5 (python-dateutil-1.1.tar.bz2) = f259496f4059dda806837503ee4235f3
RMD160 (python-dateutil-1.1.tar.bz2) = 635b58d0095b5db83c4c08929c8de8139ef2aa38
SHA1 (python-dateutil-1.1.tar.bz2) = ba700b8b77054a4e26f49a4d8a04da720f56f576
SHA256 (python-dateutil-1.1.tar.bz2) = bd1432b1f41164dfb2d35e38457892026757b33ccf868a11f4292c9dfce86e83
SIZE (python-dateutil-1.1.tar.bz2) = 130243

View File

@ -1,13 +1,13 @@
$OpenBSD: patch-setup_py,v 1.1 2005/05/17 01:53:44 djm Exp $
--- setup.py.orig Tue May 17 11:36:31 2005
+++ setup.py Tue May 17 11:39:13 2005
@@ -22,6 +22,7 @@ The dateutil module provides powerful ex
$OpenBSD: patch-setup_py,v 1.2 2007/03/19 02:06:38 djm Exp $
--- setup.py.orig Thu Dec 22 11:56:47 2005
+++ setup.py Tue Mar 13 13:59:59 2007
@@ -25,6 +25,7 @@ The dateutil module provides powerful ex
datetime module, available in Python 2.3+.
""",
packages = ["dateutil", "dateutil.zoneinfo"],
- data_files = [(PYTHONLIB+"/dateutil/zoneinfo",
- glob.glob("dateutil/zoneinfo/zoneinfo*.tar.*"))],
+# Install this manually
+# data_files = [(PYTHONLIB+"/dateutil/zoneinfo",
+# glob.glob("dateutil/zoneinfo/zoneinfo*.tar.*"))],
- data_files = [(join(PYTHONLIB, ZONEINFO),
- glob.glob(join(ZONEINFO, "zoneinfo*.tar.*")))],
+ # Installed manually
+ # data_files = [(join(PYTHONLIB, ZONEINFO),
+ # glob.glob(join(ZONEINFO, "zoneinfo*.tar.*")))],
)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2005/09/19 10:40:13 djm Exp $
@comment $OpenBSD: PLIST,v 1.5 2007/03/19 02:06:38 djm 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
@ -17,4 +17,4 @@ 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-2005k.tar.gz
lib/python${MODPY_VERSION}/site-packages/dateutil/zoneinfo/zoneinfo-2005q.tar.gz