diff options
Diffstat (limited to 'testing/py-vkontakte/APKBUILD')
-rw-r--r-- | testing/py-vkontakte/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-vkontakte/APKBUILD b/testing/py-vkontakte/APKBUILD new file mode 100644 index 0000000000..51b6a6fe67 --- /dev/null +++ b/testing/py-vkontakte/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-vkontakte +_pkgname=vkontakte +pkgver=1.3.2 +pkgrel=0 +pkgdesc="Python API wrapper for vk.com" +url="http://bitbucket.org/kmike/vkontakte/" +arch="noarch" +license="MIT" +depends="python py-requests py-dateutils py-lxml py-purl" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="0f938fdc19412666040db91f8915677d vkontakte-1.3.2.tar.gz" +sha256sums="06fd2fdb89a1b929331fda3014e08a1e327bd716b5c5c231e8c8dd96a25d6703 vkontakte-1.3.2.tar.gz" +sha512sums="d0a1add1caf2047bee788dda81863a1b406b961f655135509a26d3f6cc866cc2d6ead2ac6db454b90d4fa8249f401cea05b33e7e3fd7222daed64bd70bba9dde vkontakte-1.3.2.tar.gz" |