21 lines
597 B
Plaintext
21 lines
597 B
Plaintext
# Description: replaces the standard librarys logging module
|
|
# URL: https://logbook.readthedocs.io/en/stable/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-cython python3-six
|
|
|
|
name=python3-logbook
|
|
version=1.5.3
|
|
release=1
|
|
source=(https://github.com/mitsuhiko/logbook/archive/$version/$name-$version.tar.gz
|
|
reproducibility.patch)
|
|
|
|
build() {
|
|
cd logbook-$version
|
|
patch -Np1 -i $SRC/reproducibility.patch
|
|
/usr/bin/cython3 logbook/_speedups.pyx
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
--skip-build
|
|
}
|