diff options
author | jakob | 2020-12-22 00:58:06 +0100 |
---|---|---|
committer | jakob | 2020-12-22 00:58:06 +0100 |
commit | 9522a6332f8b715fe6fc7436bf3431899f7bf5b0 (patch) | |
tree | 5c422dde9da14270a8b3545fb69c498fee003c68 | |
download | aur-9522a6332f8b715fe6fc7436bf3431899f7bf5b0.tar.gz |
0.9.0-1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ea0e498a224d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-semaphore-bot + pkgdesc = A simple (rule-based) bot library for Signal Private Messenger. + pkgver = 0.9.0 + pkgrel = 1 + url = https://github.com/lwesterhof/semaphore + arch = x86_64 + arch = i686 + arch = aarch64 + license = AGPL3 + makedepends = python-setuptools + depends = python + depends = signald>=0.11.1 + depends = python-anyio + depends = python-attrs + depends = python-dateutil + source = https://files.pythonhosted.org/packages/source/s/semaphore-bot/semaphore-bot-0.9.0.tar.gz + sha256sums = b23c0eb61ed2fbeb8d95a97a8cce128a87435b29fa0a7ad0e73180b4a7bf639e + +pkgname = python-semaphore-bot + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ea10226d3c9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: jakob <grandchild@gmx.net> + +_pkgname=semaphore-bot +pkgname=python-${_pkgname} +pkgver=0.9.0 +pkgrel=1 +pkgdesc="A simple (rule-based) bot library for Signal Private Messenger." +arch=(x86_64 i686 aarch64) +url="https://github.com/lwesterhof/semaphore" +license=('AGPL3') +depends=( + python + "signald>=0.11.1" + python-anyio + python-attrs + python-dateutil +) +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('b23c0eb61ed2fbeb8d95a97a8cce128a87435b29fa0a7ad0e73180b4a7bf639e') + +prepare() { + sed -i '/attr==0.3.1/d' "$_pkgname-$pkgver/setup.py" +} + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} |