[arch-commits] Commit in home-assistant/repos (5 files)

Maxime Gauduin alucryd at archlinux.org
Thu Feb 20 08:50:36 UTC 2020


    Date: Thursday, February 20, 2020 @ 08:50:35
  Author: alucryd
Revision: 576990

archrelease: copy trunk to community-testing-any

Added:
  home-assistant/repos/community-testing-any/
  home-assistant/repos/community-testing-any/PKGBUILD
    (from rev 576989, home-assistant/trunk/PKGBUILD)
  home-assistant/repos/community-testing-any/home-assistant.service
    (from rev 576989, home-assistant/trunk/home-assistant.service)
  home-assistant/repos/community-testing-any/home-assistant.sysusers
    (from rev 576989, home-assistant/trunk/home-assistant.sysusers)
  home-assistant/repos/community-testing-any/home-assistant.tmpfiles
    (from rev 576989, home-assistant/trunk/home-assistant.tmpfiles)

-------------------------+
 PKGBUILD                |   88 ++++++++++++++++++++++++++++++++++++++++++++++
 home-assistant.service  |   14 +++++++
 home-assistant.sysusers |    1 
 home-assistant.tmpfiles |    1 
 4 files changed, 104 insertions(+)

Copied: home-assistant/repos/community-testing-any/PKGBUILD (from rev 576989, home-assistant/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-20 08:50:35 UTC (rev 576990)
@@ -0,0 +1,88 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ethan Skinner <aur at etskinner.com>
+# Contributor: Grégoire Seux <grego_aur at familleseux.net>
+# Contributor: Dean Galvin <deangalvin3 at gmail.com>
+# Contributor: NicoHood <archlinux at nicohood.de>
+
+pkgname=home-assistant
+pkgdesc='Open source home automation that puts local control and privacy first'
+pkgver=0.105.5
+pkgrel=2
+arch=(any)
+url=https://home-assistant.io/
+license=(APACHE)
+depends=(
+  gcc
+  python-aiohttp
+  python-aiohttp-cors
+  python-astral
+  python-async-timeout
+  python-attrs
+  python-bcrypt
+  python-certifi
+  python-cryptography
+  python-importlib-metadata
+  python-jinja
+  python-pyjwt
+  python-pip
+  python-pytz
+  python-requests
+  python-ruamel-yaml
+  python-slugify
+  python-sqlalchemy
+  python-voluptuous
+  python-voluptuous-serialize
+  python-yaml
+)
+makedepends=(
+  git
+  python-setuptools
+)
+optdepends=(
+  'net-tools: Nmap host discovery'
+  'openzwave: Z-Wave integration'
+  'python-lxml: Meteo France integration'
+)
+source=(
+  git+https://github.com/home-assistant/home-assistant.git#tag=75b508e8724cb82712227082eee9abab570d2eb2
+  home-assistant.service
+  home-assistant.sysusers
+  home-assistant.tmpfiles
+)
+sha256sums=(
+  SKIP
+  2a87a3b529a1eeddfae0c02c415bed13586b002b9580226bdc749a27bbe83af5
+  319c7790d3cdb076bf527b1d478edbc99e00b22fbf4a884b395e46460114ee41
+  f9e43edb276e0fbbbc2273b836ef1da0ac43347b5c3e4c63774e7f7ecdf25660
+)
+
+pkgver() {
+  cd home-assistant
+
+  git describe --tags
+}
+
+prepare() {
+  cd home-assistant
+
+  # lift hard dep constraints, we'll deal with breaking changes ourselves
+  sed 's/==/>=/g' -i setup.py homeassistant/package_constraints.txt
+}
+
+build() {
+  cd home-assistant
+
+  python setup.py build
+}
+
+package() {
+  cd home-assistant
+
+  python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build
+
+  install -Dm 644 ../home-assistant.service -t "${pkgdir}"/usr/lib/systemd/system/
+  install -Dm 644 ../home-assistant.sysusers "${pkgdir}"/usr/lib/sysusers.d/home-assistant.conf
+  install -Dm 644 ../home-assistant.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/home-assistant.conf
+}
+
+# vim: ts=2 sw=2 et:

Copied: home-assistant/repos/community-testing-any/home-assistant.service (from rev 576989, home-assistant/trunk/home-assistant.service)
===================================================================
--- community-testing-any/home-assistant.service	                        (rev 0)
+++ community-testing-any/home-assistant.service	2020-02-20 08:50:35 UTC (rev 576990)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Home assistant
+After=network.target
+
+[Service]
+Restart=on-failure
+User=hass
+Group=hass
+
+ExecStart=/usr/bin/hass --config /var/lib/hass/ --log-rotate-days 1
+RestartForceExitStatus=100
+
+[Install]
+WantedBy=multi-user.target

Copied: home-assistant/repos/community-testing-any/home-assistant.sysusers (from rev 576989, home-assistant/trunk/home-assistant.sysusers)
===================================================================
--- community-testing-any/home-assistant.sysusers	                        (rev 0)
+++ community-testing-any/home-assistant.sysusers	2020-02-20 08:50:35 UTC (rev 576990)
@@ -0,0 +1 @@
+u hass - "Home Assistant daemon user" /var/lib/hass

Copied: home-assistant/repos/community-testing-any/home-assistant.tmpfiles (from rev 576989, home-assistant/trunk/home-assistant.tmpfiles)
===================================================================
--- community-testing-any/home-assistant.tmpfiles	                        (rev 0)
+++ community-testing-any/home-assistant.tmpfiles	2020-02-20 08:50:35 UTC (rev 576990)
@@ -0,0 +1 @@
+d /var/lib/hass 0750 hass hass -



More information about the arch-commits mailing list