void-packages/srcpkgs/python3-filelock/template
2025-02-17 22:37:26 -05:00

24 lines
891 B
Bash

# Template file for 'python3-filelock'
pkgname=python3-filelock
version=3.17.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3"
checkdepends="python3-pytest python3-pytest-mock python3-pytest-timeout
python3-pytest-asyncio"
short_desc="Platform independent file lock"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Unlicense"
homepage="https://py-filelock.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/tox-dev/py-filelock/main/docs/changelog.rst"
distfiles="${PYPI_SITE}/f/filelock/filelock-${version}.tar.gz"
checksum=ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e
if [ "$XBPS_CHECK_PKGS" = full ]; then
# this would cause a build-time circular dependency
checkdepends+=" python3-virtualenv"
else
# These tests requires virtualenv
make_check_args="--ignore tests/test_virtualenv.py"
fi