Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bed729cdb |
@@ -11,10 +11,12 @@ DIST homeassistant-0.90.2.tar.gz 3596093 BLAKE2B cdfc3a06e78d8bbd0d9559147e752e5
|
||||
DIST homeassistant-0.91.0b3.tar.gz 3762030 BLAKE2B 31a0dfd1e7c3408f074f75a36bc4c16e801b513a5eaccde17c05e42a9a56223a79f7233b41cdeeb33e055de1e9d8aea19409f0841a0eadc9f54bd69f478fde03 SHA512 f00d7e63bfc7f444468262f2a329d629066232ea6283bedbf2ff6eae323c9acdc35a55ef98ff1cb54771540bb8bb6be66c9b59d1f65ec7840803420521f6b10c
|
||||
DIST homeassistant-0.91.1.tar.gz 3769532 BLAKE2B 7eafc143d9b023b0432e0bf12692d0f4c517ed841a8a0ad55c5d45ad035d12464bdc8a3db599ea3b281551484bf378fce25b5ae465ef15d9135df3ccb63e13a8 SHA512 40e14d63160074d623405d6ad9365f04e5aef34034f51008006ffe9af1cdf245478491c3cbe50e5d38b7bfbf3c9fc67b81cf586ae45928a22987bee5c941d6df
|
||||
DIST homeassistant-0.91.3.tar.gz 3771366 BLAKE2B 3eb40fac117e01e4e24918b66f5f3986a0781707110993cc24409756549b5eb574d026e0492520959f0d4adf20a7ab411271856dfda7a2b1c57a035ca1bc372d SHA512 0dc0156540c3cfdcde07f8317bdf9964fa9756f8fee16cf9ee707803e5423ff77d6023f65968b522debe5843a0c9bbee3ab2db508781c6134e0e7a7140e92c48
|
||||
DIST homeassistant-0.91.4.tar.gz 3771498 BLAKE2B abb44fe5f5792ec8101caf32c73483f58a24a89e9a3dc94ccfc1155bcaf9fdb9ab1f15ef1dedb1b523d3e358b45645d11715f6add6bba0a5b525ab4af32c3f86 SHA512 a42b992f808b45a76e4ce0de31535f331ea210bf4c0d63c551958c80fc179f7795a13b15d053a7c8656d6b27451b467dcb889083e748c9e0deb6a496b0edde0a
|
||||
EBUILD homeassistant-0.89.2.ebuild 7504 BLAKE2B 8247e4a4330b02f55874e75dea07aef159447170cf606c906b77ac99712f502fbd326d402da12aa28ce0e5483b7d4fe8396c33682d462860b76f94c7f61d244d SHA512 16a1280d83857c2c5a72eca83aa551753b4ba117cfb49c855b09341269ec7b9f4af04f5598ed450a0c360eb1ae2361d8c7f265f536f1a58befd59330fc477f7b
|
||||
EBUILD homeassistant-0.90.1.ebuild 8129 BLAKE2B 8e1ede269a1e441fd28aa8c41b2fed344a7a435955be8186391c30bd7a16e3a342a5c58251bca2ed79f0dc38e3c646aba51291b9598d80f51675b74162a78dfc SHA512 422fd2c267dc318ab19ee79261efd4f16068484e58ae001ca8ad97a6cfb033b01c05098013b665c791daa6290ff05443af5bf1c0397de29fabde88e01cb31eb6
|
||||
EBUILD homeassistant-0.90.2.ebuild 8129 BLAKE2B 2b182f0fa90d9f89daf0154244d8458752173be06cf9875319af809a61ad3bea8ffa3d6025619651422663a6f1a1225a1029988f49be4d5f6560a1b007d054af SHA512 966cd1301493700178af09108e64bf9f8ca598b51dddaa6c63de44e2ef186ab5af5c7a7363f66cf4112b3aa06ebbf93c5181deeec2063ad5a663e9ed87e776fc
|
||||
EBUILD homeassistant-0.91.0_beta3.ebuild 8172 BLAKE2B 3a44f53c7ea73cc6cf6aa8735702623dfae4e755c200df869c994bd558f480d241555804609b1f17ae4328d935b641abb90309f3964ddfe57ccb4957e35470ac SHA512 e61663a6a5b95b5cb9e0f5e076e3cec6e26afb03a2dd7c59425b368f21798b2f1aea9c23648febef34314a0fffed7f714699121d2ab1db12b48c4edb588ab416
|
||||
EBUILD homeassistant-0.91.1.ebuild 8171 BLAKE2B 24ffdeb20a2468d06e13a8140d66fb1939b860580a3b8333af56ca40bd20bbab690d28f25ea6e0c29b637c66c3b187a5a095e1e4e4616f42876c05ca6d2b3e15 SHA512 5ed047de983d6ad0b809fb8a53d04ef2cb46da2a0a5a8c47781287cb2cc710f2ecdc07233f93abdf9cbf37753e2c9ae834ee7ece4176d7dae2ad5673f4abdead
|
||||
EBUILD homeassistant-0.91.3.ebuild 8239 BLAKE2B c77ca5de24c3c6cb2139aa79d1d8e347286cb3bd113b1e7a919f025bac1cdaf397d6c739db61bae57b3661d0a48ded50359d2e142e30e394ffb7e92fe1562025 SHA512 8f1666ab947642be24c33360d18c87ac69ad0b170b7aaae9179e91732c3757c76561d82f5927a79f5268cf1c8a92f4b677e8d66952b07f180bc6501df539e1d3
|
||||
EBUILD homeassistant-0.91.4.ebuild 8239 BLAKE2B c77ca5de24c3c6cb2139aa79d1d8e347286cb3bd113b1e7a919f025bac1cdaf397d6c739db61bae57b3661d0a48ded50359d2e142e30e394ffb7e92fe1562025 SHA512 8f1666ab947642be24c33360d18c87ac69ad0b170b7aaae9179e91732c3757c76561d82f5927a79f5268cf1c8a92f4b677e8d66952b07f180bc6501df539e1d3
|
||||
MISC metadata.xml 1717 BLAKE2B 0305633db3f504d74a57e47de667d084da5e2dbf70b31d4619347801489d06c01732885cc8ceee337fddad867dfd46957a2712c2d8e146afa0bbf2b5737f7c63 SHA512 17a355c1f91882ab9bd942451d4171bc08a1aeb6f7a84b82ade600bea00befc3761655ebb04b6b6fe978261a4f39f072e79ea7473d63495e6d661186b9865aff
|
||||
|
||||
216
app-misc/homeassistant/homeassistant-0.91.4.ebuild
Normal file
216
app-misc/homeassistant/homeassistant-0.91.4.ebuild
Normal file
@@ -0,0 +1,216 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit user readme.gentoo-r1 eutils distutils-r1
|
||||
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
|
||||
DESCRIPTION="Open-source home automation platform running on Python 3.6"
|
||||
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
|
||||
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="androidtv asuswrt atv denonavr esphome enigma +frontend homematic hs100 maxcube musiccast mysql qnap rxv samsungtv sonos ssl speedtest test tradfri wemo zoneminder"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
!app-misc/homeassistant-bin
|
||||
app-admin/logrotate
|
||||
dev-db/sqlite
|
||||
dev-libs/libfastjson
|
||||
>=dev-libs/xerces-c-3.1.4-r1
|
||||
>=dev-libs/xml-security-c-1.7.3
|
||||
~dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
|
||||
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
|
||||
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
|
||||
~dev-python/bcrypt-3.1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2019.3.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
||||
~dev-python/pyjwt-1.6.4[${PYTHON_USEDEP}]
|
||||
~dev-python/cryptography-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/python-slugify-1.2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2018.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
||||
=dev-python/requests-2.21.0-r1[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.15.89[${PYTHON_USEDEP}]
|
||||
~dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
|
||||
~dev-python/voluptuous-serialize-2.1.0[${PYTHON_USEDEP}]
|
||||
|
||||
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
|
||||
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
|
||||
~dev-python/snitun-0.15[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
|
||||
~dev-python/hass-nabucasa-0.11[${PYTHON_USEDEP}]
|
||||
|
||||
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}]
|
||||
~dev-python/blinkpy-0.13.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto3-1.9.116[${PYTHON_USEDEP}]
|
||||
>=dev-python/botocore-1.12.115[${PYTHON_USEDEP}]
|
||||
~dev-python/caldav-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
~dev-python/colorlog-4.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/envs-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
|
||||
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/jose-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonrpc-async-0.6[${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/netdisco-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.16.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pillow-5.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyChromecast-2.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pysnmp-4.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
|
||||
=dev-python/RestrictedPython-4.0_beta8[${PYTHON_USEDEP}]
|
||||
~dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
|
||||
~dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-3.6.4-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/vobject-0.9.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
|
||||
=dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}]
|
||||
>=media-libs/mutagen-1.42.0
|
||||
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
|
||||
esphome? ( ~dev-python/aioesphomeapi-1.6.0[${PYTHON_USEDEP}] )
|
||||
enigma? ( ~dev-python/openwebifpy-3.1.0[${PYTHON_USEDEP}] )
|
||||
androidtv? ( ~dev-python/androidtv-0.0.14[${PYTHON_USEDEP}] )
|
||||
hs100? ( >=dev-python/pyHS100-0.3.4[${PYTHON_USEDEP}] )
|
||||
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
|
||||
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
|
||||
rxv? ( =dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/defusedxml[${PYTHON_USEDEP}] )
|
||||
denonavr? ( ~dev-python/denonavr-0.7.8[${PYTHON_USEDEP}] )
|
||||
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
|
||||
sonos? ( >=dev-python/pysonos-0.0.8[${PYTHON_USEDEP}] )
|
||||
ssl? ( dev-libs/openssl:0
|
||||
app-crypt/certbot
|
||||
net-proxy/haproxy )
|
||||
tradfri? ( >=dev-python/pytradfri-6.0.1[${PYTHON_USEDEP}]
|
||||
sys-devel/autoconf:2.69 )
|
||||
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
|
||||
frontend? ( =app-misc/home-assistant-frontend-20190331.0 )
|
||||
homematic? ( ~dev-python/pyhomematic-0.1.58[${PYTHON_USEDEP}] )
|
||||
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
|
||||
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
|
||||
speedtest? ( ~net-analyzer/speedtest-cli-2.0.2[${PYTHON_USEDEP}] )
|
||||
zoneminder? ( ~dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
|
||||
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
|
||||
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
|
||||
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
|
||||
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
INSTALL_DIR="/opt/${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
The HA interface listens on port 8123
|
||||
hass configuration is in: /etc/${PN}
|
||||
daemon command line arguments are configured in: /etc/conf.d/${PN}
|
||||
logging is to: /var/log/${PN}/{server,errors,stdout}.log
|
||||
The sqlite db is by default in: /etc/${PN}
|
||||
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
|
||||
"
|
||||
|
||||
S="${WORKDIR}/home-assistant-${MY_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}"
|
||||
|
||||
keepdir "/var/log/${PN}"
|
||||
fowners -R "${PN}:${PN}" "/var/log/${PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
Reference in New Issue
Block a user