PKGBUILD 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
  2. # Contributor: Alexander Rødseth <rodseth@gmail.com>
  3. # Contributor: Thomas Dziedzic < gostrc at gmail >
  4. # Contributor: Tarmo Heiskanen <turskii@gmail.com>
  5. # Maintainer : Sagar Acharya <sagar@hyperbola.info>
  6. pkgname=python-flask
  7. pkgver=1.1.2
  8. pkgrel=1
  9. pkgdesc='Micro webdevelopment framework for Python'
  10. url='https://flask.palletsprojects.com/en/1.1.x/'
  11. arch=('any')
  12. license=('Modified-BSD')
  13. depends=('python-jinja' 'python-werkzeug' 'python-itsdangerous' 'python-click')
  14. makedepends=('python-setuptools' 'python-jinja' 'python-werkzeug' 'python-itsdangerous' 'python-click')
  15. source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
  16. sha512sums=('390baaea8e3500724a4a7755d930e078cfc072357af15f2180f35983cc86d224827afd9180a466e3ad546405a8b8a94d752c19eda716f2f06c1716e4f19c4fbc')
  17. prepare() {
  18. cd "flask-$pkgver"
  19. #quilt patch
  20. }
  21. build() {
  22. cd "flask-$pkgver"
  23. python setup.py build
  24. }
  25. check() {
  26. cd "flask-$pkgver"
  27. python setup.py test
  28. }
  29. package() {
  30. cd "flask-$pkgver"
  31. python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  32. install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  33. }