Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2013 02:48:45 +0200 (CEST)
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177679: [PATCH] Upgrade port devel/py-icalendar to 3.3
Message-ID:  <201304070048.r370mjvI038043@oshi.local>
Resent-Message-ID: <201304070050.r370o0Tt029536@freefall.freebsd.org>

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

>Number:         177679
>Category:       ports
>Synopsis:       [PATCH] Upgrade port devel/py-icalendar to 3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 00:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Rehbein
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD oshi.local 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0: Fri Apr 5 20:37:24 CEST 2013 root@oshi.local:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	The attached patch updates this port to the latest version 3.3.
	While here I fixed all portlint warnings. The upstream
	maintainer has changed.
	
>How-To-Repeat:
	
>Fix:

	

--- devel_py-icalendar_3.3.diff begins here ---
diff -ruN devel/py-icalendar.orig/Makefile devel/py-icalendar/Makefile
--- devel/py-icalendar.orig/Makefile	2013-04-07 01:42:56.470772047 +0200
+++ devel/py-icalendar/Makefile	2013-04-07 02:35:25.990770462 +0200
@@ -1,12 +1,7 @@
-# Ports collection makefile for:	py-icalendar
-# Date created:			May 17, 2005
-# Whom:				Kevin Lo <kevlo@FreeBSD.org>
-#
-# $FreeBSD: ports/devel/py-icalendar/Makefile,v 1.12 2012/11/17 05:56:47 svnexp Exp $
-#
+# $FreeBSD$
 
 PORTNAME=	icalendar
-PORTVERSION=	2.2
+PORTVERSION=	3.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,13 +9,18 @@
 MAINTAINER=	jun-g@daemonfreaks.com
 COMMENT=	Parser and generator of iCalender files for Python
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=easy_install
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/docs/changelog.rst ${DOCSDIR}/
 .endif
diff -ruN devel/py-icalendar.orig/distinfo devel/py-icalendar/distinfo
--- devel/py-icalendar.orig/distinfo	2013-04-07 01:42:56.470772047 +0200
+++ devel/py-icalendar/distinfo	2013-04-07 01:50:55.313768618 +0200
@@ -1,2 +1,2 @@
-SHA256 (icalendar-2.2.tar.gz) = ba3e4579dce0051f90b447c3170f830fb60d318279a7680662686f4fb0f292b9
-SIZE (icalendar-2.2.tar.gz) = 34739
+SHA256 (icalendar-3.3.tar.gz) = 68ac21ff1ac30a4a66f05817fb4ac3bc2af3c15e3eae68d5d5164963a17ee5bd
+SIZE (icalendar-3.3.tar.gz) = 60268
diff -ruN devel/py-icalendar.orig/pkg-descr devel/py-icalendar/pkg-descr
--- devel/py-icalendar.orig/pkg-descr	2013-04-07 01:42:56.469770933 +0200
+++ devel/py-icalendar/pkg-descr	2013-04-07 02:12:49.805772204 +0200
@@ -1,4 +1,4 @@
 The iCalender package is a parser/generator of iCalender files for use 
 with Python. It follows the RFC 2445 spec.
 
-WWW:	http://codespeak.net/icalendar/
+WWW: http://icalendar.readthedocs.org/
diff -ruN devel/py-icalendar.orig/pkg-plist devel/py-icalendar/pkg-plist
--- devel/py-icalendar.orig/pkg-plist	2013-04-07 01:42:56.470772047 +0200
+++ devel/py-icalendar/pkg-plist	2013-04-07 02:06:46.801771634 +0200
@@ -1,9 +1,9 @@
 %%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%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/__init__.pyo
@@ -25,24 +25,47 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/case_meetup.ics
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/encoding.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/example.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/groupscheduled.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/groupscheduled.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/issues.rst
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/multiple.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/multiple.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/recurrence.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/recurrence.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/small.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/small.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_cases.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_cases.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_cases.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_doctests.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_doctests.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_doctests.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_encoding.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_encoding.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_encoding.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_icalendar.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_icalendar.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_icalendar.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_prop.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_prop.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_prop.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_property_params.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_property_params.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_property_params.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_time.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_time.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_time.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_timezoned.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_timezoned.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/test_timezoned.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/time.ics
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tests/timezoned.ics
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tools.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tools.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/tools.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/util.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/util.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/icalendar/util.pyo
 %%PORTDOCS%%%%DOCSDIR%%/README.rst
 %%PORTDOCS%%%%DOCSDIR%%/changelog.rst
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
--- devel_py-icalendar_3.3.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?201304070048.r370mjvI038043>