1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-simber/APKBUILD
2023-02-15 19:41:03 +00:00

33 lines
913 B
Text

# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-simber
_pkgname=simber
pkgver=0.2.6
pkgrel=0
pkgdesc="Simple, minimal and powerful logging library for Python"
url="https://github.com/deepjyoti30/simber"
arch="noarch"
license="MIT"
depends="py3-colorama"
makedepends="py3-setuptools"
checkdepends="py3-pytest $depends"
source="$pkgname-$pkgver.tar.gz::https://github.com/deepjyoti30/simber/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
805f5c4aa08e1a6af803528648d3359d745fafba5e44ac416a8bdfc1e9c4ec80e9436aecd82e5b8efb16ec8b346074dc5b1300026ae21e4211777a0eb1642986 py3-simber-0.2.6.tar.gz
"