blob: 1e756d8a8f3a14a63df9a9fdb701c521f899922f (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: piernov <piernov@piernov.org>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Serkan Hosca <serkan@hosca.com>
pkgname=devpi-web
pkgver=4.2.1
pkgrel=1
pkgdesc="Web interface plugin for devpi-server"
arch=('any')
url="https://doc.devpi.net/"
license=('MIT')
groups=('devpi')
depends=(
'devpi-server>=5.2.0'
'devpi-common>=3.2.0'
'python'
'python-beautifulsoup4>=4.3.2'
'python-chameleon'
'python-defusedxml'
'python-docutils>=0.11'
'python-pygments>=1.6'
'python-pyramid>1.10'
'python-pyramid-chameleon'
'python-readme-renderer>=23.0'
'python-whoosh<3')
makedepends=('python-setuptools')
# checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-mock' 'python-webtest')
changelog=CHANGELOG
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('4787012821355fecd51244741f6cd188f5c965b7f845cb21eaf87e2ff0536b80')
build() {
cd "$pkgname-$pkgver"
python setup.py build
}
# check() {
# cd "$pkgname-$pkgver"
# python setup.py pytest
# }
package() {
cd "$pkgname-$pkgver"
PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm 644 README.rst AUTHORS -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:set ts=2 sw=2 et:
|