blob: 7c36cebd9e76acd4c5fc76e44ad9eeb9b0c18b79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-simber
_pkgname=simber
pkgver=0.2.5
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="
254b0eca4447ee63eeec8a7e5e3e07667fd6b839c3ae5307dffb5326770807720cb2e3afb5a131721e3c44a9e6ddcbd15e1a36824f0bcf1ac8c7b3c4024e44ea py3-simber-0.2.5.tar.gz
"
|