aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pysysbot/APKBUILD
blob: 0fe0acb34b44c341b2aa49cc7703ce7eaa9623f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pysysbot
pkgver=0.1.3
pkgrel=0
pkgdesc="A Python based system jabber bot"
url="http://affolter-engineering.ch/pysysbot/"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-psutil py-jabberbot 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="79a52a23cd8cfbb0333a8ed54f094482  pysysbot-0.1.3.tar.gz"
sha256sums="565f3475dc52968aefdd54605c122dcd3e35a5739894fa1181418f923b947a43  pysysbot-0.1.3.tar.gz"
sha512sums="ae6ecd1775747be578874603fcd7305ad0d6599858d1f9beb069a2fb874bba33483f9aefa9f6a090714469fbb29ab327c76b8f77c35f05ebef9618a44befea6e  pysysbot-0.1.3.tar.gz"