homeassistant: initial version + dependencies

This commit is contained in:
Tobias Klaus 2017-12-10 18:04:06 +01:00 committed by layman
parent 64b99ec1d1
commit 4136986532
No known key found for this signature in database
GPG key ID: E490E43F6C363F6C
22 changed files with 292 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST V1.5.tar.gz 962906 SHA256 abfb4c7e7728e86ba374c2e0ef7de912594eb24a8c44935457352df844530238 SHA512 3516bd27319a63f68079d8c3b808d3d79a67708b80dbd621e0fe8a6a944f1878731ebd4be147ef7122bcd7caec58bb5e8a95ce8258cfa6ab144c6ff06df149c3 WHIRLPOOL 64c3bc0b1b5be78a3ad41faf313564bddaef04bda8d5c08781e2210f2f4e72b9467c3b5fbd62d741ea3a1eafdbe5645859d5ce03bdbf05c027733dccabce5edc

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tk-gentoo@meskal.net</email>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,16 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="a C++ library to control Z-Wave Networks via a USB Z-Wave Controller"
HOMEPAGE="http://www.openzwave.net/"
SRC_URI="https://github.com/OpenZWave/${PN}/archive/V${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/libudev"
RDEPEND="${DEPEND}"

View file

@ -0,0 +1 @@
DIST aiohttp-2.3.5.tar.gz 846010 SHA256 044e4d610a5ab6bd46a04f431f000d0b5074f1aa38df5e326cff031635af6ad7 SHA512 307d12c023ba9332ecb8011e6e2ed8fa9a6125a7f8e4c2b02f11348267c255a6507bf0392cb3df2f8eebd871770c620bb7caec4a8a31823191f3d507a2488657 WHIRLPOOL a938877fbf19c27e8c944f696fcb94a8946b3cc727943602334d430dc230600313a54f20931eeb7be73145bd3f823df29bfe28a3c538459da43e610183aa0bf5

View file

@ -0,0 +1,60 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="http client/server for asyncio"
HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
EGIT_REPO_URI="https://github.com/aio-libs/aiohttp"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
CDEPEND="
>=dev-python/async_timeout-1.2.0[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
>=dev-python/multidict-3.0.0[${PYTHON_USEDEP}]
>=dev-python/yarl-0.11[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
doc? (
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${CDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
DOCS=( CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst )
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
PYTHONPATH="${PWD}:${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alunduil@gentoo.org</email>
<name>Alex Brandt</name>
</maintainer>
<upstream>
<remote-id type="pypi">aiohttp</remote-id>
<remote-id type="github">aio-libs/aiohttp</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST astral-1.4.1.tar.gz 101839 SHA256 048668308820b6e495e155c050bf2c56beb42719dbc980d946a7ba131b35147f SHA512 0695e2d805eb6f38dd9277138de7778193bd536abf831a94a74bb7fc83cbc61b12708c132b3844619fd1b502cacaf86c7c5015796f1b1c9c5520009679c3a814 WHIRLPOOL fc2844f64343560a5406b222d1b79fe0b8dd8263fcd29389ad2e7f6a8c357cc917edc17786afde2eb4b8d2b3772d2aac5048ad15b18f24a8aedd40d116d979ce

View file

@ -0,0 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Python calculations for the position of the sun and moon"
HOMEPAGE="https://github.com/sffjunkie/astral"
SRC_URI="https://github.com/sffjunkie/$PN/archive/$PV.tar.gz -> $P.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tk-gentoo@meskal.net</email>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST async-timeout-2.0.0.tar.gz 10288 SHA256 c17d8ac2d735d59aa62737d76f2787a6c938f5a944ecf768a8c0ab70b0dea566 SHA512 bc5a170662083abf018ac8ecde1f8c3182c543abcd6323e565f9493cd19c703f11ab0deb9f3385f85c31977959c84d393efb3219539a90ba7ff0ba69110e8bdc WHIRLPOOL 10ee66bd4a31b1563ca1ed92fd3aa4eab55edac1da1a267b4e90c619d2e3303567ef102870d45db5f492b45270f59970ff4f23a74e6a97467952bd9e1be64617

View file

@ -0,0 +1,31 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
MY_P=${PN/_/-}-${PV}
DESCRIPTION="Timeout context manager for asyncio programs"
HOMEPAGE="https://github.com/aio-libs/async-timeout"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
S=${WORKDIR}/${MY_P}
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? ( dev-python/pytest-aiohttp[${PYTHON_USEDEP}] )"
python_prepare_all() {
sed -i "s:, 'pytest-runner'::" -i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="pypi">async_timeout</remote-id>
<remote-id type="github">aio-libs/async_timeout</remote-id>
</upstream>
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST pytradfri-5.2.0.tar.gz 133903 SHA256 d5e85c2e2f7299101659a9137a6aed915e42799c775908527c462f3ce0e7a791 SHA512 d5bf0021f67f0a4477cf115d292b1aab3803376bb9217b9400478063be27831071762c1b32233c8439415403d3239a0ac9e52f3dacc54cf00c9efd44a8858f33 WHIRLPOOL bb6d090a65184d0c10ef2e12ecf4171d6b2d92d5065144fe931abb2bfde7518b729044207e90c8a10939785e975443216e2fb230816e16205d9969e2ffa762d9

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tk-gentoo@meskal.net</email>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Python calculations for the position of the sun and moon"
HOMEPAGE="https://github.com/ggravlingen/${PN}/"
SRC_URI="https://github.com/ggravlingen/$PN/archive/$PV.tar.gz -> $P.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-cpp/open-zwave"
RDEPEND="${DEPEND}"

1
dev-python/yarl/Manifest Normal file
View file

@ -0,0 +1 @@
DIST yarl-0.15.0.tar.gz 135867 SHA256 06b3a0d00aebf64b269a3410ec079386f5091e7603796da6644dff08f427737a SHA512 77953214f4666137b90f8be8ae74e3b638ba59b4da0e233e94d3992960a5fdab76d46b9907d9cd4714f8b4555ed0197a4020686743916ea3d3f0118da3da837c WHIRLPOOL 6994116d7201c22cea123983c0707574c7cb865ee1ead7f68e6e18840928ff65af758e1eff38b6d7ac7a94227ca3a94ff38b9ea4e3f3058fdb8b765f4cb3e2e9

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="pypi">yarl</remote-id>
<remote-id type="github">aio-libs/yarl</remote-id>
</upstream>
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Yet another URL library"
HOMEPAGE="https://github.com/aio-libs/yarl/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-python/multidict-2.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
)"
python_test() {
esetup.py test
}

View file

View file

@ -0,0 +1 @@
DIST homeassistant-0.59.2.tar.gz 2267403 SHA256 55866976cd8164d589f64dbe74db386783cc00033d8c10546281178445b2e112 SHA512 447605c09de59adc7eee546a2bdb0331bbc193250d011838730c52a1042d9823c0a40ebc5d594ef20ed98ca82b2d010439d8e8a46301531f34735fab82403ce0 WHIRLPOOL 5304edabd6dc3f16794768f1be1d90ea2def91162d365aa6bf365475c677446047708df7b87c33066b70399609357f40de3b89fd7d6b52d43c4f1fcc3783ce2c

View file

@ -0,0 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
inherit distutils-r1
MY_PN="home-assistant"
DESCRIPTION="Open-source home automation platform running on Python 3"
HOMEPAGE="https://home-assistant.io/"
SRC_URI="https://github.com/$MY_PN/$MY_PN/archive/$PV.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tradfri xmpp zwave"
S="${WORKDIR}/${MY_PN}-${PV}"
DEPEND="=dev-python/requests-2.18.4
>=dev-python/pyyaml-3.11
>=dev-python/pytz-2017.2
>=dev-python/jinja-2.9.6
=dev-python/voluptuous-0.10.5
>=dev-python/typing-3
=dev-python/async_timeout-2.0.0
=dev-python/yarl-0.15.0
=dev-python/aiohttp-2.3.5
=dev-python/chardet-3.0.4
>=dev-python/certifi-2017.4.17
=dev-python/pyjwt-1.5.3
tradfri? ( =dev-python/pytradfri-5.2.0 )
xmpp? (
dev-python/pyasn1
dev-python/pyasn1-modules
>=dev-python/dnspython-1.15
)
zwave? (
=dev-python/pydispatcher-2.0.5
)
"
RDEPEND="${DEPEND}
"

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tk+gentoo@meskal.net</email>
</maintainer>
<use>
<flag name="tradfri">Support for ikea tradfi zigbee gateway</flag>
<flag name="xmpp">Support xmpp notifications</flag>
<flag name="zwave">Support for z-wave</flag>
</use>
</pkgmetadata>