svn commit: r310916 - in head/devel/py-dateutil: . files
Ruslan Mahmatkhanov
rm at FreeBSD.org
Thu Jan 24 07:42:33 UTC 2013
Author: rm
Date: Thu Jan 24 07:42:32 2013
New Revision: 310916
URL: http://svnweb.freebsd.org/changeset/ports/310916
Log:
- update to 2.1
- trim Makefile header
- change MASTER_SITES to CHEESESHOP
- add license (BSD)
- add dependency on py-six (this port now works both with python2 and python3
from the same codebase via py-six)
- adjust possible python versions accordingly
- add tests
- clean-up pkg-descr
PR: 174672 (based on)
Submitted by: Alexey V. Degtyarev <alexey at renatasystems.org>
Approved by: nivit (maintainer, by mail)
Added:
head/devel/py-dateutil/files/
head/devel/py-dateutil/files/patch-dateutil____init__.py (contents, props changed)
Modified:
head/devel/py-dateutil/Makefile (contents, props changed)
head/devel/py-dateutil/distinfo (contents, props changed)
head/devel/py-dateutil/pkg-descr (contents, props changed)
head/devel/py-dateutil/pkg-plist (contents, props changed)
Modified: head/devel/py-dateutil/Makefile
==============================================================================
--- head/devel/py-dateutil/Makefile Thu Jan 24 06:54:35 2013 (r310915)
+++ head/devel/py-dateutil/Makefile Thu Jan 24 07:42:32 2013 (r310916)
@@ -1,22 +1,26 @@
-# New ports collection makefile for: py-datetime
-# Date created: Sun May 8 06:34:45 UTC 2005
-# Whom: Mario Sergio Fujikawa Ferreira <lioux at FreeBSD.org>
-#
+# Created by: Mario Sergio Fujikawa Ferreira <lioux at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dateutil
-PORTVERSION= 1.5
+PORTVERSION= 2.1
CATEGORIES= devel python
-MASTER_SITES= http://labix.org/download/python-dateutil/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-dateutil-${PORTVERSION}
MAINTAINER= nivit at FreeBSD.org
COMMENT= Provides powerful extensions to the standard datetime module
-USE_PYTHON= yes
+LICENSE= BSD
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= python-dateutil
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} test.py
+
.include <bsd.port.mk>
Modified: head/devel/py-dateutil/distinfo
==============================================================================
--- head/devel/py-dateutil/distinfo Thu Jan 24 06:54:35 2013 (r310915)
+++ head/devel/py-dateutil/distinfo Thu Jan 24 07:42:32 2013 (r310916)
@@ -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
Added: head/devel/py-dateutil/files/patch-dateutil____init__.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-dateutil/files/patch-dateutil____init__.py Thu Jan 24 07:42:32 2013 (r310916)
@@ -0,0 +1,10 @@
+--- ./dateutil/__init__.py.orig 2012-03-28 18:25:44.000000000 +0400
++++ ./dateutil/__init__.py 2013-01-23 14:12:35.000000000 +0400
+@@ -5,6 +5,6 @@
+ This module offers extensions to the standard Python
+ datetime module.
+ """
+-__author__ = "Tomi Pieviläinen <tomi.pievilainen at iki.fi>"
++__author__ = "Tomi Pievilainen <tomi.pievilainen at iki.fi>"
+ __license__ = "Simplified BSD"
+ __version__ = "2.1"
Modified: head/devel/py-dateutil/pkg-descr
==============================================================================
--- head/devel/py-dateutil/pkg-descr Thu Jan 24 06:54:35 2013 (r310915)
+++ head/devel/py-dateutil/pkg-descr Thu Jan 24 07:42:32 2013 (r310916)
@@ -1,7 +1,4 @@
-[ excerpt from developer's www site ]
-
The dateutil module provides powerful extensions to the standard
datetime module.
-Author: GustavoNiemeyer <gustavo at niemeyer.net>
WWW: http://labix.org/python-dateutil
Modified: head/devel/py-dateutil/pkg-plist
==============================================================================
--- head/devel/py-dateutil/pkg-plist Thu Jan 24 06:54:35 2013 (r310915)
+++ head/devel/py-dateutil/pkg-plist Thu Jan 24 07:42:32 2013 (r310916)
@@ -1,8 +1,8 @@
- at comment $FreeBSD$
%%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
More information about the svn-ports-all
mailing list