aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2020-01-21 21:12:30 +0000
committerPaul Healy <lmiphay@gmail.com>2020-01-21 21:12:30 +0000
commit10ff152b842ee892fe255bc6f788fe5fe9ba60f6 (patch)
treefa8534c39acc45c3fcaec16ef4c2d965df97f6a9
parentrevbump homeassistant (diff)
downloadlmiphay-10ff152b842ee892fe255bc6f788fe5fe9ba60f6.tar.gz
lmiphay-10ff152b842ee892fe255bc6f788fe5fe9ba60f6.tar.bz2
lmiphay-10ff152b842ee892fe255bc6f788fe5fe9ba60f6.zip
remove old ebuilds
Signed-off-by: Paul Healy <lmiphay@gmail.com>
-rw-r--r--app-misc/homeassistant-bin/Manifest10
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.101.2.ebuild143
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.101.3.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.102.0.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.102.1.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.102.3.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.103.0.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.103.2.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.103.3.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.103.4.ebuild145
-rw-r--r--app-misc/homeassistant-bin/homeassistant-bin-0.103.5.ebuild145
11 files changed, 0 insertions, 1458 deletions
diff --git a/app-misc/homeassistant-bin/Manifest b/app-misc/homeassistant-bin/Manifest
index dd85f17..3ef486a 100644
--- a/app-misc/homeassistant-bin/Manifest
+++ b/app-misc/homeassistant-bin/Manifest
@@ -4,16 +4,6 @@ AUX homeassistant.logrotate 280 BLAKE2B a1e5ecf35df38b4928415af19c72bb3012fa8ea8
AUX homeassistant.service 261 BLAKE2B 54819aa30aa5564aca693fa2dd70ad4a9831929a33f1042542e2555fa1ec2cb5cefd746b6abc308bc970f627803279dc3caf5fbf3de5c94b3fd73760e1343a38 SHA512 83f6ba1782f844c290f349ff50bdea8d8d88d41e2f39f3f7d5a015a0f463a4c8f7328acbd3838380cf6ca78090b39ebdbeb5e3f39607b5e307c0e53ff55ee697
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX update-homeassistant 1672 BLAKE2B b8a99eb0f13847e28acc5f52a2313973d791e5993f76490e534f73f188fd44895dfac5d751226bc769787d466a0d8bbdb3ec369dc8a0cedd7144fce779cd9de0 SHA512 26e0cfc66f2d48218db7fe6b3e9c0b92d765f6eb6c91bc39aedb56c6d6f419ce263c8d47637936622c8afcdf0cb7c1864e249cd190a110ea996cb4eff5122a81
-EBUILD homeassistant-bin-0.101.2.ebuild 4201 BLAKE2B 2d6ac7149a576942d8328d516018dfbdd9ab07f7bb548977adaf86241f35079910324b59c02a7d65420605fac75b022f0c7ca39cfd3eff804321115beb166661 SHA512 2e627b859ae7ff091710e16ea363d0c34bc72e7dcb2b6b828c5083b472698d536f3b9915a11eebb4edc0385e6f1bdebd75c1124fd3451e58614e5b2564d3dd60
-EBUILD homeassistant-bin-0.101.3.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.102.0.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.102.1.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.102.3.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.103.0.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.103.2.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.103.3.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.103.4.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
-EBUILD homeassistant-bin-0.103.5.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
EBUILD homeassistant-bin-0.103.6.ebuild 4256 BLAKE2B 64da2e6c93079adbedbc07c7009603c5dd7f89efec0025dcbe6a4d996238d36173bde6096e95481425175c733a14a539d9a1578c3b3a206653ffcb09b12272da SHA512 16a09c7696fcdbdb5e90429c3721ae702fec6e6a89f45ac5841b9b9c9642e46d733a989864907396c6d6d8269e0afc02c7c4023303aaf9abf4b91a19cfa2acca
EBUILD homeassistant-bin-0.104.1.ebuild 4256 BLAKE2B d5b948fbac39f55786b8de55015545aae7eff3abc9d13a40dc4ecf600daba59c570dd1ca6d6af69b0d36859aa600b14abbaf834eddc2d05e2659b587fac145f9 SHA512 ded2a7a8f183674643832004a2779281dc67b494372ad76dea72b7097623e0890fcb34b84f9a384bfdd4c210e3d3803f8046e91ad8a09455e5603b585398e632
EBUILD homeassistant-bin-0.104.2.ebuild 4256 BLAKE2B d5b948fbac39f55786b8de55015545aae7eff3abc9d13a40dc4ecf600daba59c570dd1ca6d6af69b0d36859aa600b14abbaf834eddc2d05e2659b587fac145f9 SHA512 ded2a7a8f183674643832004a2779281dc67b494372ad76dea72b7097623e0890fcb34b84f9a384bfdd4c210e3d3803f8046e91ad8a09455e5603b585398e632
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.101.2.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.101.2.ebuild
deleted file mode 100644
index 181d160..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.101.2.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.101.3.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.101.3.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.101.3.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.102.0.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.102.0.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.102.0.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.102.1.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.102.1.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.102.1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.102.3.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.102.3.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.102.3.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.103.0.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.103.0.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.103.0.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.103.2.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.103.2.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.103.2.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.103.3.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.103.3.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.103.3.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.103.4.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.103.4.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.103.4.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}
diff --git a/app-misc/homeassistant-bin/homeassistant-bin-0.103.5.ebuild b/app-misc/homeassistant-bin/homeassistant-bin-0.103.5.ebuild
deleted file mode 100644
index ff802ca..0000000
--- a/app-misc/homeassistant-bin/homeassistant-bin-0.103.5.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit user readme.gentoo-r1 eutils distutils-r1 systemd
-
-MY_PN="${PN/-bin/}"
-
-DESCRIPTION="Home automation platform (Python 3 required)"
-HOMEPAGE="https://home-assistant.io"
-SRC_URI="" # pip installs HA version $PV from PyPI
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="maint mysql"
-
-PY_HA="3.6"
-
-DEPEND="
- ${PYTHON_DEPS}
- !app-misc/homeassistant
- dev-lang/python:${PY_HA}
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- mysql? ( dev-python/mysqlclient )
-"
-RDEPEND="
- ${DEPEND}
- app-admin/logrotate
- maint? (
- app-crypt/certbot
- app-crypt/ssl-cert-check
- net-misc/dropbox-uploader
- virtual/logger
- )
-"
-
-INSTALL_DIR="/opt/${MY_PN}"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
- The HA interface listens on port 8123 - this _will_ take a minute or two to appear
-
- hass configuration is in: /etc/${MY_PN}
- For openrc daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
-
- logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
- For HA logging configuration see: https://www.home-assistant.io/components/logger/
-
- The sqlite db is by default in: /etc/${MY_PN}
- To move it after ${MY_PN} has run once and while ${MY_PN} is stopped:
- - add /etc/${MY_PN}/recorder.yaml to /etc/${MY_PN}/configuration.yaml
- - mv /etc/${MY_PN}/home-assistant_v2.db /var/db/${MY_PN}
-
- support thread at:
- https://community.home-assistant.io/t/gentoo-homeassistant-0-59-2-ebuild/35577
-
- The script /usr/bin/update-homeassistant can be used to update homeassistant-bin (it keeps
- a backup of the previous virtualenv under /opt). The script is for openrc only at the moment.
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup "${MY_PN}"
- enewuser "${MY_PN}" -1 -1 "$INSTALL_DIR" "${MY_PN}"
-
- elog "This ebuild requires network access for 'pip install $MY_PN'"
- elog "If the install fails due to name lookup retrying out, then try"
- elog "disabling the portage network-sandbox ; e.g. in /etc/portage/make.conf:"
- elog ""
- elog "FEATURES=\"-network-sandbox\""
- elog ""
- elog "The update-homeassistant script temporally disables the network-sandbox (and can"
- elog "also be used to do an initial install of ${PN})."
-}
-
-src_compile() {
- true
-}
-
-src_install() {
- dobin "${FILESDIR}/update-homeassistant"
-
- keepdir "$INSTALL_DIR"
-
- keepdir "/etc/${MY_PN}"
- insinto "/etc/${MY_PN}"
- doins "${FILESDIR}/recorder.yaml"
- fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
-
- "python${PY_HA}" -m venv "${D}/$INSTALL_DIR"
- # for no output from pip add: --quiet
- # note the venv has a python3, but no python3.x
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "${MY_PN}==${PV}" || die
- sed -i "1c#!$INSTALL_DIR/bin/python3" "${D}/$INSTALL_DIR/bin/hass"
-
- # see: https://github.com/home-assistant/home-assistant/issues/28198#issuecomment-546300192
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "home-assistant-frontend" || die
-
- if use mysql ; then
- VIRTUAL_ENV="$INSTALL_DIR" "${D}/$INSTALL_DIR/bin/python3" -m pip --no-cache-dir install "mysqlclient" || die
- fi
-
- # this has to come after all of the package installs
- fowners -R "${MY_PN}:${MY_PN}" "$INSTALL_DIR"
-
- newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
- newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
-
- keepdir "/var/log/${MY_PN}/old"
- fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
-
- keepdir "/var/db/${MY_PN}"
- fowners -R "${MY_PN}:${MY_PN}" "/var/db/${MY_PN}"
-
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- elog "homeassistant requires python 3.5 (or later)"
- elog ""
- elog "This ebuild installs homeassistant into a virtualenv built for:"
- elog ""
- elog " python ${PY_HA} (the current python 3.x in gentoo PYTHON_TARGETS)"
- elog ""
- elog "If you have previously run homeassistant with an older version of "
- elog "python, then it is recommended that you do a clean install on moving to"
- elog "python ${PY_HA}."
-
- readme.gentoo_print_elog
-}
-
-pkg_config() {
- "${INSTALL_DIR}/bin/hass" --script ensure_config
-}