blob: 80e31634bcde1c386f0ea33019614d16c6c1a62c (
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
|
# Maintainer: Popolon <popolon@popolon.org>
pkgbase='python-activitypub'
pkgname=('python-activitypub')
_module='activitypub'
pkgver='0.0.3'
pkgrel=3
pkgdesc="A general Python ActivityPub library"
url="https://github.com/dsblank/activitypub"
depends=('python')
makedepends=('python-setuptools')
optdepends=(
'python-sqlalchemy: Various DBs backend'
'python-redis: Redis backend (need python-redis-collections)'
'python-redis-collections: Redis backend (need python-redis)'
'python-pymongo: MongoDB backeund')
license=('GPL')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('81f02761097fa9bacb8490a1a6f8cf61ae96bc100c74775046ea441082b69510')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|