svn commit: r403717 - in head/devel/py-icalendar: . files

Kubilay Kocak koobs at FreeBSD.org
Mon Dec 14 11:38:59 UTC 2015


Author: koobs
Date: Mon Dec 14 11:38:57 2015
New Revision: 403717
URL: https://svnweb.freebsd.org/changeset/ports/403717

Log:
  devel/py-icalendar: Update to 3.9.1
  
   * Update PORTVERSION and distinfo checksum (3.9.1) [1]
  
  While I'm here:
  
   * Add USE_PYTHON=concurrent support, deprecate DOCSDIR accordingly
   * Add test target and patch setup.py to support test command
   * Update pkg-descr WWW URL to match setup.py:url= field
  
  Changes:
  
    https://github.com/collective/icalendar/blob/3.9.1/CHANGES.rst
  
  PR:		204935
  Submitted by:	maintainer <jun-g daemonfreaks com> [1]

Added:
  head/devel/py-icalendar/files/
  head/devel/py-icalendar/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-icalendar/Makefile
  head/devel/py-icalendar/distinfo
  head/devel/py-icalendar/pkg-descr

Modified: head/devel/py-icalendar/Makefile
==============================================================================
--- head/devel/py-icalendar/Makefile	Mon Dec 14 11:35:58 2015	(r403716)
+++ head/devel/py-icalendar/Makefile	Mon Dec 14 11:38:57 2015	(r403717)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	icalendar
-PORTVERSION=	3.8.2
+PORTVERSION=	3.9.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +17,9 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}date
 		${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils concurrent autoplist
 NO_ARCH=	yes
 
-DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
@@ -29,4 +28,7 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}/
 
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
 .include <bsd.port.mk>

Modified: head/devel/py-icalendar/distinfo
==============================================================================
--- head/devel/py-icalendar/distinfo	Mon Dec 14 11:35:58 2015	(r403716)
+++ head/devel/py-icalendar/distinfo	Mon Dec 14 11:38:57 2015	(r403717)
@@ -1,2 +1,2 @@
-SHA256 (icalendar-3.8.2.tar.gz) = 4252daaccabb4903c9d96397aa392ef58374c0f762b710e30de9c0a7cae3dcbb
-SIZE (icalendar-3.8.2.tar.gz) = 64546
+SHA256 (icalendar-3.9.1.tar.gz) = d8e05184f943713cbd56e7f1bb122b9befa3fd1e175eaef72abecb21db67193a
+SIZE (icalendar-3.9.1.tar.gz) = 63629

Added: head/devel/py-icalendar/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-icalendar/files/patch-setup.py	Mon Dec 14 11:38:57 2015	(r403717)
@@ -0,0 +1,10 @@
+--- setup.py.orig	2015-12-14 11:12:47 UTC
++++ setup.py
+@@ -54,5 +54,6 @@ setuptools.setup(
+     install_requires=install_requires,
+     extras_require={
+         'test': tests_require
+-    }
++    },
++    test_suite='icalendar.tests',
+ )

Modified: head/devel/py-icalendar/pkg-descr
==============================================================================
--- head/devel/py-icalendar/pkg-descr	Mon Dec 14 11:35:58 2015	(r403716)
+++ head/devel/py-icalendar/pkg-descr	Mon Dec 14 11:38:57 2015	(r403717)
@@ -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://icalendar.readthedocs.org/
+WWW: https://github.com/collective/icalendar


More information about the svn-ports-head mailing list