2021-12-24 18:46:12 +00:00

32 lines
918 B
Plaintext

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-logutils
pkgver=0.3.5
pkgrel=0
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
check() {
python3 -m pytest --deselect=tests/test_adapter.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
0194bf4f01e7a29d4211495dc5fead9d4bd5bc1b791d25ff38ad28960a229a9bcdbaa7e6d3b5a4105eef6c9aa159459d6529c2615df113e7ec1ae93aac5cce6c py3-logutils-0.3.5.tar.gz
"