# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-vkontakte
_pkgname=vkontakte
pkgver=1.3.5
pkgrel=0
pkgdesc="Python API wrapper for vk.com"
url="http://bitbucket.org/kmike/vkontakte/"
arch="noarch"
license="MIT"
depends="python2"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="4fbf48179be24c5575ce49279e93fdc7  vkontakte-1.3.5.tar.gz"
sha256sums="fbb7a8b675e60c6d58b6408741072188eabb2cbeb5bfcaf0cf7c490335a80753  vkontakte-1.3.5.tar.gz"
sha512sums="2bf11fe7eaf68f211f616ad64ea853c054a59d0861c72e1f7c3e064ae7bc22df76439fe84de7e779e33160f5eb98d9f920ea7bef6cd49155e700eca98c366519  vkontakte-1.3.5.tar.gz"
