mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
python-flask fix deps
This commit is contained in:
parent
485710b9ed
commit
2fe951f691
@ -7,7 +7,7 @@
|
|||||||
pkgbase=python-flask
|
pkgbase=python-flask
|
||||||
pkgname=('python3-flask' 'python2-flask')
|
pkgname=('python3-flask' 'python2-flask')
|
||||||
pkgver=0.12.2
|
pkgver=0.12.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Micro webdevelopment framework for Python'
|
pkgdesc='Micro webdevelopment framework for Python'
|
||||||
url='http://flask.pocoo.org/'
|
url='http://flask.pocoo.org/'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -42,7 +42,7 @@ check_python3-flask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_python3-flask() {
|
package_python3-flask() {
|
||||||
depends=('python3-werkzeug' 'python3-jinja' 'python3-itsdangerous')
|
depends=('python3-werkzeug' 'python3-jinja' 'python3-itsdangerous' 'python3-click')
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
||||||
@ -51,7 +51,7 @@ package_python3-flask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package_python2-flask() {
|
package_python2-flask() {
|
||||||
depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous')
|
depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous' 'python2-click')
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
python2 setup.py install --root="$pkgdir" --optimize=1
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
||||||
|
Loading…
Reference in New Issue
Block a user