aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-evohome-client/APKBUILD
blob: 53d228ed033aeb66c121b5c17e2bccbcb25ddd21 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py3-evohome-client
pkgver=0.3.3
pkgrel=1
pkgdesc="Python client to access the Evohome web service"
url="https://github.com/watchforstock/evohome-client"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-requests-mock"
source="evohome-client-$pkgver.tar.gz::https://github.com/watchforstock/evohome-client/archive/$pkgver.tar.gz"
builddir="$srcdir"/evohome-client-$pkgver

replaces="py-evohome-client" # Backwards compatibility
provides="py-evohome-client=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	mkdir test-reports
	nosetests
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2f140f52c5b1236aeaecd27b16c0f490e0bbb361a07ef1e9e4ca14e856f840aa62f110c14f65bacf6f7eecb9282506aabf2c88378810c0db32557effe291e66c  evohome-client-0.3.3.tar.gz"