blob: 19e7ccc144443f1ecc12d56c07b5a186f063b2bb (
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
|
# Maintainer: Anthony25 <Anthony Ruhier>
pkgbase=python-pytest-flask
_pkgbase="${pkgbase#python-}"
pkgname=(python-pytest-flask python2-pytest-flask)
pkgver=0.15.0
pkgrel=1
pkgdesc="A set of pytest fixtures to test Flask applications."
arch=(any)
url='https://github.com/pytest-dev/pytest-flask'
license=(MIT)
makedepends=(
"python-pytest"
python-setuptools
"python2-pytest"
python2-setuptools
)
options=(!emptydirs)
source=("https://github.com/pytest-dev/${_pkgbase}/archive/${pkgver}.tar.gz")
sha256sums=('2e43f5950689cd32493f775fa00f476d141e30334d89cc7e5a9fd87c08c4192d')
package_python-pytest-flask() {
depends=('python-flask' 'python-werkzeug')
cd "${srcdir}/${_pkgbase}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
package_python2-pytest-flask() {
depends=('python2-flask' 'python2-werkzeug')
cd "${srcdir}/${_pkgbase}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
}
# vim:set ts=2 sw=2 et:
|