2022-12-08 09:57:08 +00:00

30 lines
781 B
Makefile

COMMENT = CLI and TUI tool to interacting with Mastodon instances
MODPY_EGG_VERSION = 0.31.0
DISTNAME = toot-${MODPY_EGG_VERSION}
CATEGORIES = net
HOMEPAGE = https://github.com/ihabunek/toot
MASTER_SITES = https://github.com/ihabunek/toot/releases/download/${MODPY_EGG_VERSION}/
# GPLv3
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PYBUILD = setuptools
# skip test which requires a local test instance of mastodon,
# plus databases/py-psycopg2
MODPY_PYTEST_ARGS = --ignore tests/test_integration.py
RUN_DEPENDS = devel/py-wcwidth${MODPY_FLAVOR} \
www/py-beautifulsoup4${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR} \
devel/py-urwid${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-test-cov${MODPY_FLAVOR}
MAKE_ENV = LC_CTYPE=C.UTF-8
.include <bsd.port.mk>