kmos c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00

35 lines
847 B
Makefile

# $OpenBSD: Makefile,v 1.2 2019/05/15 12:04:43 kmos Exp $
COMMENT = CLI for interacting with Mastodon/fediverse instances
MODPY_EGG_VERSION = 0.3.6
DISTNAME = tootstream-${MODPY_EGG_VERSION}
PKGNAME = tootstream-${MODPY_EGG_VERSION}
CATEGORIES = www
HOMEPAGE = https://www.github.com/magicalraccoon/tootstream
MAINTAINER = Kurt Mosiejczuk <kurt@cranky.work>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PYTEST = Yes
RUN_DEPENDS = www/py-mastodon.py${MODPY_FLAVOR}=1.3.1 \
devel/py-click${MODPY_FLAVOR} \
devel/py-dateutil${MODPY_FLAVOR} \
textproc/py-colored${MODPY_FLAVOR} \
textproc/py-emoji${MODPY_FLAVOR} \
textproc/py-humanize${MODPY_FLAVOR}
# Doesn't seem to have tests
NO_TEST = Yes
.include <bsd.port.mk>