diff options
author | Anthony Ruhier | 2020-05-16 08:31:48 +0000 |
---|---|---|
committer | Anthony Ruhier | 2020-05-16 08:31:48 +0000 |
commit | 6dbd686597f748178df278b8ac46a1a421359866 (patch) | |
tree | 8641d6ad8585e5f73fcb61ed6c2eacd330d63929 | |
parent | 75bfc3bd6b0fce153c9fef8c81e7bbe28c87437b (diff) | |
download | aur-python-pytest-flask.tar.gz |
v1.0.0
Drops Python 2 support
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 23 deletions
@@ -1,23 +1,17 @@ pkgbase = python-pytest-flask pkgdesc = A set of pytest fixtures to test Flask applications. - pkgver = 0.15.0 + pkgver = 1.0.0 pkgrel = 1 url = https://github.com/pytest-dev/pytest-flask arch = any license = MIT makedepends = python-pytest makedepends = python-setuptools - makedepends = python2-pytest - makedepends = python2-setuptools - options = !emptydirs - source = https://github.com/pytest-dev/pytest-flask/archive/0.15.0.tar.gz - sha256sums = 2e43f5950689cd32493f775fa00f476d141e30334d89cc7e5a9fd87c08c4192d - -pkgname = python-pytest-flask depends = python-flask depends = python-werkzeug + options = !emptydirs + source = https://github.com/pytest-dev/pytest-flask/archive/1.0.0.tar.gz + sha256sums = 7a1008d2020607d059fb34ed5c63045c904b5f2df81931199979da776238beed -pkgname = python2-pytest-flask - depends = python2-flask - depends = python2-werkzeug +pkgname = python-pytest-flask @@ -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: |