void-packages/srcpkgs/hatch/template

30 lines
1.2 KiB
Bash

# Template file for 'hatch'
pkgname=hatch
version=1.4.2
revision=1
build_style=python3-pep517
# ignore backend tests, because updating hatchling when there is no new hatch
# version yet breaks these in hatch.
make_check_args="--deselect tests/cli/run/test_run.py::test_scripts_no_environment
--ignore tests/backend
--ignore backend/tests"
hostmakedepends="hatchling"
depends="python3-atomicwrites python3-click hatchling python3-httpx
python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
python3-rich python3-tomli-w python3-tomlkit python3-userpath
python3-virtualenv python3-hyperlink"
checkdepends="${depends} python3-pytest python3-pytest-mock
python3-pytest-xdist git python3-pip"
short_desc="Modern, extensible Python project management "
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://hatch.pypa.io/latest/"
changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history.md"
distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f207d55206036b80faf023f63df69caf340a03ce82073db91dee10f49b038956
make_check_pre="env PYTHONPATH=./src"
post_install() {
vlicense LICENSE.txt
}