Date: Friday, July 15, 2022 @ 11:04:20 Author: alucryd Revision: 1252900
archrelease: copy trunk to community-any Added: home-assistant/repos/community-any/PKGBUILD (from rev 1252899, home-assistant/trunk/PKGBUILD) home-assistant/repos/community-any/home-assistant.service (from rev 1252899, home-assistant/trunk/home-assistant.service) Deleted: home-assistant/repos/community-any/PKGBUILD home-assistant/repos/community-any/home-assistant.service ------------------------+ PKGBUILD | 182 +++++++++++++++++++++++------------------------ home-assistant.service | 58 +++++++------- 2 files changed, 120 insertions(+), 120 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-15 11:04:12 UTC (rev 1252899) +++ PKGBUILD 2022-07-15 11:04:20 UTC (rev 1252900) @@ -1,91 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Ethan Skinner <a...@etskinner.com> -# Contributor: Grégoire Seux <grego_...@familleseux.net> -# Contributor: Dean Galvin <deangalv...@gmail.com> -# Contributor: NicoHood <archli...@nicohood.de> - -pkgname=home-assistant -pkgdesc='Open source home automation that puts local control and privacy first' -pkgver=2022.6.7 -pkgrel=1 -epoch=1 -arch=(any) -url=https://home-assistant.io/ -license=(APACHE) -depends=( - gcc - python-aiodiscover - python-aiohttp - python-aiohttp-cors - python-astral - python-async-timeout - python-atomicwrites - python-attrs - python-awesomeversion - python-bcrypt - python-certifi - python-ciso8601 - python-cryptography - python-defusedxml - python-httpx - python-jinja - python-lru-dict - python-mutagen - python-pillow - python-pip - python-pyjwt - python-pytz - python-requests - python-ruamel-yaml - python-slugify - python-sqlalchemy - python-voluptuous - python-voluptuous-serialize - python-yaml - python-yarl - python-zeroconf -) -makedepends=( - git - python-build - python-pip - python-setuptools -) -optdepends=( - 'net-tools: Nmap host discovery' - 'openzwave: Z-Wave integration' - 'python-dtlssocket: Ikea Tradfri integration' - 'python-lxml: Meteo France integration' -) -_tag=f97e95134b4e9f3628a1cd4527dc11cf038003a2 -source=( - git+https://github.com/home-assistant/home-assistant.git#tag=${_tag} - home-assistant.service -) -b2sums=('SKIP' - 'b5e181e00e499cd0c6e3922af44afe7e8043063d49c89c207beeff9b56ea2920a6f7b6d211be027cb4b6cf8450396623515dadcebdbdbdf0f934d3d16963790e') - -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 requirements.txt setup.cfg homeassistant/package_constraints.txt - # allow pip >= 20.3 to be used - sed 's/,<20.3//g' -i requirements.txt setup.cfg homeassistant/package_constraints.txt -} - -build() { - cd home-assistant - python -m build -} - -package() { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps home-assistant/dist/*.whl - install -Dm 644 home-assistant.service -t "${pkgdir}"/usr/lib/systemd/system/ -} - -# vim: ts=2 sw=2 et: Copied: home-assistant/repos/community-any/PKGBUILD (from rev 1252899, home-assistant/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-15 11:04:20 UTC (rev 1252900) @@ -0,0 +1,91 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Ethan Skinner <a...@etskinner.com> +# Contributor: Grégoire Seux <grego_...@familleseux.net> +# Contributor: Dean Galvin <deangalv...@gmail.com> +# Contributor: NicoHood <archli...@nicohood.de> + +pkgname=home-assistant +pkgdesc='Open source home automation that puts local control and privacy first' +pkgver=2022.7.4 +pkgrel=1 +epoch=1 +arch=(any) +url=https://home-assistant.io/ +license=(APACHE) +depends=( + gcc + python-aiodiscover + python-aiohttp + python-aiohttp-cors + python-astral + python-async-timeout + python-atomicwrites + python-attrs + python-awesomeversion + python-bcrypt + python-certifi + python-ciso8601 + python-cryptography + python-defusedxml + python-httpx + python-jinja + python-lru-dict + python-mutagen + python-pillow + python-pip + python-pyjwt + python-pytz + python-requests + python-ruamel-yaml + python-slugify + python-sqlalchemy + python-voluptuous + python-voluptuous-serialize + python-yaml + python-yarl + python-zeroconf +) +makedepends=( + git + python-build + python-pip + python-setuptools +) +optdepends=( + 'net-tools: Nmap host discovery' + 'openzwave: Z-Wave integration' + 'python-dtlssocket: Ikea Tradfri integration' + 'python-lxml: Meteo France integration' +) +_tag=60e170c8631f6771ee55f59c7067e007d8dd6e92 +source=( + git+https://github.com/home-assistant/home-assistant.git#tag=${_tag} + home-assistant.service +) +b2sums=('SKIP' + 'b5e181e00e499cd0c6e3922af44afe7e8043063d49c89c207beeff9b56ea2920a6f7b6d211be027cb4b6cf8450396623515dadcebdbdbdf0f934d3d16963790e') + +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 requirements.txt setup.cfg homeassistant/package_constraints.txt + # allow pip >= 20.3 to be used + sed 's/,<20.3//g' -i requirements.txt setup.cfg homeassistant/package_constraints.txt +} + +build() { + cd home-assistant + python -m build +} + +package() { + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps home-assistant/dist/*.whl + install -Dm 644 home-assistant.service -t "${pkgdir}"/usr/lib/systemd/system/ +} + +# vim: ts=2 sw=2 et: Deleted: home-assistant.service =================================================================== --- home-assistant.service 2022-07-15 11:04:12 UTC (rev 1252899) +++ home-assistant.service 2022-07-15 11:04:20 UTC (rev 1252900) @@ -1,29 +0,0 @@ -[Unit] -Description=Home assistant -After=network.target - -[Service] -Restart=on-failure -User=hass -Group=hass -DynamicUser=true -LogsDirectory=hass -StateDirectory=hass -WorkingDirectory=/var/lib/hass -Environment=HOME=/var/lib/hass - -ExecStart=/usr/bin/hass \ - --config /var/lib/hass/ \ - --log-file /var/log/hass/home-assistant.log \ - --log-rotate-days 1 -RestartForceExitStatus=100 - -AmbientCapabilities= -CapabilityBoundingSet= -LockPersonality=true -ProtectControlGroups=true -ProtectKernelModules=true -ProtectKernelTunables=true - -[Install] -WantedBy=multi-user.target Copied: home-assistant/repos/community-any/home-assistant.service (from rev 1252899, home-assistant/trunk/home-assistant.service) =================================================================== --- home-assistant.service (rev 0) +++ home-assistant.service 2022-07-15 11:04:20 UTC (rev 1252900) @@ -0,0 +1,29 @@ +[Unit] +Description=Home assistant +After=network.target + +[Service] +Restart=on-failure +User=hass +Group=hass +DynamicUser=true +LogsDirectory=hass +StateDirectory=hass +WorkingDirectory=/var/lib/hass +Environment=HOME=/var/lib/hass + +ExecStart=/usr/bin/hass \ + --config /var/lib/hass/ \ + --log-file /var/log/hass/home-assistant.log \ + --log-rotate-days 1 +RestartForceExitStatus=100 + +AmbientCapabilities= +CapabilityBoundingSet= +LockPersonality=true +ProtectControlGroups=true +ProtectKernelModules=true +ProtectKernelTunables=true + +[Install] +WantedBy=multi-user.target