From ce5a440534ddecedc60d901e0215d19603840eb9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 5 Oct 2013 13:07:53 +0000 Subject: testing/py-bottle-websocket: new aport Bottle WebSockets plugin https://pypi.python.org/pypi/bottle-websocket --- testing/py-bottle-websocket/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-bottle-websocket/APKBUILD (limited to 'testing/py-bottle-websocket') diff --git a/testing/py-bottle-websocket/APKBUILD b/testing/py-bottle-websocket/APKBUILD new file mode 100644 index 000000000..5435edea7 --- /dev/null +++ b/testing/py-bottle-websocket/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-bottle-websocket +_pkgname=bottle-websocket +pkgver=0.2.5 +pkgrel=0 +pkgdesc="Bottle websocket plugin" +url="https://pypi.python.org/pypi/bottle-websocket" +arch="noarch" +license="MIT" +depends="python py-bottle" +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="2a13170819b4818b0ba306c95ea563ee bottle-websocket-0.2.5.tar.gz" +sha256sums="9c83ce0a04309db3a90b64694e470946d9d39f3ae23927761a5ecbbd7e9d0b08 bottle-websocket-0.2.5.tar.gz" +sha512sums="3760cc2450678a1e0bfd5a7b9850a1699f931643db4ddaa30193c0e39245920da4cd5b56704c391953514bb9370759fc457dc75c73e9800742817b5feaf82af2 bottle-websocket-0.2.5.tar.gz" -- cgit v1.2.3