blob: 1628dd1ab2e734f05797bdbb62df4a08ee973839 (
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
|
# Maintainer: Richard Neumann aka. schard <mail at richard dash neumann period de>
_pkgbase='wsgilib'
pkgname="python-${_pkgbase}"
pkgver=1.0.4
pkgrel=1
pkgdesc='High-level WSGI library based on flask'
arch=('any')
url="https://github.com/homeinfogmbh/${_pkgbase}"
license=('GPLv3')
depends=('python' 'python-flask' 'python-mimeutil' 'python-werkzeug')
makedepends=('git' 'python' 'python-setuptools' 'python-setuptools-scm')
source=("${_pkgbase}::git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${_pkgbase}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgbase}"
python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
}
|