aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pysysbot/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pysysbot/APKBUILD')
-rw-r--r--testing/pysysbot/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/pysysbot/APKBUILD b/testing/pysysbot/APKBUILD
new file mode 100644
index 0000000000..173a7f9c1b
--- /dev/null
+++ b/testing/pysysbot/APKBUILD
@@ -0,0 +1,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"
+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"