void-packages/srcpkgs/python3-astroid/template

21 lines
803 B
Bash

# Template file for 'python3-astroid'
pkgname=python3-astroid
version=2.13.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-lazy-object-proxy python3-wrapt"
checkdepends="$depends python3-pytest python3-numpy"
short_desc="Abstract syntax tree for Python3"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/PyCQA/astroid"
changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog"
distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz"
checksum=c0be1d4323656f7b1d66f450fbe766b05709a02c4e5ebe5483b4c29b83891791
post_extract() {
# relax build tool version restrictions
vsed -e '/^requires =/s/~=[0-9.]\+//g' -i pyproject.toml
}