1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
- # Contributor: Alexander Rødseth <rodseth@gmail.com>
- # Contributor: Thomas Dziedzic < gostrc at gmail >
- # Contributor: Tarmo Heiskanen <turskii@gmail.com>
- # Maintainer : Sagar Acharya <sagar@hyperbola.info>
- pkgname=python-flask
- pkgver=1.1.2
- pkgrel=1
- pkgdesc='Micro webdevelopment framework for Python'
- url='https://flask.palletsprojects.com/en/1.1.x/'
- arch=('any')
- license=('Modified-BSD')
- depends=('python-jinja' 'python-werkzeug' 'python-itsdangerous' 'python-click')
- makedepends=('python-setuptools' 'python-jinja' 'python-werkzeug' 'python-itsdangerous' 'python-click')
- source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
- sha512sums=('390baaea8e3500724a4a7755d930e078cfc072357af15f2180f35983cc86d224827afd9180a466e3ad546405a8b8a94d752c19eda716f2f06c1716e4f19c4fbc')
- prepare() {
- cd "flask-$pkgver"
-
- #quilt patch
- }
- build() {
- cd "flask-$pkgver"
- python setup.py build
- }
- check() {
- cd "flask-$pkgver"
- python setup.py test
- }
- package() {
- cd "flask-$pkgver"
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- }
|