aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-icalendar/Makefile
blob: 3926b1313629173b641b2e296108e97abe646027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$

PORTNAME=   icalendar
PORTVERSION=    3.9.1
CATEGORIES= devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= jun-g@daemonfreaks.com
COMMENT=    Parser and generator of iCalender files for Python

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.rst

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil \
        ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz

USES=       python
USE_PYTHON= distutils concurrent autoplist
NO_ARCH=    yes

PORTDOCS=   *

OPTIONS_DEFINE= DOCS

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>