aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/py-flask/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/py-flask/APKBUILD b/main/py-flask/APKBUILD
index 5f8dd9ed0e..bc84185df5 100644
--- a/main/py-flask/APKBUILD
+++ b/main/py-flask/APKBUILD
@@ -8,7 +8,7 @@ pkgdesc="A web development microframework"
url="http://flask.pocoo.org/"
arch="noarch"
license="MIT"
-depends=""
+depends="py-itsdangerous py-jinja2 py-werkzeug"
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -27,12 +27,12 @@ package() {
_py2() {
replaces="$pkgname"
- depends="py2-itsdangerous py2-jinja2 py2-werkzeug"
+ depends="${depends//py-/py2-}"
_py python2
}
_py3() {
- depends="py3-itsdangerous py3-jinja2 py3-werkzeug"
+ depends="${depends//py-/py3-}"
_py python3
}