homeassistant-0.79.3

This commit is contained in:
Andreas Billmeier 2018-10-07 00:12:20 +02:00
parent 2d22d5a7b6
commit 0dffbd4098
7 changed files with 212 additions and 0 deletions

View File

@ -9,8 +9,10 @@ DIST homeassistant-0.77.3.tar.gz 2837685 BLAKE2B 98d8f36477695aff9b9c0b0216f651a
DIST homeassistant-0.78.0.tar.gz 2863439 BLAKE2B f207d82795309ff484fb52133de6574d5ccb59a75c4ca6ce45dc13c673dad9d150fbb24e3c84bd5ada0317534795b966cea301a630d3e3315a756c9de7719dd3 SHA512 1ee645e0d816cf92d0843563396c52e9547b3810f238f840079f93638feb3e84d8b61f0b84d12bd716d007614a0c70b6f0cc2c7f2751910fd8d0aeeb5eb4f185
DIST homeassistant-0.78.1.tar.gz 2863516 BLAKE2B 92e1ffb46db0c0756be24d069169ff342e266600a2076ad988be34b19093d1020f1854bb6c3d2810a75b46c4b38000214462d4362ac1e8914165a95bfbcaed5a SHA512 f39f06396bf8758fff90df44a4f28114ad343ac6a0fd1c361c3277d1cd959cd1b7495bc51aafbeda25b6eb234214680732f974b6349e063cb649b2781c7fc8e0
DIST homeassistant-0.78.3.tar.gz 2863538 BLAKE2B 2381c36916bd14cbca6011e00540a39a4e7c6795a3a54546d5a7e22bd38d4461ff2c59303afde181fddf88ce9a132c1bd2bf13df90b3ad28d1fd63f8cf34dca0 SHA512 50d6ffbc5e369b90445c23cd49934353bfe964adf2da936c0ac44eb1918e73183c68aaa6ed6842aa2cc4222574a8908ce371268a681b29ed7ca53e0978b1accd
DIST homeassistant-0.79.3.tar.gz 2918479 BLAKE2B 41671e496eb78ee0d214a26211fc5ad4c4cd38b678cd25971038d71350e354734b31934dbbed85984981e46e7910b08d7654a15c1b07c96b09e775663c8c3d5d SHA512 06e8b4833d4859684be54705044b8834afe1b28c75a1414cb30ad0f8da082de60efa4b71de5abc1018d074c8ef4dd1c6d26177405efad6b0d013bba5c21e4339
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
EBUILD homeassistant-0.78.1.ebuild 3572 BLAKE2B 340e9e7a246fa38566583f2e80c1e5925839be2adfe4e8fc72f1eed2a9b0935e0855a463eb5671219421fc920d584784e027c2d67a11ffc3a77db124be40cb11 SHA512 0c630e77a9d592e1fa70c08bd19eefe2f5c9deb19d31ed65a13406a7e22354119e44981b3ec3210e4167bb25710a858095c2522ea6c19d14cd77bec30dcfae13
EBUILD homeassistant-0.78.3.ebuild 3572 BLAKE2B 340e9e7a246fa38566583f2e80c1e5925839be2adfe4e8fc72f1eed2a9b0935e0855a463eb5671219421fc920d584784e027c2d67a11ffc3a77db124be40cb11 SHA512 0c630e77a9d592e1fa70c08bd19eefe2f5c9deb19d31ed65a13406a7e22354119e44981b3ec3210e4167bb25710a858095c2522ea6c19d14cd77bec30dcfae13
EBUILD homeassistant-0.79.3.ebuild 3620 BLAKE2B 1d058602b08e069fc1d6725cbed7d180bf2138f79822ec6f361d2534b8de372004aac526833438f17601fbefbad7ea628627a2c5293bf1401975b1a15b6b4b81 SHA512 d23270cc1d29cb9c5d75d0d9aa98510f720f48942f97a4de0936983136cde8f96f010f991a33e4f94995ba517a67f47420204a2c003bb70e00762933a241e600

View File

@ -0,0 +1,124 @@
# Copyright 1999-2018 Gentoo Foundation
# Ebuild (C)2018 OnkelBeh
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 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 maint tradfri wemo mysql musiccast"
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.6.1[${PYTHON_USEDEP}]
>=dev-python/async_timeout-3.0.0[${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/beautifulsoup-4.5.1[${PYTHON_USEDEP}]
>=dev-python/certifi-2018.4.16[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
>=dev-python/colorlog-3.1.4[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.0.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
>=dev-python/pip-9.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2018.04[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
>=dev-python/requests-2.19.1-r1[${PYTHON_USEDEP}]
>=dev-python/typing-3.5.3.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.22[${PYTHON_USEDEP}]
>=dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
>=dev-python/voluptuous-serialize-2.0.0[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.40.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.1.1[${PYTHON_USEDEP}]
atv? ( >=dev-python/pyatv-0.3.9[${PYTHON_USEDEP}] )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${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}] )
wemo? ( >=dev-python/pywemo-0.4.25[${PYTHON_USEDEP}] )
dev-db/sqlite
dev-libs/libfastjson
dev-libs/openssl
"
RDEPEND="
${DEPEND}
app-admin/logrotate
maint? (
app-crypt/certbot
app-crypt/ssl-cert-check
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
}

View File

@ -0,0 +1,4 @@
AUX paho-mqtt-1.4.0-strip-test-dependency.patch 681 BLAKE2B 0ed9a448e5e72813aa05ad1d37ae957150ad09b6d48a54f668a969e5e98ad25f8d55b223064e01f6773d0e42da3ba26f2e0a7f43a628ff68fee4b619b8de96c9 SHA512 dbadb8c1bd7691a973d8c1cd146ac9bd72407625ddfc5042b25bc81ff74af6d554c06fa3b2972637acc4a466e75a65c9371990e43bbf649fe5a5a22da2bb36fb
DIST paho-mqtt-1.4.0.tar.gz 108278 BLAKE2B 0569f3cb5d262b3b7f6ae68261fe138d839afcc6fe91f880e29de24d5cf8e2491af81a30eb82c27fe63eee90114326eb75b06a32e05ec2fffed27b92d9601902 SHA512 2e49f0f146207ab4fbc8c346b10d3e2b50869b2d9db7c999b6645f7213fb635b64cff01c5405e7833a8b25334d24685ce6ed734a6e4b6b0660b48f65cf4a941c
EBUILD paho-mqtt-1.4.0.ebuild 833 BLAKE2B 5363c1872085058e86c8dde20d56db395b34aac97f673d3e11749fe9945c1c3d28582128e2b3c69540e69cf26ab9498113fd1414ca1d17659f41f463bb64ee5f SHA512 4f5c9188b6cd1729ec53d12e0bc56a25251cf0468fb73464acfd3a1cf39faf885cbfbec3a951fb222fb862136e61879e3adfe5f80ee3eafd862b34d666abdfb3
MISC metadata.xml 462 BLAKE2B bb478b5d843359050dbdb5ba67e9bca36dec28f6c65b6e89ac49cc00cf63c80abebc4525de91bd0c43f6979bc2c1a3b850243de39f3d5620a1f19d6b3c9fb8dd SHA512 bb6dabe3f0a5dcda951a9aa58ae0c883ceb7324f8538dd2962fbe216eeedf9af09829b79e35f5bbd8baa00cdfd16602411430276329554bb1908d6ca9609a9ae

View File

@ -0,0 +1,29 @@
# Remove Pylama from test dependencies.
diff --git a/setup.cfg b/setup.cfg
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,9 +1,6 @@
[aliases]
test=pytest
[tool:pytest]
-addopts=-r xs --pylama
+addopts=-r xs
strict=True
testpaths=tests src
-[pylama]
-linters=pyflakes
-skip=tests/*
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with open('README.rst', 'rb') as readme_file:
readme = readme_file.read().decode('utf-8')
requirements = []
-test_requirements = ['pytest', 'pylama']
+test_requirements = ['pytest']
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
setup_requirements = ['pytest-runner'] if needs_pytest else []

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ramage.lucas@openmailbox.org</email>
<name>Lucas Ramage</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">eclipse/paho.mqtt.python</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
inherit distutils-r1
DESCRIPTION="A client class with support for both MQTT v3.1 and v3.1.1"
HOMEPAGE="https://www.eclipse.org/paho/clients/python/"
SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
) "
S="${WORKDIR}/paho.mqtt.python-${PV}"
RESTRICT="test" #659106
src_prepare() {
eapply "${FILESDIR}/${P}-strip-test-dependency.patch"
default
}
python_test() {
esetup.py test
}

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
homeassistant