void-packages/srcpkgs/hatch/template

38 lines
2.0 KiB
Bash

# Template file for 'hatch'
pkgname=hatch
version=1.2.1
revision=1
build_style=python3-pep517
make_check_args="--deselect tests/backend/test_build.py::test_editable
--deselect tests/backend/builders/test_custom.py::test_default
--deselect tests/backend/builders/test_custom.py::test_explicit_path
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
--deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
--deselect tests/cli/run/test_run.py::test_scripts_no_environment
--deselect tests/backend/dep/test_core.py::test_unknown_extra
--deselect tests/backend/dep/test_core.py::test_extra_met"
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"
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/"
distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
make_check_pre="env PYTHONPATH=./src"
post_install() {
vlicense LICENSE.txt
}