🔒 Repository is read-only – file editing is disabled.

recipes/utils/python-flask/PAGBUILD.yaml main

40 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: 'python-flask'
pkgver: '3.1.3'
pkgrel: '1'
pkgdesc: 'Micro webdevelopment framework for Python'
url: 'https://pypi.org/project/Flask/'
arch: x86_64
depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'
- 'python-flit-core'
- 'python-click'
- 'python-blinker'
- 'python-werkzeug'
- 'python-jinja'
- 'python-itsdangerous'

source:
- 'https://github.com/pallets/flask/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd flask-${pkgver}

  pip3 wheel -w dist \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir    \
    --no-user         \
    --root=${PKGDIR}       \
    flask

  find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf 

package: |
  true