mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
* make auth method asyncs * oauth2 demo support * full coverage * update docs
50 lines
1.9 KiB
Bash
50 lines
1.9 KiB
Bash
# Maintainer: Evgeniy Alekseev
|
|
|
|
pkgname='ahriman'
|
|
pkgver=1.2.6
|
|
pkgrel=1
|
|
pkgdesc="ArcHlinux ReposItory MANager"
|
|
arch=('any')
|
|
url="https://github.com/arcan1s/ahriman"
|
|
license=('GPL3')
|
|
depends=('devtools' 'git' 'pyalpm' 'python-aur' 'python-passlib' 'python-srcinfo')
|
|
makedepends=('python-pip')
|
|
optdepends=('breezy: -bzr packages support'
|
|
'darcs: -darcs packages support'
|
|
'gnupg: package and repository sign'
|
|
'mercurial: -hg packages support'
|
|
'python-aioauth-client: web server with OAuth2 authorization'
|
|
'python-aiohttp: web server'
|
|
'python-aiohttp-jinja2: web server'
|
|
'python-aiohttp-security: web server with authorization'
|
|
'python-aiohttp-session: web server with authorization'
|
|
'python-boto3: sync to s3'
|
|
'python-cryptography: web server with authorization'
|
|
'python-jinja: html report generation'
|
|
'rsync: sync by using rsync'
|
|
'subversion: -svn packages support')
|
|
source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"
|
|
'ahriman.sysusers'
|
|
'ahriman.tmpfiles')
|
|
backup=('etc/ahriman.ini'
|
|
'etc/ahriman.ini.d/logging.ini')
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
|
|
python setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname"
|
|
|
|
python setup.py install --root="$pkgdir"
|
|
|
|
install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
|
install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
|
}
|
|
|
|
sha512sums=('6ab741bfb42f92ab00d1b6ecfc44426c00e5c433486e014efbdb585715d9a12dbbafc280e5a9f85b941c8681b13a9dad41327a3e3c44a9683ae30c1d6f017f50'
|
|
'13718afec2c6786a18f0b223ef8e58dccf0688bca4cdbe203f14071f5031ed20120eb0ce38b52c76cfd6e8b6581a9c9eaa2743eb11abbaca637451a84c33f075'
|
|
'55b20f6da3d66e7bbf2add5d95a3b60632df121717d25a993e56e737d14f51fe063eb6f1b38bd81cc32e05db01c0c1d80aaa720c45cde87f238d8b46cdb8cbc4')
|