void-packages/srcpkgs/hatch/template

30 lines
1.2 KiB
Bash

# Template file for 'hatch'
pkgname=hatch
version=1.4.0
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=a1b06523cf66c759828f21145d8619044049b9ef660accef42d47612e7b7fda2
make_check_pre="env PYTHONPATH=./src"
post_install() {
vlicense LICENSE.txt
}