void-packages/srcpkgs/python3-executing/template

23 lines
686 B
Bash

# Template file for 'python3-executing'
pkgname=python3-executing
version=1.2.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3"
checkdepends="python3-pytest python3-asttokens $depends"
short_desc="Get information about what a Python frame is currently doing"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://github.com/alexmojaki/executing"
distfiles="${PYPI_SITE}/e/executing/executing-${version}.tar.gz"
checksum=19da64c18d2d851112f09c287f8d3dbbdf725ab0e569077efb6cdcbd3497c107
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 tests/test_main.py
}
post_install() {
vlicense LICENSE.txt
}