From 29cce63f5803c8d6fd5a0c4eea29262caeed8bb0 Mon Sep 17 00:00:00 2001 From: Greg Troxel Date: Mon, 26 Aug 2019 19:44:49 -0400 Subject: [PATCH] py-homeassistant: Create a user and homedir (for config) --- py-homeassistant/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/py-homeassistant/Makefile b/py-homeassistant/Makefile index 24d2c15a6f..3e86629e0e 100644 --- a/py-homeassistant/Makefile +++ b/py-homeassistant/Makefile @@ -2,6 +2,7 @@ DISTNAME= homeassistant-0.97.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_PYPI:=h/homeassistant/} @@ -37,6 +38,15 @@ DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.15.99:../../devel/py-ruamel-yaml DEPENDS+= ${PYPKGPREFIX}-voluptuous>=0.11.5:../../wip/py-voluptuous #DEPENDS+= ${PYPKGPREFIX}-voluptuous-serialize>=2.1.0:../../FOO/py-voluptuous-serialize +HASS_DIR= ${VARBASE}/hass + +PKG_GROUPS= hass +PKG_USERS= hass:hass +PKG_GECOS.hass= Home Assistant +PKG_HOME.hass= ${HASS_DIR} + +OWN_DIRS_PERMS= ${HASS_DIR} hass hass 0700 + .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"