summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe94c3f67bf..fa2c7829f1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,31 +1,18 @@
# Generated by mksrcinfo v8
-# Thu May 24 12:01:18 UTC 2018
+# Mon Aug 5 13:13:09 UTC 2019
pkgbase = errbot
pkgdesc = a chatbot. It allows you to start scripts interactively from your chatrooms for any reason: random humour, chatops, starting a build, monitoring commits, triggering alerts...
- pkgver = 5.2.0
+ pkgver = 6.1.1
pkgrel = 1
url = https://github.com/errbotio/errbot
arch = any
license = GPL
- depends = python-daemonize
- depends = python-dnspython3
- depends = python-pygments-markdown-lexer
- depends = python-ansi
- depends = python-markdown
- depends = python-yapsy
- depends = python-colorlog
- depends = python-pyopenssl
- depends = python-rocket-errbot
- depends = python-bottle
- depends = python-webtest
- depends = python-sleekxmpp
- depends = python-jinja
+ makedepends = python-pip
+ depends = python
options = emptydirs
backup = etc/errbot/config.py
- source = errbot-5.2.0.tar.gz::https://github.com/errbotio/errbot/archive/5.2.0.tar.gz
source = errbot.config.py
source = errbot.service
- sha256sums = 790893a80a92ed9f3f90ff2d6306d97c93f22c8f462acf25f5304d98ee8f8914
sha256sums = 23ba61c4fb3ec173cd62452662c667ed0fab10cfe8ee576ce82598664f147896
sha256sums = e7e4b811c55183580ee821b5dfab99f39917f3c0d284fa7cad9ac086ab4808ec
diff --git a/PKGBUILD b/PKGBUILD
index fae89b10b4e..39e756ce004 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=errbot
-pkgver=5.2.0
+pkgver=6.1.1
pkgrel=1
pkgdesc="a chatbot. It allows you to start scripts interactively from your chatrooms for any reason: random humour, chatops, starting a build, monitoring commits, triggering alerts..."
arch=(any)
@@ -7,20 +7,19 @@ url="https://github.com/errbotio/errbot"
license=('GPL')
options=('emptydirs')
backup=('etc/errbot/config.py')
-depends=('python-daemonize' 'python-dnspython3' 'python-pygments-markdown-lexer'
- 'python-ansi' 'python-markdown' 'python-yapsy' 'python-colorlog'
- 'python-pyopenssl' 'python-rocket-errbot' 'python-bottle' 'python-webtest'
- 'python-sleekxmpp' 'python-jinja')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/errbotio/errbot/archive/$pkgver.tar.gz"
- "errbot.config.py"
+depends=(python)
+makedepends=(python-pip)
+source=("errbot.config.py"
"errbot.service")
-sha256sums=('790893a80a92ed9f3f90ff2d6306d97c93f22c8f462acf25f5304d98ee8f8914'
- '23ba61c4fb3ec173cd62452662c667ed0fab10cfe8ee576ce82598664f147896'
+sha256sums=('23ba61c4fb3ec173cd62452662c667ed0fab10cfe8ee576ce82598664f147896'
'e7e4b811c55183580ee821b5dfab99f39917f3c0d284fa7cad9ac086ab4808ec')
package() {
- cd "$pkgname-$pkgver"
- python3 setup.py install --root="$pkgdir/"
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir"/usr/lib/errbot-bundle --ignore-installed errbot==$pkgver
+ install -dm0755 "$pkgdir"/usr/bin
+ echo "#!/bin/bash
+PYTHONPATH=/usr/lib/errbot-bundle/usr/lib/python3.7/site-packages/ exec /usr/lib/errbot-bundle/usr/bin/errbot \$*" >"$pkgdir"/usr/bin/errbot
+ chmod a+x "$pkgdir"/usr/bin/errbot
install -Dm0644 "$srcdir"/errbot.service "$pkgdir"/usr/lib/systemd/system/errbot.service
install -Dm0600 -o jabber -g jabber \