vp-build/srcpkgs/python3-poetry-core/template

26 lines
961 B
Bash

# Template file for 'python3-poetry-core'
pkgname=python3-poetry-core
version=1.3.1
revision=2
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=8da8ce8f2e861527f660d7205a77095279d462b44d1d11bcf9e8ce74d96219ee
make_check_pre="env PYTHONPATH=src"
pre_check() {
rm -r tests/integration
}
post_install() {
vlicense LICENSE
}