summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd3cb52ec903d2ca11484b9108a373196bb5acfa (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
# Maintainer: Douglas Creager <dcreager at dcreager dot net>

pkgname=python-somecomfort
_name=somecomfort
pkgver=0.8.0
pkgrel=1
pkgdesc="A python client and utility for interacting with Honeywell thermostats"
url="https://github.com/kk7ds/somecomfort"
arch=('any')
license=('GPL-3.0')
depends=('python-requests' 'python-prettytable')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('56e60e4e9f76c12c0c9dd1016e9f1334be6800409e0762f5f143f9069d7292d3')

build() {
    cd "$_name-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_name-$pkgver"
    python -m installer --destdir="$pkgdir/" dist/*.whl
}