mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +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
31 lines
861 B
Text
31 lines
861 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-webpy
|
|
_pkgorig=webpy
|
|
pkgver=0.62
|
|
pkgrel=1
|
|
pkgdesc="A web framework for python that is as simple as it is powerful"
|
|
url="https://www.webpy.org"
|
|
arch="noarch"
|
|
license="Public Domain and BSD"
|
|
depends="python3 py3-cheroot"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="python3-dev py3-pytest"
|
|
source="https://github.com/webpy/webpy/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -k 'not test_routing'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2b91977bb78e9387c78ed893b098d665a5189e7b9cb1eacbaf903564285524dabc960107b0e1ba4a85c3aedf73ef63ae05338cc71ccacad47a310970afb77cd9 webpy-0.62.tar.gz
|
|
"
|