void-packages/srcpkgs/python3-platformdirs/template

21 lines
744 B
Bash

# Template file for 'python3-platformdirs'
pkgname=python3-platformdirs
version=2.5.2
revision=2
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3"
checkdepends="python3-appdirs python3-pytest python3-pytest-mock"
short_desc="Library to determine platform-specific system directories"
maintainer="k4leg <python.bogdan@gmail.com>"
license="MIT"
homepage="https://github.com/platformdirs/platformdirs"
changelog="https://raw.githubusercontent.com/platformdirs/platformdirs/main/CHANGES.rst"
distfiles="${PYPI_SITE}/p/platformdirs/platformdirs-${version}.tar.gz"
checksum=58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19
make_check_pre="env PYTHONPATH=src"
post_install() {
vlicense LICENSE.txt
}