void-packages/srcpkgs/python3-executing/template

24 lines
726 B
Bash
Raw Normal View History

2022-02-14 15:14:13 +00:00
# Template file for 'python3-executing'
pkgname=python3-executing
2022-03-02 16:12:33 +00:00
version=0.8.3
2022-02-14 15:14:13 +00:00
revision=1
wrksrc="${pkgname#python3-}-${version}"
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"
2022-03-02 16:12:33 +00:00
checksum=c6554e21c6b060590a6d3be4b82fb78f8f0194d809de5ea7df1c093763311501
2022-02-14 15:14:13 +00:00
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 tests/test_main.py
}
post_install() {
vlicense LICENSE.txt
}