summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 19e7ccc1444..ea7ff1a3cdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgbase=python-pytest-flask
_pkgbase="${pkgbase#python-}"
-pkgname=(python-pytest-flask python2-pytest-flask)
-pkgver=0.15.0
+pkgname=python-pytest-flask
+pkgver=1.0.0
pkgrel=1
pkgdesc="A set of pytest fixtures to test Flask applications."
arch=(any)
@@ -12,23 +12,15 @@ license=(MIT)
makedepends=(
"python-pytest"
python-setuptools
- "python2-pytest"
- python2-setuptools
)
+depends=('python-flask' 'python-werkzeug')
options=(!emptydirs)
source=("https://github.com/pytest-dev/${_pkgbase}/archive/${pkgver}.tar.gz")
-sha256sums=('2e43f5950689cd32493f775fa00f476d141e30334d89cc7e5a9fd87c08c4192d')
+sha256sums=('7a1008d2020607d059fb34ed5c63045c904b5f2df81931199979da776238beed')
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: