blob: fba8b627505fa34711e4cfbdc2fd0bafbb48c2fb (
plain)
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
|
# $NetBSD: Makefile,v 1.21 2017/01/03 13:23:04 jperkin Exp $
DISTNAME= vobject-0.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vobject/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= https://eventable.github.io/vobject/
COMMENT= Python iCalendar (ics) and vCard library
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} change_tz change_tz-${PYVERSSUFFIX} && \
${MV} ics_diff ics_diff-${PYVERSSUFFIX} || ${TRUE}
# tests.py is missing in 0.9.3 tarball
# https://github.com/eventable/vobject/issues/38
do-test:
cd ${WRKSRC} && ${PYTHONBIN} tests.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|