blob: e4b3da0ce382d8b0417e4334f2164117d180a2bb (
plain)
1 # Description: replaces the standard librarys logging module
2 # URL: https://logbook.readthedocs.io/en/stable/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-cython python3-six
5
6 name=python3-logbook
7 version=1.5.3
8 release=1
9 source=(https://github.com/mitsuhiko/logbook/archive/$version/$name-$version.tar.gz
10 reproducibility.patch)
11
12 build() {
13 cd logbook-$version
14 patch -Np1 -i $SRC/reproducibility.patch
15 /usr/bin/cython3 logbook/_speedups.pyx
16 /usr/bin/python3 setup.py build
17 /usr/bin/python3 setup.py install --prefix=/usr \
18 --root=$PKG \
19 --skip-build
20 }
|