mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
1 KiB
Text
33 lines
1 KiB
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-pastedeploy
|
|
pkgver=3.0.1
|
|
pkgrel=1
|
|
pkgdesc="Load, configure, and compose WSGI applications and servers"
|
|
url="https://pylonsproject.org"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-gpep517 py3-installer py3-setuptools py3-wheel"
|
|
checkdepends="py3-pytest py3-pytest-cov"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-$pkgver.tar.gz"
|
|
builddir="$srcdir/PasteDeploy-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5668551b7d259e4c0a431a28f7637669563808a58478d72d917c3f3da370f8481fd09b0ceb15d22be06c91cbfadffa683496593a35eb6a52cdcdeef2860843b7 py3-pastedeploy-3.0.1.tar.gz
|
|
"
|