void-packages/srcpkgs/python3-utils/template

23 lines
765 B
Bash

# Template file for 'python3-utils'
pkgname=python3-utils
version=3.8.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-typing_extensions"
checkdepends="${depends} python3-pytest-asyncio"
short_desc="Convenient utilities not included with the standard Python3 install"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="BSD-3-Clause"
homepage="https://python-utils.readthedocs.org/en/latest/"
distfiles="https://github.com/wolph/python-utils/archive/refs/tags/v${version}.tar.gz"
checksum=3e040c35c51ecc6bc194a23e7ff7f4a8bab9686ed3ccd5bd77018bf8b4d9a310
post_extract() {
rm pytest.ini _python_utils_tests/test_logger.py # requires unpackaged loguru
}
post_install() {
vlicense LICENSE
}