blob: adcdf12e06cae158ca8c6b14e9ea0142276daea9 (
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
32
33
34
35
36
|
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
pkgname=devpi-server
pkgver=5.2.0
pkgrel=1
pkgdesc="reliable private and pypi.python.org caching server"
arch=(any)
url="http://doc.devpi.net/"
license=('MIT')
depends=('python' 'python-py' 'python-itsdangerous' 'python-execnet'
'python-pyramid' 'python-waitress' 'python-repoze.lru'
'python-pluggy' 'python-pastedeploy' 'python-passlib'
'python-argon2_cffi' 'devpi-common')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'devpi-server.service'
'devpi-server.install')
install='devpi-server.install'
sha256sums=('aff9858dcb97e6806df9e0a4409f665515bfae3e6afb82bf23eb1e1d176857b5'
'538aa64a3c88e55b971e4d249159228fb919802433191bbbd13e73c5e537c0b7'
'16c075687426589b69da252f04ee1a2ff0f8e73526eb773c53475d82e827f199')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname"
install -d "$pkgdir/usr/lib/systemd/system/"
install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/"
install -d -o 3141 -g 3141 "$pkgdir/var/lib/devpi"
}
# vim:set ts=2 sw=2 et:
|