if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
42 lines
1020 B
Makefile
42 lines
1020 B
Makefile
# $OpenBSD: Makefile,v 1.15 2021/02/23 19:39:37 sthen Exp $
|
|
|
|
COMMENT = standards based terminal calendar
|
|
|
|
MODPY_EGG_VERSION = 0.10.2
|
|
DISTNAME = khal-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = productivity
|
|
|
|
HOMEPAGE = https://lostpackets.de/khal/
|
|
|
|
MAINTAINER = Joerg Jung <jung@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
|
|
BUILD_DEPENDS += devel/py-setuptools_scm${MODPY_FLAVOR}
|
|
|
|
RUN_DEPENDS = devel/py-atomicwrites${MODPY_FLAVOR} \
|
|
devel/py-click${MODPY_FLAVOR} \
|
|
devel/py-click-log${MODPY_FLAVOR} \
|
|
devel/py-configobj${MODPY_FLAVOR} \
|
|
devel/py-dateutil${MODPY_FLAVOR} \
|
|
devel/py-icalendar${MODPY_FLAVOR} \
|
|
devel/py-setproctitle${MODPY_FLAVOR} \
|
|
devel/py-tz${MODPY_FLAVOR} \
|
|
devel/py-tzlocal${MODPY_FLAVOR} \
|
|
devel/py-urwid${MODPY_FLAVOR} \
|
|
devel/py-xdg${MODPY_FLAVOR} \
|
|
productivity/vdirsyncer
|
|
TEST_DEPENDS = devel/py-freezegun${MODPY_FLAVOR} \
|
|
devel/py-test-cov${MODPY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|