From a06eb86302d0697a6c86c9ebcea73da3a029e0d7 Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 7 Jun 2022 09:44:31 -0400 Subject: [PATCH] New package: python3-loguru-0.6.0 --- srcpkgs/python3-loguru/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-loguru/template diff --git a/srcpkgs/python3-loguru/template b/srcpkgs/python3-loguru/template new file mode 100644 index 000000000000..9d1fddbe9c8c --- /dev/null +++ b/srcpkgs/python3-loguru/template @@ -0,0 +1,24 @@ +# Template file for 'python3-loguru' +pkgname=python3-loguru +version=0.6.0 +revision=1 +wrksrc="loguru-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +checkdepends="python3-pytest python3-colorama" +short_desc="Library which aims to bring enjoyable logging in Python" +maintainer="oliver " +license="MIT" +homepage="https://github.com/Delgan/loguru" +changelog="https://raw.githubusercontent.com/Delgan/loguru/master/CHANGELOG.rst" +distfiles="${PYPI_SITE}/l/loguru/loguru-$version.tar.gz" +checksum=066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c + +case $XBPS_TARGET_MACHINE in + # https://github.com/Delgan/loguru/issues/658 + x86_64-musl) make_check_args="--ignore=tests/test_filesink_rotation.py";; +esac + +post_install() { + vlicense LICENSE +}