mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +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
38 lines
893 B
Text
38 lines
893 B
Text
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
|
|
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
|
|
pkgname=py3-swagger-ui-bundle
|
|
_pkgname=swagger_ui_bundle
|
|
pkgver=0.0.9
|
|
pkgrel=2
|
|
pkgdesc="bundled swagger-ui package"
|
|
url="https://github.com/dtkav/swagger-ui-bundle"
|
|
arch="noarch !riscv64" # missing checkdep
|
|
license="Apache-2.0"
|
|
checkdepends="
|
|
py3-pytest-runner
|
|
"
|
|
makedepends="
|
|
py3-flake8
|
|
py3-setuptools
|
|
"
|
|
depends="
|
|
python3
|
|
"
|
|
source="https://github.com/dtkav/swagger-ui-bundle/archive/v$pkgver/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
25318bb9e69a0e23f4382322586efb55dd1d3fc093c57527803cc8c9dd6f0e67ce51b20ec8cbc03cf456b8d95172ac1577d79100ba56c6580eeea7e4a649fbc4 swagger_ui_bundle-0.0.9.tar.gz
|
|
"
|