1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

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]
This commit is contained in:
Kubilay Kocak 2015-12-14 11:38:57 +00:00
parent b1e7714310
commit 5eb6881735
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403717
4 changed files with 18 additions and 6 deletions

View File

@ -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}dateutil>0:${PORTSDIR}/devel/py-dateutil \
${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>

View File

@ -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

View File

@ -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',
)

View File

@ -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