# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-evohome-client
pkgver=0.2.5
pkgrel=0
pkgdesc="Python client to access the Evohome web service"
url="https://github.com/watchforstock/evohome-client"
arch="noarch"
license="Apache-2.0"
depends="python2 py-requests"
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="evohome-client-$pkgver.tar.gz::https://github.com/watchforstock/evohome-client/archive/$pkgver.tar.gz"

builddir="$srcdir"/evohome-client-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="71ae416b948b367f8d0663851c976a2f  evohome-client-0.2.5.tar.gz"
sha256sums="55abbb9d2e68fb06893f9dcc39ed5721cbeae15552bbcf47122bcfb564512b71  evohome-client-0.2.5.tar.gz"
sha512sums="d475906168371e09f81d955574a070e9225844f99309d3d9875d5adccfc383795680d784400841617f49b0c43aa0d02fc2555649ded2adfa0beeccfa38d60874  evohome-client-0.2.5.tar.gz"
