void-packages/srcpkgs/python3-traitlets/template

23 lines
654 B
Bash

# Template file for 'python3-traitlets'
pkgname=python3-traitlets
version=5.5.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core hatchling"
depends="python3-decorator python3-ipython_genutils python3-six"
checkdepends="$depends python3-pytest"
short_desc="Configuration system for Python applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/traitlets"
distfiles="${PYPI_SITE}/t/traitlets/traitlets-${version}.tar.gz"
checksum=b122f9ff2f2f6c1709dab289a05555be011c87828e911c0cf4074b85cb780a79
do_check() {
pytest
}
post_install() {
vlicense COPYING.md LICENSE
}