blob: 10e2aba34061cd6ffcad2e5e0169d2d6e1bc1c09 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.13 2016/10/07 08:20:43 wiz Exp $
DISTNAME= khal-0.8.4
CATEGORIES= time net
MASTER_SITES= ${MASTER_SITE_PYPI:=k/khal/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/geier/khal
COMMENT= CLI calendar application built around CalDAV
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-click>=3.2:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj
DEPENDS+= ${PYPKGPREFIX}-icalendar>=3.9.2:../../time/py-icalendar
DEPENDS+= ${PYPKGPREFIX}-pkginfo-[0-9]*:../../devel/py-pkginfo
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
DEPENDS+= ${PYPKGPREFIX}-urwid>=1.1.0:../../devel/py-urwid
DEPENDS+= ${PYPKGPREFIX}-vdirsyncer>=0.5.2:../../time/py-vdirsyncer
DEPENDS+= ${PYPKGPREFIX}-xdg>=0.17:../../devel/py-xdg
# not needed, but recommended, so let's just depend on it
DEPENDS+= ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle
# TEST_DEPENDS
BUILD_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONS_INCOMPATIBLE= 27 # not supported as of 0.8.0
PYTHON_VERSIONED_DEPENDENCIES= dateutil
INSTALLATION_DIRS= share/doc/khal
REPLACE_PYTHON+= khal/*/*.py
REPLACE_PYTHON+= khal/*.py
post-install:
${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX} tests
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
|