blob: 145a640bb19dc794f5de3d2d996190ca7ec6f42c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Thomas Jost <schnouki@schnouki.net>
pkgname=python-aranet4
_name=${pkgname#python-}
pkgver=2.1.3
pkgrel=1
pkgdesc="Python client for Aranet4 CO2 sensors"
arch=(any)
url="https://github.com/Anrijs/Aranet4-Python"
license=('MIT')
depends=("python-bleak" "python-requests")
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('d9750ced22c5ffd6bc9f67f450ad5c8767ab3247fe247971740e34566c6e10e1')
build() {
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
|