mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
937 B
Text
34 lines
937 B
Text
# Contributor:
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-flask
|
|
_pkgname=Flask
|
|
pkgver=2.2.2
|
|
pkgrel=1
|
|
pkgdesc="web development microframework"
|
|
url="https://flask.palletsprojects.com/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-click py3-itsdangerous py3-jinja2 py3-werkzeug"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pluggy"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-flask" # Backwards compatibility
|
|
provides="py-flask=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
d330398829cb0393e07a4dcf495a3939f0e8f7962c0a517fc866d333425dffe1ce8fd26e39a40445259028d46eff4566e97b3f5eba0d6bddf14b9d7bac138945 Flask-2.2.2.tar.gz
|
|
"
|