aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/pysysbot
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/pysysbot')
-rw-r--r--unmaintained/pysysbot/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/pysysbot/APKBUILD b/unmaintained/pysysbot/APKBUILD
new file mode 100644
index 0000000000..a07c3c0387
--- /dev/null
+++ b/unmaintained/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 py-setuptools"
+install=""
+subpackages=""
+source="https://files.pythonhosted.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"