Package Details: home-assistant 0.80.1-1

Git Clone URL: https://aur.archlinux.org/home-assistant.git (read-only)
Package Base: home-assistant
Description: Open-source home automation platform running on Python 3
Upstream URL: https://home-assistant.io/
Keywords: automation home python
Licenses: Apache
Replaces: python-home-assistant
Submitter: kamaradclimber
Maintainer: etskinner
Last Packager: etskinner
Votes: 31
Popularity: 1.003428
First Submitted: 2016-10-09 12:17
Last Updated: 2018-10-15 17:13

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Synthead commented on 2018-09-21 19:43

Heads-up: the Insteon component doesn't work with Python 3.7 upstream. There are some small tweaks that can make it work with 3.7, though. See https://github.com/home-assistant/home-assistant/issues/16644.

etskinner commented on 2018-09-08 03:42

Thank you @shardik and @compgamer89 for reports. Dependency python-cryptography has been added.

shardik commented on 2018-09-07 20:11

missing dependency: python-cryptography

Sep 07 21:40:46 alarm hass[18300]: pkg_resources.DistributionNotFound: The 'cryptography>=2.3.1' distribution was not found and is required by homeassistant

compgamer89 commented on 2018-09-04 09:09

@etskinner https://www.archlinux.org/packages/community/x86_64/python-aiohttp/

Got bumped. Personally, am waiting on 0.77.4 (when it comes out) for a ZHA/Py3.7 bugfix, but 0.77.3 is available.

compgamer89 commented on 2018-09-03 05:48

For OCD-types that don't like installing globally with pip, I'm using the following PKGBUILDs for python-aiohttp 3.4.2 and home-assistant 0.77.1, and things seem to (mostly) work fine.

Notable exception with ZHA since bellows 0.6.0 is not Python 3.7-compatible, but tracking an update+fix for that here. In the meantime, applying https://github.com/zigpy/bellows/commit/b34d1f954532d647a6eb43f78358a420acec0daf.patch manually to deps/python3.7/site-packages/bellows and adding --skip-pip does the trick (for now).

# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Philipp A. <flying-sheep@web.de>

_pkgname=aiohttp
pkgname=python-aiohttp
pkgver=3.4.2
pkgrel=0
pkgdesc='HTTP client/server for asyncio'
url='https://aiohttp.readthedocs.io'
arch=('x86_64')
license=('Apache')
depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout' 'python-yarl' 'python-attrs')
makedepends=('cython' 'python-setuptools')
checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock' 'python-async_generator' 'python-brotlipy')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('74dc560e074a8a56ef3722bd87fc06acc38eaccba6b35afc39345782eeb41a42')
sha512sums=('c3d1f2f4d5224b37f66efd60e47952f77c56f54aee1eb0a4a043a945e8c140bf9107a23ed326beed710f094c1834b406ba85db3adf0bd80c6f01b6d44bbae4a7')

build() {
  cd ${_pkgname}-${pkgver}
  python setup.py build
}

check() {
  cd ${_pkgname}-${pkgver}
  python setup.py test
}

package() {
  cd ${_pkgname}-${pkgver}
  python setup.py install --root="${pkgdir}" -O1 --skip-build
}

# vim: ts=2 sw=2 et:
# Maintainer: Ethan Skinner <aur@etskinner.com>
# Contributor: Grégoire Seux <grego_aur@familleseux.net>
# Contributor: Dean Galvin <deangalvin3@gmail.com>
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>

pkgname=home-assistant
pkgdesc='Open-source home automation platform running on Python 3'
pkgver=0.77.1
pkgrel=0
url="https://home-assistant.io/"
license=('APACHE')
arch=('any')
replaces=('python-home-assistant')
makedepends=('python-setuptools')
# NB: this package will install additional python packages in /var/lib/hass/lib depending on components present in the configuration files.
depends=('python'
         'python-aiohttp>=3.4.0'
         'python-aiohttp-cors>=0.5.3'
         'python-astral>=1.6.1'
         'python-async-timeout>=3.0.0'
         'python-attrs>=18.1.0'
         'python-bcrypt>=3.1.4'
         'python-certifi>=2018.04.16'
         'python-chardet>=3.0.4'
         'python-cryptography>=2.3.1'
         'python-distro>=1.3.0'
         'python-jinja>=2.10'
         'python-netifaces'
         'python-pip'
         'python-pyjwt>=1.6.4'
         'python-pytz>=2018.4'
         'python-requests>=2.19.1'
         'python-sqlalchemy>=1.2.10'
         'python-vincenty'
         'python-voluptuous>=0.11.5'
         'python-webcolors'
         'python-yaml>=3.13'
         'python-yarl'
         )
optdepends=('git: install component requirements from github'
            'net-tools: necessary for nmap discovery')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
        "home-assistant.service"
        "home-assistant.sysusers"
        "home-assistant-tmpfile.conf"
        "hass.install")

sha512sums=('afd1c88c34f7220dc647337c3cd4993af48e1a717780b5de353af784736f1b7becff68233cdeae86b237fd24cf94fdad6a0a96bc3cb3b3cb7d9e0c25b0f48cae'
            'fe96bd3df3ba666fd9f127c466d1dd1dd7314db2e57826a2b319c8a0bfad7aedeac398e748f93c6ecd9c2247ebbae196b8b0e7263b8681e2b7aeab6a8bfeab80'
            '100665ac35370c3ccec65d73521568de21cebf9e46af364124778861c94e338e32ad9abb675d3917f97d351dd7867e3ab2e80c26616330ae7cf0d9dc3f13369b'
            '8babcf544c97ec5ad785014f0b0d5dca556a2f5157dadcbe83d49d4669b74f6349e274810ec9a028fcec208c6c8fbbe6b3899d2933b56163b9e506570879a3ad'
            '65edbf1e544322deb6b5b8e1197e54c5cb8b25e3dad7b4b882ca4d41d3240b3f049c2e928f083e261d14aa5e54ca0b228f128796a07f151cd01cc867acfdb305')
#validpgpkeys=('') # TODO https://github.com/home-assistant/home-assistant/issues/9487
install='hass.install'

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  # TODO remove in future versions https://github.com/home-assistant/home-assistant/issues/9525
  replace '==' '>=' setup.py
}

replace() {
  pattern=$1
  substitute=$2
  file=$3
  echo -n "Replacing '$pattern' by '$substitute' in $file..."
  if grep -q $pattern $file && sed -i "s/$pattern/$substitute/" $file; then
    echo "DONE"
  else
    echo "FAILED"
    depname=$(echo $pattern | sed 's/[>=<].*$//')
    echo Current line in $file:
    grep $depname $file
    exit 1
  fi
}

package() {
  install -Dm644 home-assistant.service "${pkgdir}/usr/lib/systemd/system/home-assistant.service"
  install -Dm644 home-assistant.sysusers "${pkgdir}/usr/lib/sysusers.d/hass.conf"
  install -Dm644 home-assistant-tmpfile.conf "${pkgdir}/usr/lib/tmpfiles.d/hass.conf"

  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
}

Niklas commented on 2018-08-20 12:55

the maintainer's mail address is in the package's PKGBUILD, as usual.

drewbs commented on 2018-08-20 03:34

Yeah it got closed. I misread a forum post on what to do. The email address of the maintainer or lasted packager is not available (package python-aiohttp).

capoeira commented on 2018-08-18 20:27

this is not a bug. click on maintainers name and you see his email.

drewbs commented on 2018-08-18 18:11

[Edit] Found the "official" way. I've entered a support bug to hopefully get the attention of the maintainer.

Please see, https://bugs.archlinux.org/task/59710

etskinner commented on 2018-07-08 23:41

Thanks @Watson. Yes, the aiohttp package being out of date is the reason that I haven't updated, thanks for looking. But don't be afraid to mark it out of date anyway.

Ideally, the long term goal for this package would be to run in a virtual environment to avoid this dependency hell. But it's kind of against Arch philosophy, and I have yet to do enough research to be confident in doing it. Maybe make a sister package for that? I'm all ears if anyone has ideas.