homeassistant-0.84.4
This commit is contained in:
parent
6fc177ac0d
commit
895ba70a76
@ -24,6 +24,7 @@ DIST homeassistant-0.83.3.tar.gz 3173563 BLAKE2B bb83d7f75fb1552cb31c1bc31836f5a
|
||||
DIST homeassistant-0.84.1.tar.gz 3215786 BLAKE2B 3c7e902eed77df774b27dc6156f75cd9a4c1b3feda5c35ed6e243ae94136be09c2acf4289858d3277e33ee673f01de11b71bb1b9d59cb84dfa79154f154c45b9 SHA512 1e767d1cd6e03d3bc8a3654755cd5b8a39db3eeea052e14e0537995f1e2741a29e8c04c49304765e320ef7881cdc1dcc1ce73c50996d2d028e46c6b649a9988b
|
||||
DIST homeassistant-0.84.2.tar.gz 3216096 BLAKE2B 954a4a22bc9ca0dedfca8e7c3d1126c24af85e46bce621d97722e62396a4ee6c719016e103897f755e92b931cf39d509c61788301d9caff423a43fb07adc4933 SHA512 88fcf37c4bd8343e2f7dec061ebf2a6c53068b54e3404f4d99206f761020447ec25b6d6a9130a823ccba0fd2d257befcdd12134b50049bebc0da4ba31e9b5c9e
|
||||
DIST homeassistant-0.84.3.tar.gz 3216430 BLAKE2B 2c5e354ec7f90e4dd86eaf9af734dc21c329200421b92eaa224b8d788b6f55b9c8c28e8436e45a63994238b7b758494a3f356ecaf6d6b0cad4331854b97bae01 SHA512 a77e153c21d847eece4fcbcb4930f72c43e5db93a3ff8df1d49b9aed955cd0eeb7cea571bc292a0e589ac92bac258b5462a2f4ce078f0d45439f170a7f0f4cb7
|
||||
DIST homeassistant-0.84.4.tar.gz 3216573 BLAKE2B 9af07b472456fac785c528ae15552fd9011bd0b3e1167ba18efc56218f65f46b032be9a573f975729b1b8e19d7637be87d053c7e6a227535d8f365dbf0d61c32 SHA512 c00b2458ec7e94e68e1ccd755d82d07c020ca5791827c0d52adce3bcd59310425e0d4425be76015afc254974a4096723888f49c3777c84bcc73ef7b85cb03997
|
||||
EBUILD homeassistant-0.77.2.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
EBUILD homeassistant-0.77.3.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
EBUILD homeassistant-0.78.0.ebuild 2814 BLAKE2B 79f83a94173802e5026fab45e3d544fa15e896aeed85bcb0c52364411f4c6a83b5a922fe834569629d2b557e8ecf3df375b0142de0ac943938a584c71945ca46 SHA512 84491521b703ae12e2433914898e82f9318c34999dd6113c99ca9745e895c5dc2bc3dab4221cb3238f2ef23c34b93f2999ae1fe54afa89692d682bd89de29cee
|
||||
@ -43,3 +44,4 @@ EBUILD homeassistant-0.83.3.ebuild 5441 BLAKE2B 25cd5ee062fc903a4605400c808f9c8c
|
||||
EBUILD homeassistant-0.84.1.ebuild 5442 BLAKE2B 62e95bda77596978d5bdc0b52e86824f8b0d6f0fd49418e31c85ffa8e62d43c56d0d1033f416e90f892c61e2de16f4d89bc24e2f75f8e48536272a0070a2e496 SHA512 3fc207f4f980683371ef557ae1eac709653704589d5abcf68acfdffae2c39f51065be1639ffe04f6440c0b91c722cde70617cb2c8986a49398232f51e00e1d2d
|
||||
EBUILD homeassistant-0.84.2.ebuild 5442 BLAKE2B 62e95bda77596978d5bdc0b52e86824f8b0d6f0fd49418e31c85ffa8e62d43c56d0d1033f416e90f892c61e2de16f4d89bc24e2f75f8e48536272a0070a2e496 SHA512 3fc207f4f980683371ef557ae1eac709653704589d5abcf68acfdffae2c39f51065be1639ffe04f6440c0b91c722cde70617cb2c8986a49398232f51e00e1d2d
|
||||
EBUILD homeassistant-0.84.3.ebuild 5442 BLAKE2B 62e95bda77596978d5bdc0b52e86824f8b0d6f0fd49418e31c85ffa8e62d43c56d0d1033f416e90f892c61e2de16f4d89bc24e2f75f8e48536272a0070a2e496 SHA512 3fc207f4f980683371ef557ae1eac709653704589d5abcf68acfdffae2c39f51065be1639ffe04f6440c0b91c722cde70617cb2c8986a49398232f51e00e1d2d
|
||||
EBUILD homeassistant-0.84.4.ebuild 5442 BLAKE2B 62e95bda77596978d5bdc0b52e86824f8b0d6f0fd49418e31c85ffa8e62d43c56d0d1033f416e90f892c61e2de16f4d89bc24e2f75f8e48536272a0070a2e496 SHA512 3fc207f4f980683371ef557ae1eac709653704589d5abcf68acfdffae2c39f51065be1639ffe04f6440c0b91c722cde70617cb2c8986a49398232f51e00e1d2d
|
||||
|
162
app-misc/homeassistant/homeassistant-0.84.4.ebuild
Normal file
162
app-misc/homeassistant/homeassistant-0.84.4.ebuild
Normal file
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit user readme.gentoo-r1 eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Open-source home automation platform running on Python 3.6"
|
||||
HOMEPAGE="https://home-assistant.io"
|
||||
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="atv hs100 dropbox tradfri wemo mysql musiccast samsungtv sonos ssl"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
!app-misc/homeassistant-bin
|
||||
>=dev-python/aiohttp-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/astral-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bcrypt-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto3-1.9.57[${PYTHON_USEDEP}]
|
||||
>=dev-python/botocore-1.12.57[${PYTHON_USEDEP}]
|
||||
>=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorlog-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/envs-1.2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/gTTS-token-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/ifaddr-0.1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/jose-1.0.0[${PYTHON_USEDEP}]
|
||||
=dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
|
||||
=dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.15.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-9.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.04[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.7.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/netdisco-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.15.80[${PYTHON_USEDEP}]
|
||||
=dev-python/rxv-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/user-agents-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/voluptuous-serialize-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.40.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.2.6[${PYTHON_USEDEP}]
|
||||
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
|
||||
sonos? ( >=dev-python/pysonos-0.0.5[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyhs100-0.3.0[${PYTHON_USEDEP}] )
|
||||
tradfri? ( >=dev-python/pytradfri-4.1.0[${PYTHON_USEDEP}]
|
||||
sys-devel/autoconf )
|
||||
wemo? ( >=dev-python/pywemo-0.4.25[${PYTHON_USEDEP}] )
|
||||
>=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}]
|
||||
dev-db/sqlite
|
||||
dev-libs/libfastjson
|
||||
>=media-libs/mutagen-1.41.1
|
||||
ssl? ( dev-libs/openssl
|
||||
app-crypt/certbot
|
||||
net-proxy/haproxy )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-admin/logrotate
|
||||
dropbox? (
|
||||
net-misc/dropbox-uploader
|
||||
)
|
||||
"
|
||||
|
||||
INSTALL_DIR="/opt/${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}
|
||||
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
|
||||
|
||||
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
S="${WORKDIR}/home-assistant-${PV}"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's;astral==1.5;astral>=1.5;' \
|
||||
-i "setup.py" \
|
||||
-i homeassistant/package_constraints.txt
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc ${DOCS}
|
||||
distutils-r1_python_install_all
|
||||
|
||||
keepdir "$INSTALL_DIR"
|
||||
|
||||
keepdir "/etc/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/etc/${PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user