void-packages/srcpkgs/python3-jaraco.functools/template

26 lines
936 B
Bash

# Template file for 'python3-jaraco.functools'
pkgname=python3-jaraco.functools
version=3.0.1
revision=3
wrksrc="jaraco.functools-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm python3-toml python3-more-itertools"
depends="python3-more-itertools python3-jaraco"
checkdepends="${depends} python3-pytest python3-jaraco.classes"
short_desc="Functools like those found in stdlib (Python3)"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="MIT"
homepage="https://github.com/jaraco/jaraco.functools"
changelog="https://raw.githubusercontent.com/jaraco/jaraco.functools/master/CHANGES.rst"
distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz"
checksum=9fedc4be3117512ca3e03e1b2ffa7a6a6ffa589bfb7d02bfb324e55d493b94f4
do_check() {
pytest -vv --override-ini="addopts=--doctest-modules"
}
post_install() {
rm ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py
vlicense LICENSE
}