aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-flask
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-01 20:12:38 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-01 20:14:08 +0200
commit37df703ae2d3572303456c843a32d0756cb7ec58 (patch)
tree06967300bc4025561a518d59f9f7433aac989890 /main/py-flask
parent01a844361fdfe40bcda6238f482fc703c5974359 (diff)
downloadaports-37df703ae2d3572303456c843a32d0756cb7ec58.tar.bz2
aports-37df703ae2d3572303456c843a32d0756cb7ec58.tar.xz
main/py-flask: improve abuild
Diffstat (limited to 'main/py-flask')
-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
}