1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-logutils/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

31 lines
987 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-logutils
pkgver=0.3.5
pkgrel=1
pkgdesc="Logging utilities"
url="https://bitbucket.org/vinay.sajip/logutils/src/master/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 "
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-redis redis"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/l/logutils/logutils-$pkgver.tar.gz"
builddir="$srcdir/logutils-$pkgver"
build() {
python3 setup.py build
}
# deselect test that is written for older python versions, redis test fails on ppc64le and s390x
check() {
python3 -m pytest --deselect=tests/test_adapter.py --deselect=tests/test_redis.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
0194bf4f01e7a29d4211495dc5fead9d4bd5bc1b791d25ff38ad28960a229a9bcdbaa7e6d3b5a4105eef6c9aa159459d6529c2615df113e7ec1ae93aac5cce6c py3-logutils-0.3.5.tar.gz
"