blob: b7eaed6ee1de4f40c9dfa307ddb4bec795da3738 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=home-assistant
_pkgname=homeassistant
pkgver=0.33.4
pkgrel=0
pkgdesc="A Home automation platform"
url="https://home-assistant.io"
arch="all"
license="MIT"
depends="
py3-requests
py3-yaml
py3-tz
py3-jinja2
py3-voluptuous
py3-aiohttp
py-netdisco
"
makedepends="python3-dev"
subpackages=""
pkgusers="hass"
pkggroups="hass"
install="$pkgname.pre-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/home-assistant/home-assistant/archive/$pkgver.tar.gz
95b439fbd5ad96966dfe1176697c6ee4731a6207.patch
update-deps.patch
$pkgname.initd
$pkgname.confd"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
cd "$_builddir_aiohttp"
python3 setup.py build || return 1
}
package() {
cd "$builddir"
python3 setup.py install \
--root="$pkgdir" --prefix=/usr --optimize=1 || return 1
install -Dm 755 "$srcdir/$pkgname".initd \
"$pkgdir"/etc/init.d/hass || return 1
install -Dm 644 "$srcdir/$pkgname".confd \
"$pkgdir"/etc/conf.d/hass || return 1
}
md5sums="6e48b65ed8cdfc330d7b41b9625a53dc home-assistant-0.33.4.tar.gz
0b10f28946288be517d237fff8bd6a4d 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch
e9594298e7aef8e682bf09bb6801081c update-deps.patch
f98b4840a76b5cee70b2f825cfb26103 home-assistant.initd
6cc698d864cfe3970913202ccf4ccbab home-assistant.confd"
sha256sums="4946fbba5c9951d4b587f4a5048a45b8636d3d5da9e9858899bb81aa30225bfc home-assistant-0.33.4.tar.gz
3e2d0e4c8aca753d8dd39fbe3422cccf141d2d261175dcaa136ff430a0201d57 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch
da580edf8ee2ad1d3855092c9c19421dee4348f78adb12ddb54f9c4ab042f48e update-deps.patch
3518ebc275eee3041ff2821a83b7bb6151990b37c4512b0497874a9eb6b28cc8 home-assistant.initd
ed25ddb01fc0362bb5442ef8ca1ae9a1382334f0cadc54dec53a5d5b5c46c8c3 home-assistant.confd"
sha512sums="9880294ec8e6cf86ce3f7d076dfd4a89857cbf9ac587a40a9550fe981fd5dacdcbb29dd9ebd4906dfd6948249903e359eb6d3fab83a7dd00c95c1cc96e06088d home-assistant-0.33.4.tar.gz
3f4c6f8f2b6ebfc8a57834bfda4e955d6ecefe959ce55599dca94fe78d69ec80f104414c367c9a280c587f8cb88f0ac0a72cb458d2268b094c1b61cdf47568c1 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch
86daecf24c5a595bf7c8ee39c4c2bc7abc829f7e9f4579651c0ab24dc57ea29f50a1c94cae765d7f1ed16c0138b3561587b8675a18d0dd1b117f3527b4cbd82f update-deps.patch
34b8387836490228d94f6836bd0222812285d0a1161225b47b03c1398526f235c2ef2180ebaf0a81fe59165230467b5ad75eb06b3349175ef655da9bd00acd8e home-assistant.initd
12c24a79245ec70f001e63f60737017974f61ac5b508d29f998cd60ad5c0e97dfd0c5efb4f3d8357be1d05b7585de9b8d945f8f73b47e94e3667c9b02138f822 home-assistant.confd"
|