# $OpenBSD$

COMMENT =		home automation platform

MODPY_EGG_VERSION =	0.60.1
DISTNAME =		homeassistant-${MODPY_EGG_VERSION}

CATEGORIES =		productivity

HOMEPAGE =		http://home-assistant.io/

MAINTAINER =		Joerg Jung <jung@openbsd.org>

# Apache License 2.0
PERMIT_PACKAGE_CDROM =	Yes

MODULES =		lang/python

MODPY_PI =		Yes
MODPY_SETUPTOOLS =	Yes
MODPY_VERSION =         ${MODPY_DEFAULT_VERSION_3}

RUN_DEPENDS =		astro/py-astral${MODPY_FLAVOR} \
			databases/py-sqlalchemy${MODPY_FLAVOR} \
			devel/py-async-timeout \
			devel/py-certifi${MODPY_FLAVOR} \
			devel/py-pip${MODPY_FLAVOR} \
			devel/py-tz${MODPY_FLAVOR} \
			devel/py-voluptuous${MODPY_FLAVOR} \
			net/py-netdisco${MODPY_FLAVOR} \
			sysutils/py-distro${MODPY_FLAVOR} \
			textproc/py-chardet${MODPY_FLAVOR} \
			textproc/py-xmltodict${MODPY_FLAVOR} \
			textproc/py-yaml${MODPY_FLAVOR} \
			www/home-assistant-frontend \
			www/py-aiohttp \
			www/py-aiohttp-cors \
			www/py-jinja2${MODPY_FLAVOR} \
			www/py-requests${MODPY_FLAVOR} \
			www/py-user-agents${MODPY_FLAVOR} \
			www/py-yarl

# requires several new ports like py-test-aiohttp and py-test-sugar
NO_TEST =		Yes

.include <bsd.port.mk>
