diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-06 20:59:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-22 08:23:15 +0000 |
commit | 3bb7845518e7d20f62eb4abd7a4a5c9cc5dcb012 (patch) | |
tree | 0e5989e57b7891415f38167ece6804808389f5f1 /testing/py-vkontakte | |
parent | 64d4fd5f3c6179f1ea3dde0cb50bc4e658814017 (diff) | |
download | aports-3bb7845518e7d20f62eb4abd7a4a5c9cc5dcb012.tar.bz2 aports-3bb7845518e7d20f62eb4abd7a4a5c9cc5dcb012.tar.xz |
testing/py-vkontakte: new aport
Python API wrapper for vk.com
http://bitbucket.org/kmike/vkontakte/
Diffstat (limited to 'testing/py-vkontakte')
-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" |