void-packages/srcpkgs/python3-poetry-core/template

27 lines
993 B
Bash

# Template file for 'python3-poetry-core'
pkgname=python3-poetry-core
version=1.1.0
revision=1
wrksrc="poetry-core-${version}"
build_style="python3-pep517"
make_check_args="--deselect tests/masonry/builders/test_sdist.py::test_default_with_excluded_data
--deselect tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data"
depends="python3"
checkdepends="python3-devel python3-virtualenv python3-pyrsistent python3-pytest-mock git"
short_desc="Poetry PEP 517 Build Backend & Core Utilities"
maintainer="Kye Shi <shi.kye@gmail.com>"
license="MIT"
homepage="https://github.com/python-poetry/poetry-core"
changelog="https://raw.githubusercontent.com/python-poetry/poetry-core/main/CHANGELOG.md"
distfiles="https://github.com/python-poetry/poetry-core/archive/refs/tags/${version}.tar.gz"
checksum=44535d5c20e20189041714a45758774f713e4a53c3db071dca11a59d32aeba44
make_check_pre="env PYTHONPATH=src"
pre_check() {
rm -r tests/integration
}
post_install() {
vlicense LICENSE
}